LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change value of constant for "Disabled" Property Node?

Solved!
Go to solution

Hello all,

 

I'm attaching a vi example of what I'm wanting to do. It is happening during the event for "Left Selector:Programmed 1: Value change.

 

Basically I've created a property node for a LED boolean control. After it is clicked, I am wanting to disable it so the user cannot change the value (I have a reset all button for use on that).

 

I've created the property node for this control for Disabled.  When I am in the block diagram, I change it to write mode.

 

I've rt clicked on it, and said "create constant", which it does.  However, the constant comes up every time as "Enabled". I've tried clicking all over this constant, and looking through all the properties, but I cannot figure out how to toggle through the values or set the value of this constant from "Enabled" to "Disabled".

 

I see where you can edit the items of this constant...but I'm guessing there is some way to toggle this constant to the value you wish....any suggestions?

 

Thanks in advance,

 

cayenne

0 Kudos
Message 1 of 3
(3,355 Views)
Solution
Accepted by topic author cayenne

To change a constant value your cursor needs to be in the "finger" mode.

 

You can select this by holding down shift and right-clicking on the diagram - then select the finger.

 

Another way is to set Automatic Tool selection:

Tools >> Options >> Environment >> Lock automatic tool selection

 

With this option, LabVIEW will choose the tools for you.

Play with it a bit to see how it works.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
Message 2 of 3
(3,348 Views)

@stevem181 wrote:

To change a constant value your cursor needs to be in the "finger" mode.

 

You can select this by holding down shift and right-clicking on the diagram - then select the finger.

 

Another way is to set Automatic Tool selection:

Tools >> Options >> Environment >> Lock automatic tool selection

 

With this option, LabVIEW will choose the tools for you.

Play with it a bit to see how it works.

 

steve


THANK YOU!!

 

That did the trick.  I knew about 'giving the finger' so to speak...on the front panel to operate controls, but didn't think of it as being something to use on the block diagram!!!

 

Thank you again, that did the trick!!!

 

Cayenne

0 Kudos
Message 3 of 3
(3,347 Views)