Hi,
I have a Boolean control ( switch when pressed ) and it is inside a while loop and the it is connected to the selector terminal of case structure. When the condition meets the boolean control should be changed to false. How can I programmatically set the boolean value without using local variable or value property node
Thanks
I don't think that you can. Why don't you use "Latch when released" instead?
@Michel_Gauvin wrote:
I don't think that you can. Why don't you use "Latch when released" instead?
Exactly! Thats why we have Latcing mechanical actions! Change value untill the terminal is read once and go back to the initial state.
@JÞB wrote:
Exactly! Thats why we have Latcing mechanical actions! Change value untill the terminal is read once and go back to the initial state.
Nope! I got caught on this one a few months ago (and, in fact, LabVIEW Documentation has it wrong in several places, depending on the LabVIEW Version).
When the terminal is read, it goes back to its default value, not its initial state. Granted, in almost every (reasonable) program, these are the same thing, but I'm wearing my "Pedantic" hat, and (since I also "had it wrong") feel I should point out the subtle distinction.
Bob (Pedantic) Schor