To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This examples shows how to save the values of the front panel controls or indicators to a readable text file.
Description
This example makes use of "Control Value>>Get All" Invoke Node to retrieve the values of all front panels controls and indicators.
The "Controls" boolean input of this Invoke Node selects whether the node returns the control or indicator values from the front panel. The Invoke Node returns an array of clusters representing each controls/indicators. The cluster contains a string with the name of the control/indicator and a variant containing the value. This example converts the variant data value to a string to be saved to the text file.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI 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.