JordanMeyer Posted March 21, 2013 Report Share Posted March 21, 2013 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. Quote Link to comment
todd Posted March 22, 2013 Report Share Posted March 22, 2013 Does this help?: http://lavag.org/topic/16660-how-to-get-actual-vi-execution-state/?hl=%2Bexecution+%2Bstate Quote Link to comment
JordanMeyer Posted March 22, 2013 Author Report Share Posted March 22, 2013 (edited) Thanks for the post. It gives me closure at least. It shows me that other programmers are having the same problem, but that nobody has found a good solution. Your link pointed me to James Kring's post on the idea exchange. Hopefully NI will heed the request and add this feature soon. Edited March 22, 2013 by JordanMeyer Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.