Traceback (most recent call last):
File “event:actionPerformed”, line 3, in
AttributeError: ‘com.inductiveautomation.ignition.common.script.Scr’ object has no attribute ‘serial’
action code for button:
system.serial.configureSerialPort(\
port="COM3",\
bitRate=system.serial.BIT_RATE_9600,\
dataBits=system.serial.DATA_BITS_8,\
handshake=system.serial.HANDSHAKE_NONE,\
hardwareFlowControl=False,\
parity=system.system.PARITY_NONE,\
stopBits=system.serial.STOP_BITS_1)
Ignition v7.6.4 (b2013112117)
Java: Oracle Corporation 1.7.0_45
seems .serial.configureSerialPort( recognised as attribute of some object…