We are using Windows Server 2016 and installed Ignition V7.9.9. we tried communication using serial moduel v4.9.9 and 4.9.10-rc1 But somehow running openPort() command crashes the designer and if we make a gateway script it crashes the gateway. The code we are trying to run is as follows:
system.serial.configureSerialPort(
port=“COM3”,
bitRate=system.serial.BIT_RATE_9600,
dataBits=system.serial.DATA_BITS_7,
handshake=system.serial.HANDSHAKE_NONE,
hardwareFlowControl=False,
parity=system.serial.PARITY_NONE,
stopBits=system.serial.STOP_BITS_2)
system.serial.openSerialPort(“COM3”)
PS: When we try running the same from our laptop(Windows 10 Pro), it works fine.
Please suggest.
Regards