LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to group radio buttons in LabWindows/CVI

Solved!
Go to solution

Hi Vishnu,

Jared project relies on a new feature of CVI 2010, the ability to create arrays of controls; this feature is not present in CVI 2009: you should have received a warning when opening the project since the UIR file format is newer than the IDE you are using.

 

Attached is a sample project that creates a group out of a series of radio buttons and handles it allowing multiple selection or no selection at all depending on two check boxes on the panel. It's a CVI8.5 project so you will have no problems in using it in CVI2009.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 11 of 15
(1,178 Views)

oops... mistakenly posted...

 

NickB

National Instruments

0 Kudos
Message 12 of 15
(1,169 Views)

Hi Roberto,

    Thank you very much. This is the solution of my problem.

Actually with "ATTR_RADIO_SIBLING_ALWAYS_MARKED"  , some time it is working fine and some time not working properly.  But Radio button array works fine.

 "ATTR_RADIO_SIBLING_ALWAYS_MARKED" Should also work but I don't know why it is not working with me. Might be  i have mistake with using this.

 

 

Thanks

--Vishnu

0 Kudos
Message 13 of 15
(1,151 Views)

I found Radio button groups today. Very nice.

I was wondering a minor aspect, can I spread the buttons out a little so there is a little more space between each row?

0 Kudos
Message 14 of 15
(635 Views)

You can use the flexible radio button group instrument driver instead, see here

0 Kudos
Message 15 of 15
(627 Views)