Is it possible to open a local serial device from Perspective?

I want to have a perspective project for configuring some devices over serial.

I want the user to be able to:

  • open the perspective webpage on their computer
  • plug a serial device into their computer
  • See it in the perspective session and be able to configure it somehow and send data back and forth to the device.

I tried using system.serial within a Perspective project and opening the correct COM port I got from Device Manager on Windows but I was not able to get data from the serial device.

You need to use Vision for this. Perspective scripting always runs on the Gateway, and Perspective browser sessions do not have access to host hardware.

1 Like

Sounds good, thank you for the response!