Example Code

Modifying a Boolean Control Using Property Nodes

Code and Documents

Attachment

Overview
This example VI demonstrates the method of programmatically Changing the Properties of a Boolean Button.

Description

A property node in LabVIEW allows you to programmatically change a property associated with an object such as a control or an indicator.

To create a property node from a control or indicator, all we need to do is to right-click on the control/indicator, then go to Create >> Property Node and select our desired property.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Open the VI " Property Nodes with Booleans 2012 NIVerified.vi"
  2. Run the Program.
  3. Change the properties of the Boolean Button by pressing any button below it.

 

Additional Information or References
VI Block Diagram

Block Diagram.png

 

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

 

Tori
Student

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

Comments
digital71
Member
Member
on

This is a very useful example for those of use learning property nodes.  How do you guys make the run bar disappear upon startup of the VI?