Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set timeout of IVI(TX3)

Dear sir,

 

I want to ask that if we can set the value of timeout of IVI (tx3).

The problem is that when I initiate my TX3, I need to wait for

more than 10 seconds if there are any errors.

So I want to set the timeout to reduce my waiting time.

In Visa, it is easy to find it in property node.

But I cannot find this in IVI driver.

Are there any solutions?

 

Thanks,

Ryan

0 Kudos
Message 1 of 5
(3,365 Views)

Not sure what a tx3 is?

Is this an IVI-COM or IVI-C driver?

0 Kudos
Message 2 of 5
(3,360 Views)

Hello Ryan,

       It sounds like the device just might take that long to be reset and have the default setup run.  In order for changing the timeout to matter, the IVI Instrument Driver for your instrument would have been returning a timeout error.  If it is not returning a timeout error, you are probably just waiting on your instrument.  You can choose not to reset the instrument in the Initialize.  Give that a try and see if it reduces the amount of time that you have to wait.

 

Cheers,

 

NathanT

0 Kudos
Message 3 of 5
(3,356 Views)

I just don't want to wait for 10 seconds if it cannot connect.

I want to set timeout value, so I can go to next action asap.

Such as I want to set the timeout to 500ms, if there isn't

any feedback in 500ms, Just go to next step.

 

Thanks

Ryan

0 Kudos
Message 4 of 5
(3,329 Views)

Hello Ryan,

        Please let us know the results of initializing your instrument without reseting it.  Having a timeout of 500ms would generate a timeout error if your instrument does not respond within 500ms.  You might just compound the problem by trying to go to the next action in your application if the instrument is not ready to perform that action.  Timeouts are not wait statements, they are more like a threshold for generating timeout errors.

 

Thanks,

 

NathanT

0 Kudos
Message 5 of 5
(3,309 Views)