LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check stacked/overlapped indicators on the front panel

 

How to check stacked/overlapped indicators on the front panel?

We can change the orders using Reorder functions (Move ForwardMove BackwardMove to Front, and Move to Back). I would like to see the order of stacked indicators to set similar order in other stacked indicators(especially when background of indicator is transparent).

 

Thank you

Adarsh

LabVIEW from 2006

CLA from 2014

0 Kudos
Message 1 of 4
(200 Views)

Well, obviously, you can see the Z Order by looking at the order on the front panel 😁. Agreed, not so obviously with transparency.

 

there are so many ways to take this question, but if the IDE doesn't give you what you want, you probably end up using VI Server.

 

This is very basic:

Z Order.png

 

You could visualize it as a tree (panes, clusters, tab pages), put it in a quick drop, make it interactive and so on...

 

Note that LV23 has options to change the Z Order while a VI is running. Apart from changing while running, it's also more intuitive compared to the scripting (selecting objects, move selection..). It's still in scripting state though, so not available through normal properties\methods.

Message 2 of 4
(188 Views)

On the rare occasions when I wanted to have a Pushbutton control do two different things (and "look different") depending on circumstance, I created two Controls, made them overlap on the Front Panel, and programmatically made the one I did not want to use "invisible" (by setting "Visible" to False).  To switch which Control responded, I just switched the Visibility.  No reason you couldn't do this with three or more controls, just make the "active" control's "visible" status to True, all the rest to False.

 

Bob Schor

0 Kudos
Message 3 of 4
(147 Views)

@AdarshaPakala wrote:

 

How to check stacked/overlapped indicators on the front panel?

We can change the orders using Reorder functions (Move ForwardMove BackwardMove to Front, and Move to Back). I would like to see the order of stacked indicators to set similar order in other stacked indicators(especially when background of indicator is transparent).

 

Thank you

Adarsh

LabVIEW from 2006

CLA from 2014


Hmmm. A CLA that doesn't know VI Annalyzer ships with a high priority test for overlapping objects on FP?   Just run VIA (like you tell all your colleagues to do before every code review 😉)

 

Now, if you REALLY NEED to observe the Z order...I believe Heap Peek  can assist.  Last time I played with it the objects in the Peek were in reverse Z order.  That might have changed if you can now set order while running.  It's probably a tool that hasn't seen a lot of software maintenance.   Let us know what you find!


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(142 Views)