LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control switch

Hi,

Is it possible to control (switch on/off) a simple switch from the
program. I just can get the bool value from a switch but there is no
way for inputs.

Max
\|||/
(o o)
,----ooO--(_)-------.
| Please remove |
| NOSPAM from my |
| EMail to reply |
`--------------Ooo--'
|__|__|
|| ||
ooO Ooo
0 Kudos
Message 1 of 3
(2,242 Views)
If you need to manipulate a front panel switch, you can use a local variable to write the boolean value to it. However, you should consider using the latched mechanical actions so that the switch pops up on its own.

Daniel L. Press
PrimeTest Corp.
www.primetest.com
0 Kudos
Message 2 of 3
(2,242 Views)
Markus,

Take a look at the property nodes, just right-click over the control that you want to manipulate and go to create and select property node. From there you can select what property you want to read or write, one of then is the value, this way you can change the value of a control o read the value of an indicator.

Also you can use the mechanical action to see if that gives you the behaviour that you expect. just right click on the control and got o mechanical action, try playing with the switcha nd latch options.

Hope this helps.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 3 of 3
(2,242 Views)