Overview:
Coding that exemplifies how to turn on and off the display of a waveform chart.
Description:
This VI generates a waveform and decides if the new generated samples are sample or not based on the value of a boolean control. This could be used to decide when or not to update the user interface during data acquisition. A blank waveform is used while the boolean value is false, however is possible to update the architecture to show a different waveform.
Requirements:
LabVIEW Base Development System.
Steps to Implement or Execute Code:
1. Open the attached VI named “Turn Output When Boolean is High LV 2012 - NI Verified.vi”.
2. Run the VI.
3. Turn the boolean control on and off, and verify the change on the graph.
Additional Information or References:
**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.