From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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,126 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,122 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,118 Views)

Just the way you write your code.

Message 4 of 4
(3,112 Views)