Example Code

Two Boolean Buttons One Active at the Time

Code and Documents

Attachment

Overview:
This VI shows how to toggle between buttons.

Description:
This example uses property nodes to disable and enable buttons depending if one or the other are pressed.

Requirements:
LabVIEW Base Development System 2012 (or compatible)

Steps to Implement or Execute Code:
1. Run the VI
2. Alternate pressing the buttons
3. Press stop when done

Additional Information or References:
Capture.PNG

**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.