08-03-2009 05:19 PM
I have a remote device which sends serial data, terminated with CR about once per second. ( Transmitting each line takes about 1 second, and this is fixed)
I am reading the packets using VISA serial.
however, this limits the loop time of my entire VI to about once per second, as the VISA read sits waiting for the serial data.
There must be a way to poll the VISA resource to find out when the entire line of serial data has completed, and then do the VISA read only when it's ready.
I can't figure out how to arrange this.
Any ideas or example code ?
William Reed
08-03-2009 05:26 PM
08-03-2009 05:28 PM