alecjcook Posted February 23, 2017 Report Share Posted February 23, 2017 Hi, I have a whole chain of Sub VIs. Is there any automated way I can check to see if everything in the chain is re-entrant? Cheers, Alec Quote Link to comment
hooovahh Posted February 23, 2017 Report Share Posted February 23, 2017 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. 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.