Timeout Errors
Description and Solution
-
A timeout error is generally indicative of a different problem. Often the instrument will timeout because the syntax of the command written was wrong. You should single-step through your code to find where the timeout error occurs. Once you know where it occurs, check the command strings sent to it in the last couple reads and writes, ensuring that the command strings are the proper syntax for your instrument.
-
In most cases, increasing the timeout value will solve these timeout errors. After the VISA Open.vi, you should put an attribute node increasing the timeout value (by default it is only 2 seconds). If you are using an instrument driver, the code is usually written for you in the Initialize.vi. You just need to change the value passed in. The image below demonstrates the code. (Note: If you are not familiar with VISA Attribute Nodes, they are documented in the Instrument I/O VI Reference Manual.)
|
|