I am trying to check if an asynchronously called VI has finished by checking the Execution:State property of the dynamically called VI, but this always returns "Running".
After starting an asynchronous call to another VI using the Start Asynchronous Call node, you can pass the reference out of this to a Wait on Asynchronous Call function. This function will run until the called VI has finished. When using this function, you must set the "options" input to 0x100 (Hexadecimal) when the reference to the VI is first opened. An example of this is shown below:
The Execution:State property gives the current state of a VI. Querying this will only work if the VI is opened as a non-typed reference (when the type specifier VI Refnum input is unwired).
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.