LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable bool controls based on boolean indicators

hello, i have this vi (it doesnt run because on the pc im sharing this from i dont have daqmx drivers, but i think you could understand this anyway).

i have 6 inputs and 6 outputs. what i want to do is enable the outputs only when the correct input is high (example: indicator 1 is high, control 1 is enabled). how can i do that? thank you

0 Kudos
Message 1 of 2
(781 Views)

A boolean output is a boolean indicator. It's either on or off. Deactivating or activating it doesn't change that, so it doesn't really make sense to disable an indicator. Your subject actually asks it vice versa, how to disable the control (input) based on the output (indicator). It also doesn't make sense to do that, but if you want... 

Indicators/control have a property node called "Deactivated". Since it uses numerics, you must translate if the source is boolean, but that's easy.

 

P. S. I already use LV 2021 and your VI is even newer. Chances are low that many people can open it. 

 

0 Kudos
Message 2 of 2
(740 Views)