programmatically populating or showing/ hiding options in enum or ring control

You can post your problem related to LabView Projects here. We will try our best to help you out.
Helen
Posts:12
Joined:Sat Feb 18, 2017 8:46 am
programmatically populating or showing/ hiding options in enum or ring control

Post by Helen » Mon Mar 06, 2017 1:18 pm

Hey guys,
So my problem is that I have a list of known selections that I would like in something like an enum or ring control, the user will have to click on one option and something will happen unique to each selection. the program will have many pages where the enum/ring will be present and on each page the options available will be a relatively unique grouping of the known values.

basically options 1 - 6 are already known to exist.
on page 1 the drop down shows options 1, 2, 3
on page 2 the drop down shows options 2, 4, 5, 6
....

every page will have some combination of the options.

also this isnt random, im pulling the page and the list of items for the list from a database.

Im trying to think of a good way to do this, my guess is my options are rings or enums but if theres something else I could use to generate lists like this at run time I have no problem looking into it. I was looking into using the strings property node to take the strings of options from the database and populating the ring control but how do I keep the value of the ring always associated with the proper string? I could use the value and string property and just pre associate the database strings with the proper numeric value.

I'm just wondering if there's a better way to go about this.

Thanks for any help

Post Reply