LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front Panel items to disappear when not selected

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? 

0 Kudos
Message 1 of 14
(1,997 Views)

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"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 14
(1,995 Views)

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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 3 of 14
(1,991 Views)

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? 

0 Kudos
Message 4 of 14
(1,988 Views)

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

FlightGuy_0-1692710282996.png

 

0 Kudos
Message 5 of 14
(1,986 Views)

Hi Guy,

 

again you don't show what you have tried so far…

 

Suggestion:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 14
(1,966 Views)

I have tried this so far: 

FlightGuy_0-1692713669177.png

 

0 Kudos
Message 7 of 14
(1,937 Views)

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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 8 of 14
(1,908 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 14
(1,896 Views)

@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

Message 10 of 14
(1,882 Views)