LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Paradoxymoron

Visualize the SubVI code over hovering the subVI node in the caller diagram

Status: New

Imagine the following:

 

When you hover (take your mouse) over the SubVI node in the callers diagram, the subVI code is brought up as an image in a small rectangle size. And that disappears when the mouse is taken away from the subVI node.

 

Demonstration (snapshot):

 

When mouse is hovered over 'SubVI Two.vi',

 

Caller Code.png

 

How does it help ?

 

1. Understanding a prototype code, where there is less emphasis on creating VI Icon and naming SubVI properly, quick glances of the subVI code can speed up the understanding/edit time.

2. Even otherwise, shipping code, could be sometime hard to understand and require often switches to subVIs block diagram.

3. Huge subVIs code, definitely, the image may not make much sense (as it is contained in a small rectangle), but could be useful to get some basic idea or to clear ambiguities between subVIs expected behavior.

4. This feature must be an opt-in. Not every time, this behavior would be desirable, hence this must be Tools->Options opt-in.

5. Does not open up the block diagram, which means that you have lesser VIs to deal with it in taskbar.

6. Drawback: This could hurt the edit time performance a little but, as LV would have to do some extra work to bring up the image..

16 Comments
jcarmody
Trusted Enthusiast
  1. Ctrl+double-click the Sub VI opens the block diagram
  2. discover
  3. Ctrl+e, Ctrl+w to close what you've opened

 

This is just a band-aid until this idea is implemented.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Intaris
Proven Zealot

You know how many times I've hit Ctrl-E and LV decided it would do some window hopping at that exact moment and my project window then decides to intercept the Ctrl-E keypress.

 

Yeah, I love waiting 20 seconds for the files view of my project to display so that I can change it back.  If the delay was longer, at least I could get some coffee in the mean time.

muks
Proven Zealot

  One thing I hate with LabVIEW is the multitude of open windows and the painful navigation among them. Having to open TWO windows to be able to see the BD of a sub-VI is something I do not like


 I totally agree!!!

Petru.T
NI Employee (retired)

Instant Kudos, great (and non-obvious) idea! I would definitely use this feature!

SteenSchmidt
Trusted Enthusiast

Intaris: I'd much rather see an idea like this implemented to save on the number of open windows, than having a preview window for subVI content. Such a preview would be instead of the current context help for a VI. And choosing between VI Description and a BD preview I'd choose the current VI Description any day. We can't have both unless we're talking about yet another window open.

 

Cheers,

Steen

CLA, CTA, CLED & LabVIEW Champion
Intaris
Proven Zealot

Steen,

 

we're not being forced to choose one OR the other.  I like both ideas and don't see why both can't live perfectly well side-by-side.