Overview
This example shows the user how to use LabVIEW to dynamically view which VIs are in memory and their execution state.
Description
This example allow user to view all VIs in memory and their execution state with Property Node. To implement this function,
- Drop a VI Reference Server on the block diagram and change its value to "This Application."
- Right-click the VI Reference Server and click Create >> Property for Application Class >> Application >> All VIs In Memory.
- Now drop down a For Loop, this allows us to go through all the VIs in memory. Make sure indexing is enabled.
- Within the loop use an Open VI Reference and right-click it to create a Property for VI Class then navigate to Execution >> State.
- Connect the wires as seen in the attached VI and add the appropriate indicators.
- Close the References.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Run the VI.
- The VIs that are open their execution state will be displayed on the Front Panel.
Additional Information or References
Front Panel
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**