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: 

VISA Read timeout after VISA Close

Does "VISA Read" still try to read from serial port even if after VISA Close?

 

 

0 Kudos
Message 1 of 4
(3,129 Views)

Of course. For several years, VISA Open and VISA Close have been completely optional. If a session does not exist, it will be automatically created by VISA Write, Read, etc.

0 Kudos
Message 2 of 4
(3,125 Views)

Thank you! I'm new to LabVIEW. Is there any VISA operation to stop the VISA Read after VISA Close?

0 Kudos
Message 3 of 4
(3,121 Views)

Just the way you write your code.

Message 4 of 4
(3,115 Views)