LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Pull Down Menu Like You See On Web Sites

I am looking for a way to create a Dynamic Pull Down Menu like you see on many web sites.
 
Example:
Lets say I have 10 customers in my database now.  During the input, I want the user to SELECT one of the 10 customers from a PULL DOWN menu.   Now lets say next week I have 20 Customers in my Database.  I do not want to manually enter these Customer Values as static data in a RING.
 
I have tried playing around using the "Strings and Values []" property node, but I am having a hard time figuring out how to make it work with  dynamic data.
 
Someone told me I should try "Bundling" my data then "Clustering to Array" then Wire it into the "Strings and Values[]" property node.  I guess I just don't understand how that works.
 
If anyone can point me to an example, that would be great.
 
Thanks!
 
Doug
0 Kudos
Message 1 of 4
(2,750 Views)
Here is an example for a dynamic ring control.  I made it the other day to test out the concept myself as I wanted the ability to select new options as they are added.
Message 2 of 4
(2,744 Views)
I'm a little confused...  If you've got a database of customers...why not use a database to store that information, then on startup, populate the list with what's in the database?
0 Kudos
Message 3 of 4
(2,734 Views)
I'm assuming you know how to extract from the database a 1D array of strings containing the customer names. All you have to do is wire that array to the Dialog Ring control's Strings[] property (not Strings and Values[]) and you're done. Works real well, I use it a bunch...
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,731 Views)