Example Code

Preventing Front Panel Control Updates During Runtime

Code and Documents

Attachment

Overview

Coding that exemplifies how to prevent the Controls to be updated while the VI is running.

 

Description

This code consists on inserting a random number into an array depending on what the user chooses. Within the options the user has, we can select either to insert a value at the beginning, the end, or at any specific index.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Configure the Frequency, Phase, and Amplitude Controls.
2. Select the Run button.
3. Stop the VI.


Additional Information or References

Capture.PNG

Nick Keel
Product Manager - NI VeriStand and Model Interface Toolkit
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.