LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port vi taking too much time to communicate?

i am using visa vis for serial communication the read vi takes too much time to give me the bytes at serial port.what should i do to decrease the delay?
0 Kudos
Message 1 of 2
(2,234 Views)
You wouldn't happen to be specifying a byte count to read or setting read termination when a specific character is read would you? If you are, if you don't have the right number of bytes in the serial buffer or if the termination character is not seen, then VISA read will wait for the time specifed by the VISA timeout value. To fix the first problem, use the VISA Bytes at Serial Port function to determine how many bytes to read. In the second case, use a VISA property node to set Message Based Settings:Termination Character Enable to false and Serial Settings:Serial End Mode for Reads to none.
0 Kudos
Message 2 of 2
(2,234 Views)