Suppose that I have two boolean controls A and B.
Now I would like to diseble control B and force it to false whenever A=true.
I know I can do it by changing the properties (Value and Disable) of control B through a "Property Node".
Am I right?
Now, what if the two controls are embedded in a cluster? Am I still able to disable one of them depending on the value of the other?
Solved! Go to Solution.
even when the boolean controls are located in a cluster you can use property nodes for them...
Thank you for the suggestion.
I agree, but I can use a property node for the cluster as a whole.
I cannot see how can I access the properties of an element of the cluster.
to solve that riddle for all others: Right-click the control on the frontpanel (!) and select "create->property node"...
who is "you" you are talking to?
What is "that" what you want to connect to what?
force boolean b to false whenever A=true;
Simple boolean operation:
result := NOT(A) AND B
but also being able to control b on its own.
So you want to be able to switch boolean button B while in parallel reacting on button A?
- use an event structure with a "Value change" event for button A to only rect on actual user input
- set the value and the disabled state of button B in this event as needed
But if both are controls, how do i do it?
Are how can a make a boolean control to off after the program stops running or set everything to a certain default state?