LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 serial communication

Data is always read from the buffer. Unless the buffer is flushed, the contents will remain even if you disconnect the instrument. That is why I asked about the VISA Bytes at Serial Port function. This will read the number of bytes in the buffer. You can wire the results of this to the VISA Read byte count input. If the instrument is constant sending data, all you want is the latest, and your program is unable to keep up, then before you do a read, you can do a flush buffer first (VISA Flush I/O Buffer).
Message 11 of 14
(692 Views)
Dear Dennis
 
Thanks once more.
Now one more thing.
What is that 'mask' input for the VISA flush vi
Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 12 of 14
(687 Views)
Right click on the function and select Help. It gives you all of the values and explains what each one is.
Message 13 of 14
(672 Views)

i 've gone to help.

But i didnt understand anything

Anyway its working now with a value of 64 as mask even if i dont know what it mean.

Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 14 of 14
(665 Views)