I just started testing the serial module and am getting the following error.
Traceback (most recent call last):
File “event:actionPerformed”, line 1, in
java.io.IOException: java.io.IOException: Underlying input stream returned zero bytes
caused by IOException: Underlying input stream returned zero bytes
Ignition v7.5.0 (b1079)
Java: Sun Microsystems Inc. 1.6.0_29
I have a serial analyzer between the device (a scale) and the client and confirmed Port is open, command is sent to scale, scale replies with delimited string.
value = system.serial.readLine(‘COM2’) code is on a command button to make sure there are no timing issues. When command button is clicked, error is thrown. I have tried this on a client with the serial client module and on the server with the serial gateway module. Same error is thrown in both cases.