LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

check box

Hi, I am trying to set or get the value to/from a check box. any help?

 

-Brigit

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

 

Hi Brigit,

 

  For getting the status of check box , whether it is checked or unchecked , Use

 
 GetCtrlVal (panelHandle,PANEL_checkbox, &get_value);

 For Setting the status of check box , to be checked or unchecked , Use

 

 SetCtrlVal (panelHandle,PANEL_checkbox, set_value); // set_value can be 1 or 0

 

Regards,

mhs100

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