Hi,
I would like to read data from my serial port using LabView 6. The length of the data(in bytes) that I receive at the serial port is variable. Is there a way to read only the latest data at the serial port?
For example, if I have 20 bytes at the serial port buffer during the first iteration, I would like to read all 20 bytes in my LabView front panel. During the next iteration, if I have 70 bytes, I should read all 70, but ignore the first 20.
The only way, I can think of doing this is to continously poll the serial buffer and use Bytes at serial port.Vi to read the information from the buffer.
Is there any other way?
Thanks in advance.