ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting "Wait On Asynchronous Call" timeout

I'm pretty sure there's no way to programmatically set the timeout of a "Wait On Asynchronous Call"; but does anybody know for sure?

paul_cardinale_0-1679498051451.png

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 2
(1,113 Views)

I'm pretty sure there is not.

 

What I have always done instead was to set it to a short timeout, maybe 1ms or 10ms, and then put it in a While loop that only terminates when it resolves with no error or when the dynamic timeout time I wanted to use had elapsed.  You could do that and just use scripting to set the While loop timeout instead of the internal timeout of the node.

0 Kudos
Message 2 of 2
(1,097 Views)