Requires: VI Scripting
You navigate across a structure any time that you inspect, edit, or create references to a particular part of a structure. Navigating across a structure is a unique navigation task because the elements of a structure are connected by the structure itself rather than by wires. Therefore, to navigate a structure, you must not only be aware of the different elements that compose a structure but also of the properties that return references to these elements. You can combine navigating across structures with other navigation subtasks to accomplish larger navigation goals. Refer to the navigation overview to learn more about how navigating across structures interacts with other navigation tasks.
To navigate across a structure, you use properties of the structure to obtain references to different parts of the anatomy of the structure. The properties you need to navigate across a structure depend on the structure that you are navigating. Refer to the following structure anatomies to identify which properties you need to navigate a particular structure.
Before you start: Open the Navigating Structures VI in the labview\examples\Application Control\VI Scripting\Finding and Modifying Objects directory for an example that illustrates each step of the following procedure.
Open ExampleExpand the procedure for more information about this specific example.
Possible structure elements include tunnels, shift registers, Case structure frame names, and so on. Refer to the anatomies of common VI objects for a visual depiction of the parts of different types of structures.
As the structure anatomies indicate, some elements of a structure provide access to other elements of the structure. For example, you can use a reference to a tunnel to obtain a reference to the inner and outer terminals of that tunnel.
Close all references that you open—An excessive number of open references negatively impacts the performance of a VI. Read about closing VI and object references for more performance details.