From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get last line in hyperterminal

On hyperterminal we get the data line by line. If VISA Read is used directly, it can read only one line at a time based on its sequence. For two lines i used two READ VIs to get the second line. What to do if the number of lines are more or unknown?

0 Kudos
Message 1 of 6
(2,530 Views)

This is Hyperterminal written in LabVIEW, Have a look.

 

https://decibel.ni.com/content/docs/DOC-16284

0 Kudos
Message 2 of 6
(2,527 Views)
You've already been told what to do in one of your other threads. Using multiple reads is silly.
0 Kudos
Message 3 of 6
(2,520 Views)

I am using LabVIEW 8.5 version. That VI is in version 9. I need the screenshot of the VI.

0 Kudos
Message 4 of 6
(2,519 Views)

Dennis,

I have used while loop to read multiple lines. But read has to be automatically stopped after the last line without using any boolean control. That's why i am asking how to stop if we don't know exact number of lines.

0 Kudos
Message 5 of 6
(2,518 Views)
And you were told to use the VISA Bytes at Serial Port.
0 Kudos
Message 6 of 6
(2,512 Views)