From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-08-2017 08:52 AM
Hello,
I'm making a dialog box asking the user to select one of multiple strings from an array, so I'm using radio buttons for this. Is there a way to make the possible selections of a radio lab with a property node? I was not able to locate a way to do this.
09-08-2017 09:03 AM
Why wouldn't you use a MENU RING instead of the radio buttons for a selection from an array of strings? The property node of a menu ring allows for on the fly (run-time) changes to the selection options?
09-08-2017 09:09 AM
That was my backup plan. I was hoping to have a nice table showing all their options without a drop-down menu like with a menu ring. I was trying to modify a table with checkboxes to have radio buttons instead since I already have the dialog window built.
09-08-2017 09:20 AM
09-08-2017 09:27 AM
@TheStrangeQuark wrote:
Is there a way to make the possible selections of a radio lab with a property node? I was not able to locate a way to do this.
According to the LabVIEW Help for Radio Button Properties, this is a Read-Only property, so the answer is No.
Bob Schor
09-10-2017 10:12 PM
Like GerdW, I would go with the Listbox set for selecting a single item.
09-10-2017 11:29 PM
You can simulate this, I guess, by making an array of cluster, where the cluster would be a Boolean control + a string control.
09-11-2017 01:23 AM
09-11-2017 11:12 AM
This sounds like it could be a fun XControl using a 2D Picture control, or a listbox with custom symbols. A while ago I posted code on custom symbols in item selection for listboxes that allow for multiple item select. Feel free to modify the code to use radio button symbols instead.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-11-2017 11:28 AM
I just use (hidden) sequential labels, and change captions programmatically instead