LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI IDE: Is it possible to see list of functions for faster navigation?

Colleagues,

 

Very simple question about CVI IDE.

 

Is it possible to see whole list of functions for fast and convenient navigation, like in Micro$oft Visual Studio:

 

FuncView.png

 

When I have C code with more than 20-30 functions and 2000+ lines - its a very inconvenient to scroll up and down every time...

 

I guess this feature should present in CVI, or I missing something? 

How you working with relative large projects in CVI? 

 

Thank you in advance,

 

Andrey.

 

0 Kudos
Message 1 of 13
(5,178 Views)

CVI offers the Source Code Browser, which shows informations about files, functions, variables, data types and macros in your code. The code browser can be accessed in several ways: the easiest is to position over an element in the code and press Ctrl+F1: the lower part of the workbench will host the Source Code Browser area (though you can lately release this window to position it wherever you find it useful). There are several other ways to access these informations: I suggest you to look in the online help, topic Using LabWindows/CVI >> Writing Source Code >> Browsing Source Code

 

 

CVI has several other ways of navigating in your application:

  • Select a panel, menu or control callback and press Ctrl+Shift+U to go to the object in the UIR editor
  • Right-click on an element in the UIR editor to go to its callback (if any)
  • Select a function call in the code editor and press Ctrl+I to go to the function source
  • Select a filename and press Ctrl+U to open it in an editor window
  • ... and others I don't remember now!  Smiley Wink
Message Edited by Roberto Bozzolo on 05-07-2010 10:12 AM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 13
(5,174 Views)

Thanks, Roberto,

 

The only problem is that Source Code Browser will work in Debug Mode only. Browse information is not available in the Release configuration. So, Ctrl+F1 doesn't work for me. I would like to have list of functions in _release_ configuration. The only way which more or less work - is to have list of function in Find Results.

I read Help topics twice, and all of them are referred to Source Code Browser, which cannot be used in my configuration.

Very inconvenient.

 

Andrey.

 

0 Kudos
Message 3 of 13
(5,168 Views)

In additional, even in Debug configuration, the Source Code Browser is not very good, because newly added functions will not appearead in Code Browser immeadiately like in MSVC. Well, probably this question is just "Feature Request" for NI...

 

Andrey.

 

0 Kudos
Message 4 of 13
(5,165 Views)
Another 'workaround' is using keyboard shortcuts for 'Collapse All' and 'Expand All' to toggle between the two views.
Message Edited by CVI-User on 05-07-2010 11:37 AM
-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 5 of 13
(5,156 Views)

CVI-User wrote:
Another 'workaround' is using keyboard shortcuts for 'Collapse All' and 'Expand All' to toggle between the two views.
Message Edited by CVI-User on 05-07-2010 11:37 AM

 

Good trick, thank you.

 

But also not ideal, because "Expand Region and SubRegions" menu item is missing. The only available choises are "Expand All" and "Expand region". So, if I have collapsed all, then wants to expand single function - there is no way other than expand all collapsed regions within the function manually.

 

Anyway better than nothing...

 

In some cases CVI IDE much better than MSVC (and much easier), but in some cases UI is weird...

 

Andrey.

 

0 Kudos
Message 6 of 13
(5,145 Views)

This would be a great feature!  NI are you listening?  You seem to be pretty deaf on constructive feedback from customers.

0 Kudos
Message 7 of 13
(3,590 Views)

All I want to do is find out where a certain method is called throughout a large Labwindows project.  Why the hell is this so hard.

0 Kudos
Message 8 of 13
(3,585 Views)

Right click on the function name and choose "Browse Identifier". That should allow you to see where it is called in the project.

0 Kudos
Message 9 of 13
(3,574 Views)

Doesn't work in release configuration Einstein

0 Kudos
Message 10 of 13
(3,539 Views)