Timeout Not Responsive to Changes on Open and Read Variable In LabVIEW

Updated Apr 3, 2018

Reported In


  • CompactRIO Controller


  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

I'm trying to programmatically set the timeout for the Open and Verify Variable Connection and Read Variable with Timeout functions using the timeout ms input wire. However, the function seems to time out after around 5 seconds regardless of what I set as the timeout.

Why does the timeout keep defaulting to 5 seconds even after I programmatically change it?


The timeout defaults to 5 seconds, regardless of the timeout ms input, if the variable doesn't exist or isn't online when opening the connection. This is expected behavior of the function. Once the variable exists and is accessible, your function will respond appropriately to programmatic changes to the timeout.

Additional Information

You are likely seeing this error when your function times out:

For more information on potential causes and solutions to this error, see Error -1950679035 When Using LabVIEW Shared Variables


Not Helpful