LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring the serial port

I guess you put another while loop around the code that reads from the serial port until a line feed is received. You can place another shift register in the outer loop and initialize the string there. Like that, the string would be updated with the new data but keeping the old data.

Hope this helps
Daniel

Message 11 of 12
(483 Views)

The shift register is a good idea.

If you want to display the whole thing at once. Put a delay between
the send command and the "bytes at port", disable the termination
charater, this will allow the data to fill the receive buffer. Then
put your string indicator in the case statement with the visa read.
Now you indicator will only be updated with the full response from your
device when there is data in the receive buffer.

Good Luck

Eric

0 Kudos
Message 12 of 12
(468 Views)