Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

reading size of data in buffer

Is it possible to read how much data is in the input buffer when using VISA to control an RS232/RS422 serial port?

I'm trying to write a small loopback program that can transmit and receive data when a boolean button is pressed.  Is there a better way to do this then using the byte-count returned by the VISA Write function or by reading how much data is in the buffer?
0 Kudos
Message 1 of 3
(3,667 Views)
Search for a function named VISA bytes at serial port
0 Kudos
Message 2 of 3
(3,661 Views)
Thank you very much for the timely reply!  I found the function and it works quite well!
0 Kudos
Message 3 of 3
(3,656 Views)