To download NI software, including the products shown below, visit ni.com/downloads.
Overview
In some applications there may be a need to display data from different states of the state machine. For example, the data or indication of a successful test that was performed. If there are many such tests, then this could possibly lead to excessive Front Panel indicators. This method builds a string to display many different items from different state transitions in one convenient string display.
Description
This program uses a simple state machine architecture. A sub VI is used to build the string and each state can call upon this sub VI to update the string record. That record is stored by passing it through a shift register on each iteration. The program is fairly modular and can be easily modified by changing the sub VI or the typedef control used for the states.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Front Panel
VI Snippet of Block Diagram
**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.