Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

question about the priority of loop rate and VISA read/write timeout inside the loop

A simple question -

Assume there is a while loop with a loop rate 100ms. Inside the while loop there is VISA read operation with the timeout 10second.

If the number of bytes availble to VISA read is less than expected, will VISA read wait till 10 second timeout or 100ms?

 

Thanks.

0 Kudos
Message 1 of 2
(2,666 Views)

VISA Read waits for the timeout no matter what you set the loop rate to.

0 Kudos
Message 2 of 2
(2,641 Views)