LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analysing a rats-nest

Solved!
Go to solution

@JÞB wrote:

As sad as this may actually sound, None of the LabVIEW Core training material actually covers the VI Hierarchy view.   


I've always found the VI Hierarchy quite useless.

 

I agree, for small messes it can be a lifesaver, but it really doesn't scale up. For large projects, it doesn't give any overview at all:

 

Not with 1X scaling (look at that scrollbar):

wiebeCARYA_1-1654764158106.png

 

Nor fit to window (that doesn't actually fit to window at all):

wiebeCARYA_2-1654764202777.png

 

In my current project, the VI hierarchy corrupts the window when I switch to fit to window, and I need to restart LabVIEW to fix it.

 

 

There's also the LabVIEW Class Hierarchy window (Under the View menu).

 

Same problem...

 

Here's my class hierarchy, fit to window:

wiebeCARYA_0-1654763665257.png

 

I guess there will be some relief if I grouped things in libraries. But I really don't want to. Tools should serve me, not the other way around.

0 Kudos
Message 11 of 13
(578 Views)
Solution
Accepted by topic author skol45uk

Getting the hang of of Ctrl-F and VI-Hierarchy. And for small scope views it fine. And a lot better than nothing.

Thanks.

0 Kudos
Message 12 of 13
(551 Views)

You are using it poorly

Lets look at a Cont Meas and Logging lvproj (from Template)

 

Capturea.PNG

What a mess! Hold it WHY are we always showing full vi paths? They show up on hover over so lets turn that off by deselecting View>> Always show labels

Captureb.PNG

Better but Why are we showing items in VI lib? we can toggle that with the TOOL that looks like a folder with "VI" in it

rCapturec.PNG

We can toggle Globals and controls too!

Captured.PNG

Now we have something reasonable.  But do I really need all That and what else can I find out BESIDES inspecting VI Documentation and IOs by simple hovering with the Help window open?

Capture6.PNG

I can Group by library and expand or collapse any library I Want 

Capture17.PNG

I can even ZOOM into the area of code I am interested in,  Move things around, expand or collapse any subvi hierarchy, Highlight connections, Find objects, Open FPs with a double click (Open the BD with Ctrl+Double click EVEN on Globals!) Open items that need Documentation or Icons without depending on some Code Review tool you don't have.  Collapse or expand project targets, or even show what vis are in each context you have open e.g your project and some Untitled code you opened in the main app instance from these forums.

 

So now you love the VI Hierarchy view! don't be afraid to brag about nailing it to your friends!


"Should be" isn't "Is" -Jay
Message 13 of 13
(507 Views)