Jump to content

Automatic Check for 'Re-entrant'


Recommended Posts

Just using scripting.  If you have a folder of VIs you want to check for you can use the Recursive File List, looking for all *.vi files.  Then in a for loop get the path of each, and use the Open VI Reference.  Then you can look at the Execution >> Is Reentrant, and even Execution >> Reentrancy Type to state if it is shared or preallocated.  Be sure and close the VI reference after this.

If you have a VI and you want to travers down into it, you can use a Static VI reference and plop in your VI.  Then using property nodes get the block diagram, and this reference can return all SubVIs as an array which you can again iterate over.

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.