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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Control Menu Based on Sub vi's (And Shortcuts in folder)

Hey All, I'm looking to make a dynamic element for my front panel that will contain a number of boolean controls that are named after file names in a folder. Best case I'd like something like this:

Capture.PNG

 

Right now, the best way I can think of to set this up is an array of clusters with disabled strings placed over the boolean buttons, however I'm thinking there must be a better way

 

Stretch goal: Is there also a way to display a Vi's icon in the front panel as an image? It would be nice to have something useful to break up the booleans that also indicates some level of information.

0 Kudos
Message 1 of 3
(2,787 Views)

Add a picture indicator to the cluster.

 

Use the VI.Icon Get as Image Data method to load the icon data for each of those VI's.

 

0 Kudos
Message 2 of 3
(2,760 Views)

Thanks, This is what I have so far. I'm decently satisfied with it, but I'm open to suggestions.

 

Snip.png

0 Kudos
Message 3 of 3
(2,749 Views)