08-22-2023 08:07 AM
Hi all! I have a dropdown ring that has multiple options to select from. Each option has an array of LEDs designated to it. I would like to have all arrays disappear accept the one that is selected. I was trying to find a solution for days but I cannot figure it out. Any ideas if this is possible?
08-22-2023 08:10 AM - edited 08-22-2023 08:11 AM
Hi Guy,
use the visible property of those frontpanel items…
Or put those arrays on the tabs of a tab container (each array on one tab) and simply switch the tab…
Or use just one array indicator to display the "options from your ring control"…
08-22-2023 08:12 AM
Its quite possible with Value Change event and Property node of LED's.
Share the modules you have tried so far, so that you will get the better understanding of the implementation than just getting the solution working.
08-22-2023 08:17 AM
Thank you for your response. I tried wiring visible properties but I could not figure out how to do it properly. Would you be able to show me?
08-22-2023 08:19 AM
This is what I have. To the left of that are a bunch of switches. I tried to put a visible for the 32-bit and the array at the bottom but I could never wire them properly. I am very new to labview so I am trying to figure out everything
08-22-2023 08:50 AM - edited 08-22-2023 08:50 AM
08-22-2023 09:14 AM
I have tried this so far:
08-22-2023 10:26 AM
Hello Guy,
Its difficult to debug on the images, share the actual code and make sure you have your Controls and respective indicators is placed in the front panel.
08-22-2023 12:08 PM - edited 08-22-2023 12:08 PM
Hi Guy,
@FlightGuy wrote:
I have tried this so far:
It's the same as in your other thread: THINK DATAFLOW and place common tasks out of each case AFTER the case structure!
You want to show (make visible) am indicator for one case and hide (make invisible) for other cases, so place the property node(s) AFTER the case structure…
I repeat: there are most probably better ways to handle all this then to show/hide massive amounts of frontpanel elements!
08-22-2023 12:54 PM
@GerdW wrote:I repeat: there are most probably better ways to handle all this then to show/hide massive amounts of frontpanel elements!
I completely agree with GerdW. I remember my first LabVIEW program -- I was so excited by the ability to "design" a nifty Front Panel to play with that I completely forgot that the purpose of LabVIEW was to "do things" -- it is a Programming Language, not an artist's tablet.
Learn how to do basic tasks, like acquire data, process data, display data (Charts and Graphs), control the flow of the program (loops, Case, Event Structure), and do it all with enough "style" that you can glance at the (one-screen-size) Block Diagram and largely understand what is being done (sub-VIs, Icon design, etc.). Once you can program in LabVIEW, you can worry about Front Panel layout/design.
Bob Schor