I want to programatically check whether a vi is running. I tried to use the "ExecutionState" property, but this did not work for me. My problem is that my definition of running does not match the execution state property’s definition of running:
My Definitions
· Running = Some element of the vi is currently executing
· Reserved = This vi is a sub VI of a running VI, but this vi is not actually running
· Idle = In memory and not running or reserved
Execution State property definitions
· Running = Some element of the vi is currently executing OR this vi is a sub VI of a running V
· Idle = In memory and not running
Since each vi's front panel displays a running arrow when the vi is running and a reserved arrow when the vi is reserved there must be some way to programatically distinguish between these two states. I hope that this distinction is exposed to programmers.