LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the checkbox state with a button click

Solved!
Go to solution

Hello all,

 

O am new in LabView. I have a situation now that I have several checkboxes, which I want to check them all (or de-check all) with a button click. Can anybody help this out?

 

Thank you very much. Jacie

0 Kudos
Message 1 of 6
(2,805 Views)

Hello Jacie,

 

I have a attached a small VI which I have created to do as you have asked. IT is done quite easily with the use of Local Variables. I hope that you find this useful and do not hesitate to contact me if you require more help.

 

Regards

David B
Applications Engineer
National Instruments UK
0 Kudos
Message 2 of 6
(2,800 Views)

Hi David,

 

I can not open the vi file, it is 11.0 version while I am with 10.0 version. It says:

 

LabVIEW: File version is later than the current LabVIEW version.

 

An error occured loading VI 'Select all.vi'.

LabVIEW load error code 9: VI version (11.0) is newer than LabVIEW version (10.0).

 

Is it possible you sent me a 10.0 version file?

 

Thank you very much for your prompt help.

Jacie

0 Kudos
Message 3 of 6
(2,794 Views)
Solution
Accepted by jacie

If you have multiple checkboxes you will have a cleaner diagram if you group them in a cluster.

 

Ben64

 

 

0 Kudos
Message 4 of 6
(2,782 Views)

Hello Jacie,

 

Sorry for that, here is a copy that is saved in LabVIEW 2010. Is this helpful?

 

Regards

David B
Applications Engineer
National Instruments UK
0 Kudos
Message 5 of 6
(2,779 Views)

Thank you, David. Thank you, Ben.

 

Both solutions work for me. I really appreciate your help. Jacie

0 Kudos
Message 6 of 6
(2,763 Views)