LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

navigating large vis

Solved!
Go to solution

Hi,

 

Is there a way to easily navigate around large vi's? I have a huge case structure containing many layers and I'm concurrently creating subvi's in a few seperate cases. Is there something like the MS Word "document map", or a way of tagging areas of code to skip to?

 

 

Thanks

Graham

0 Kudos
Message 1 of 6
(3,005 Views)

There is a navigation window. I think the shortcut is Ctrl-Shift-N.

 

Felix

0 Kudos
Message 2 of 6
(2,991 Views)

I was going to suggest the navigation window but it doesn't help to find bits of code in a case structure.

 

One other approach that I have seen is to create empty sub vis which can be dropped into multiple places - e.g. a 'more work required here.vi' or 'calculation section.vi'. You can then do a search for those vis and the results allow you to skip quickly to all of the places that those vis have been placed.

 

Personally I'm not a fan of that method as it can make the block diagram cluttered and a bit confusing - however, it might help with the navigation if it isn't possible to structure the code into a more readable format.

 

Ian

0 Kudos
Message 3 of 6
(2,985 Views)

Thanks Felix, I do use the navigation window, but as Ian says, it doesn't help too much with case structures.

 

I rarely use the search facility because it is very slow on my PC, but I guess I could place local variables outside the case structure and "find references".

0 Kudos
Message 4 of 6
(2,974 Views)
Solution
Accepted by topic author grahamwebb

Hi Graham,

 

By adding text labelling to your block diagram (double left mouse click), you will then be able to use the find function (Ctrl-F) to navigate straight to it. In the case of multiple uses, then Ctrl-G and Ctrl-Shift-G allow you to toggle between instances in the search results screen (Ctrl-Shift-F).

 

All this information can be found at http://www.ni.com/pdf/manuals/373353d.pdf , in this case especially, the navigation section.

 

I hope this is of use!

Liam A.
National Instruments
Applications Engineer
Message 5 of 6
(2,932 Views)

Thanks Liam, that works well.

0 Kudos
Message 6 of 6
(2,920 Views)