Hello! I am trying to use the Serial Module of ignition (Serial Modules | Ignition User Manual) to obtain data from a serial port "COM1" connected to a Client of ignition using perspective. I tried to use some scripting functions on the client (system.serial.openSerialPort(port="COM1") after configuring the port) but I am not able to read data from the port, as the error of "failed to open port: COM1" appears when I try to run that function. Is there something that I am missing to use the Serial Module of ignition? How can I read data from a client machine using that module of ignition?
Also I don't know where to specify which client is the one where I want to read the serial port from...
Thank you for your help!