I am currently reading from serial port. My code is still rough and in script console, but generally does:
with system.serial.port ("COM1", bitRate=system.serial.BIT_RATE_115200) as port:
line = port.readLine(1000)
print line
print('-------------')
line_bytes = port.readBytes(30, 1000)
print line_bytes
However just to read and print twice, the code will take about 10 minutes to execute.
Is this a typical time? Is there anything I could do to speed up reading from a port?