From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Easy way to find inputs into a node/function/etc.

Solved!
Go to solution

Hi all,

 

I'm really new to LabVIEW (I have to use it for a project I'm working on), and I was wondering if there is any easy way to select/determine the source of what goes into a node or function without having to trace the wire all the way back manually. The block diagram I'm working with is pretty messy so it's tough to see exactly what inputs feed into each node/function block. I'd like to be able to look at the inputs of a given node/function block and easily see "variable x goes into this" or something like that.

 

This image shows an example of what I mean. For the subtraction function with the blue circle around it, how can I easily identify the two inputs into that function without manually tracing the wire?

 

Capture.PNG

 

0 Kudos
Message 1 of 12
(2,441 Views)

You can try the Find Wire Source right-click plugin:

 

https://forums.ni.com/t5/LabVIEW-Shortcut-Menu-Plug-Ins/Find-Wire-Source-llb/ta-p/3521499

 

Also, as you learn LabVIEW, you may want to find some materials on writing more modular, scalable code so you don't end up with diagrams that are so large they are difficult to understand without needing tools like this.

0 Kudos
Message 2 of 12
(2,435 Views)

It won't cross structure boundaries, but you can double click on wires to highlight them.

That might help, although as Darren pointed out the solution ideally is to not write code that becomes difficult to read 🙂


GCentral
0 Kudos
Message 3 of 12
(2,430 Views)

@Darren, I didn't actually write this, I just inherited it. I'm actually supposed to port this over to Python to make it more automated and flexible. But I'll try the plugin and hope that helps! Thanks!

0 Kudos
Message 4 of 12
(2,425 Views)
Solution
Accepted by topic author jsmith2020

@cbutcher wrote:

It won't cross structure boundaries, but you can double click on wires to highlight them.

That might help, although as Darren pointed out the solution ideally is to not write code that becomes difficult to read 🙂


You can also triple click which gets the entire wire.

 

Single click, just that segment, single straight line..

Double click, gets multiple segments, so it includes bends, but only up to junctions.

Triple click, gets multiple segments and branches, so it includes junctions.

0 Kudos
Message 5 of 12
(2,414 Views)

@RavensFan, this actually seems to be the best bet so far! I've had trouble installing the plugin mentioned above, so triple clicking seems to be the easiest. It's not perfect as it still doesn't cross boundaries, but it's easy enough to see where the wires connect at the boundaries to move between them.

 

Thanks!

0 Kudos
Message 6 of 12
(2,409 Views)

@RavensFan wrote:

You can also triple click which gets the entire wire.


You can? Is that related to some preference or option?

I just tried and couldn't get anything beyond double clicking (and based on the OP's response to you post, it sounds like (s)he can't either).


GCentral
0 Kudos
Message 7 of 12
(2,403 Views)

@jsmith2020 wrote:

I've had trouble installing the plugin mentioned above


If you have time to share, I'd like to know what specifically you had trouble with, so we can improve the instructions for installing plug-ins if necessary.

0 Kudos
Message 8 of 12
(2,400 Views)

@cbutcher wrote:

@RavensFan wrote:

You can also triple click which gets the entire wire.


You can? Is that related to some preference or option?


No preference or option. Note that triple-click will select an entire wire including branches, but will not go past terminal boundaries (including tunnels).

Message 9 of 12
(2,398 Views)

@Darren wrote:

@jsmith2020 wrote:

I've had trouble installing the plugin mentioned above


If you have time to share, I'd like to know what specifically you had trouble with, so we can improve the instructions for installing plug-ins if necessary.


I didn't have a "PopupsMenu" folder in my "LabVIEW Data" directory so I tried to create one and then another subfolder (edit menu or something like that), and place the plugin in that directory, but the plugin didn't show up in the pop-up menu when I right-clicked the wire.

0 Kudos
Message 10 of 12
(2,393 Views)