LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i trigger a Boolean control from a Boolean indicator?

Solved!
Go to solution

Hello

 

I want to trigger a Boolean control (like a push button) to true value as soon as my Boolean indicator(LED) gets a true value.

Can anyone tell me how to get this done?

0 Kudos
Message 1 of 4
(1,010 Views)

Any help is appreciated

0 Kudos
Message 2 of 4
(999 Views)
Solution
Accepted by topic author Rkale

You can use either a local variable or value property node to set a control value.

 

Right click on the control and Create/Local Variable or Create/Property Node/Value. Change the property node or variable to write mode by right clicking on it and selecting "change to write". Local variables might default to write (can't remember) but I know that property nodes default to read mode.

 

I prefer property nodes simply because they have an error in and out so I can control the flow.

 

[Edit:] Don't forget that you must have switching instead of latching for the mechanical action. If you need a latching boolean control and need to programatically set it's value then you will have to reset the state after you read it using either a local or property node.

=====================
LabVIEW 2012


0 Kudos
Message 3 of 4
(996 Views)

Hey Thanks a ton!

0 Kudos
Message 4 of 4
(985 Views)