LabView Projects

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

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


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir