LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use conditional disable function labview

i will be very pleased if anyone could help me with this.....i am attatching the code...

i have a problem with this checkbox, i want to make sure that when the user do not select the check box, then the check box will be disable and no action wil took place in the false

statement ..... when is being selected then the start gets the value, and i when is false then start takes the zero value...and i dont want to take this vale i want the case stucture to do nothing when the checkbox is not selected

i am a new user in labview 

 a priori thanks 

 

0 Kudos
Message 1 of 2
(2,781 Views)

Technically, this is not the conditional disable function, which is a different structure in LabVIEW.

 

The code has you have shown won't run.  You'll have broken arrow because no value is defined in the false case.  If your right click the tunnel and select Use default if unwired, the broken arrow will be fixed and it will run.  But a default value of zero will go to the indicator if the checkbox is false.

 

To keep a zero from going to the indicator, you need to move the indicator inside the case structure has well.

0 Kudos
Message 2 of 2
(2,780 Views)