To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example reads a value from a text file and initializes a numeric control to that value.
Description
This VI reads in a value from a text file and updates a numeric control on the front panel using a property node. It then generates a random sample number and writes it to the same file. The next time the program is run, the numeric control gets updated to the last value written in 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.