ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Example Code

Turn Output When Boolean is High in LabVIEW

Code and Documents

Attachment

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:


Snippet 6383.png**This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com

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