Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB

Setting I/O time out:

There are three places:

1) Measurement & automation explorer-> GPIB interface properties-> I/O time out

2) GPIB function IBDEV() -> The fourth parameter is(tmo)

3) GPIB function IBTMO().

 

My qustion is:

I wrote a small program to test the response of GPIB instrument. I used IBDEV(). Will the I/O timeout setting in the function is enough and will it

overwrite the I/O timeout that has been set by GPIB interface properties?

 

0 Kudos
Message 1 of 2
(3,375 Views)
If you set the timeout more than once in a given session, the most recent timeout will take precedence. You can set the timeout in your program it it should take priority. Is that what you are seeing in your test program?
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 2
(3,342 Views)