Jump to content

Programatically distinguish between running and reserved vi's


Recommended Posts

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.

Link to comment

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 by JordanMeyer
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.