system.serial.openPort() crashes Ignition

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

Thanks for reporting.

This is a known issue, the native serial library we use needs to be upgraded. I’ll come back to update if I can get a timeline for the fix…

We use serial module in a bunch of clients, please let me know if we should keep the module at a certain version to keep things stable until your fix.

I had a similar issue many Ignition revs ago. I didn’t know I needed to manually update the serial client and gateway modules. I don’t know if that is your issue, but I would try it.

Same here, Windows 2019, Igniton 7.9.14 - after install serial module gateway 4.9.14 gateway instantly shutdown. Probably script try to open serial port.