LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout expired before operation completed

Solved!
Go to solution

Hi,

 

I am using Keithley 2400 and sourcing voltage sweep (from -0.8V to 0.8V, step=0.01V) and read the current.

However, the operation is always stopped in the middle when I used small step.

If I increased the step voltage to 0.05V which allowed shorter sweep time, then it finishes the operation.

There seem to be a limit of maximum readings that Keithley 2400 can do in limited time.

I increased the byte count in the GPIB read to a larger number, but it didn't work out.

How can I resolve the issue?

Attached is my VI.

0 Kudos
Message 1 of 5
(1,806 Views)
Solution
Accepted by topic author sweetyyo1

Increase the timeout value.  Just insert a proper node on the VISA Resource wire and select the timeout

Property.   By default the setting is 60000msec (1 minute) if you can calculate the amount of time the sweep will take you can set the timeout to something just larger.

 

Another, even better, option with GPIB is to configure the instrument to set the Operation Complete flag in the status byte and poll *OPC? then Read the record. 


"Should be" isn't "Is" -Jay
Message 2 of 5
(1,775 Views)
Solution
Accepted by topic author sweetyyo1
It looks like the default timeout is 10,000 ms (10 sec). If you need a longer timeout than that, you should wire it to "GPIB Read".
Message 3 of 5
(1,772 Views)

Thanks for the info!

0 Kudos
Message 4 of 5
(1,747 Views)

Thanks. It works out!

0 Kudos
Message 5 of 5
(1,745 Views)