Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Assign value to property node

Tags:

labview

I starting using LabVIEW about 1 week ago. In a tutorial I watched this picture Property value

I am wondering how can I assign the value "Disabled and Grayed out" to disabled property value of the button?

like image 858
Ahmad Mansouri Avatar asked Jun 30 '26 14:06

Ahmad Mansouri


1 Answers

There are a couple of ways to create property nodes in LabVIEW. This method is the quickest and easiest and matches your picture.

  1. Add the button to your front panel.
  2. Right-Click and go to Create >> Property Node >> Disabled in the menus. Click on this.
  3. LabVIEW will automatically switch to the block diagram and let you drop the property node.
  4. By default it is a read node. Right-Click on the block where it says "Disabled" and select Change To Write in the menu (There is also Change All To Write if you have multiple properties.
  5. Hover over the input so you get the wiring symbol. Right-Click and select Create Constant to create the correct Enum constant to write to it.

That is the basics and the way most people start out - a couple of extra tips:

  • The node is expandable hover at the bottom and you get the resize block, drag this down and you can set more than one property on the same node. These are set in order from top to bottom.
  • Left click on each property to change which property it is.
  • Right-Click and go to Link To... in the menu to change which button it applies to.
like image 66
jamesmc86 Avatar answered Jul 06 '26 12:07

jamesmc86



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!