To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to store and subsequently retrieve the hierarchy of a tree control.
Description
Example Code Developed by James Baker - Amfax Ltd
The following community example demonstrates how to store and subsequently retrieve the hierarchy of a tree control.
The code uses a state machine with events to allow the user to; randomise the tree status, save the current status and restore a saved state. It does this using the ActiveItemRowNumber and Open? properties.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Front Panel
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.