This content is not available in your preferred language.
The content is shown in another available language. Your browser may include features that can help translate the text.
The default timeout for VISA Read and Write is 2000 milliseconds, but if you wish to change this, the timeout can only be set for an entire VISA session. This means that the timeout will be the same for both VISA Read and VISA Write.
To set the timeout for a VISA session, create a Property Node for the VISA session and select the Timeout attribute from the dropdown menu. The timeout attribute can be defined by wiring the desired value for timeout in milliseconds. This can also be done by using VISA Set Timeout in LabVIEW (located in the Functions palette under Instrument I/O»VISA»VISA Advanced) or the viSetAttribute("VI_ATTR_TMO_VALUEK") function in LabWindows™/CVI™.
The following code snippet shows an example where the timeout is set to 2 seconds:
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Timeout on VISA Wait On Event Even Though the Event Has Occurred
VISA Set Timeout
Changing the Default Timeout Values for All VISA Sessions
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.