I am writing a program in which I need a lot of buttons to appear and dissappear at certain times. Namely, I need about 80 to 100 items to become invisible every time one of about 20 buttons on my front panel is pressed. I'd prefer to find a way to do this without having to make 20 copies of the 80 to 100 property nodes that its already going to require to make the program. So is there a way I can use variables or something else to allow me to reuse the code that will make the items all non visible?
I'd still use property nodes, but look at the attached image. It uses property nodes to get a reference to the front panel, then a reference to all the controls and indicators. From there, you can get the label and find the controls you want to turn on or off. You would just need to create an array of the controls you are looking for.
Ed
Ed Dickens - Certified LabVIEW Architect Lockheed Martin Space Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Since LV 6.0, you can create a control reference for a particular control/indicator whereby that reference can be passed as an input to subVIs so that control/indicators properties in your main VI is accessible in a subVI. This saves a lot of property node re-creation! You may want to search the LV docs for control references for more info.