Overview
The Boolean to Enable_Disable VI converts a Boolean FALSE or TRUE value to an enumerated type with a value of Enabled (0) or Disabled and Grayed Out (2), respectively.
Description
The Boolean to Enable_Disable VI converts a Boolean FALSE or TRUE value to an enumerated type with a value of Enabled (0) or Disabled and Grayed Out (2), respectively. The Boolean to Enable_Disable VI provides space-saving attribute control within your applications.
The Boolean to Enable_Disable VI outputs an enumerated type (Enabled (0) or Disabled and Grayed Out (2)), allowing you to easily see the state passed to your property nodes when using probes or execution highlighting while running your VI.
Below is an image that contrasts typical attribute control with the space-saving attribute control provided by the Boolean to Enable_Disable VI.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Run the program
- Push "Grayed?" button and see the behavior
Additional Information or References
VI Block Diagram
Developed by
Mark Ridgley
**This document has been updated to meet the current required format for the NI Code Exchange.**