06-23-2012 01:25 PM
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
Solved! Go to Solution.
06-23-2012 01:52 PM
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
06-23-2012 02:21 PM
@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