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: 

GPIB - when I use wait with a timeout of 1sec, the wait function doesn't return after 1sec

I use the following code:

 

gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);

 

I want to wait for ether a DeviceServiceRequest or a Timeout. When I use a Timout of 1sec

the wait function doesn't return after 1sec. Can someone help me, why the timeout is not effective here???????? 

0 Kudos
Message 1 of 2
(4,108 Views)

Hi,

 

 

please do not open multiple posts to the same Question:

 

http://forums.ni.com/t5/Measurement-Studio-for-NET/gpib-wait-does-not-return-after-timeout/m-p/28649...

0 Kudos
Message 2 of 2
(4,026 Views)