LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read buffer

Is there anyway to read what is on the buffer without having to put the number of bytes that will be read? I am using the read buffer function but it keeps slowing up my VI because there are times that the commands i send are less than the bytes i declared in the number of bytes. I have varying command lengths so i set the "number of bytes" to be the largest string length i have. When i send commands shorter than the "number of bytes" my VI hangs up. Any suggestions?
 
 
 
0 Kudos
Message 1 of 2
(2,590 Views)

Try this..

then you will allways have the right nr of bytes

0 Kudos
Message 2 of 2
(2,583 Views)