10-17-2024 05:39 AM
How to check stacked/overlapped indicators on the front panel?
We can change the orders using Reorder functions (Move Forward, Move Backward, Move 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
10-17-2024 05:51 AM - edited 10-17-2024 05:56 AM
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:
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.
10-17-2024 07:38 AM
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
10-17-2024 07:45 AM - edited 10-17-2024 07:54 AM
@AdarshaPakala wrote:
How to check stacked/overlapped indicators on the front panel?
We can change the orders using Reorder functions (Move Forward, Move Backward, Move 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!