Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

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.)





Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality?   Answered Your Question? 
  1 2 3 4 5
Please Provide Additional Feedback below
Please visit Request Support for product support inquiries. submit