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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you detect data in a VISA serial port

Can I use an event structure to detect data in a VISA serial port?
0 Kudos
Message 1 of 2
(2,772 Views)
Not directly. You can have a separate while loop that uses VISA Wait on Event or VISA Bytes at Serial Port to determine whether there is serial port activity and use that to fire a user event.
0 Kudos
Message 2 of 2
(2,765 Views)