LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does the definition of "Execution State" equals "Bad" change between development environment and run-time?

Hi all,

 

Did you manage to find a good way to do this without having to add every single dinamically loaded VI in the "Always included" section of the build? I'm kind of having the same problem and, while I can include all the VI's and their subVI's, it wouldn't be practical.

Also, do you know of any way of using Execution.state to check the state of an executable from another executable? Sorry to bring another different topic in but it's kinda' related.

0 Kudos
Message 11 of 12
(438 Views)

Hello Akatora, 

 

To answer your first question, it should be possible to dynamically call a VI without always including it.  For more information please see this KnowledgeBase:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9fiSAC&l=en-US

 

As far as your other question, yes it is possible.  Please see the following example:

https://forums.ni.com/t5/Example-Code/View-All-VI-s-in-Memory-and-Their-Execution-State/ta-p/3505468

 

This example can be built into an executable which will tell you all VIs in memory and thier execuation state.

Patrick W.
Applications Engineer
National Instruments
0 Kudos
Message 12 of 12
(408 Views)