LabWindows/CVI 2013 offers a richer programming experience that provides users with better control, navigation, and knowledge of their source files. Programmers can view and jump to functions in a source file by using a pull-down list in the toolbar of the Source window.
In addition, source code browse information can be generated while editing a file so that developers can immediately navigate code while programming without the need to compile first. This option no longer applies per-configuration-per-workspace, but is now global to LabWindows/CVI. Source code browse information is available in release and debug configurations.
Source code navigation is made easier through the function pull-down list in the LabWindows/CVI 2013 toolbar.
In LabWindows/CVI 2013, the following icons are displayed to represent a listed symbol in the Show Completions list so that you can quickly identify the type of the element you are selecting.
Select Edit»Show Completions or press <Ctrl–Space> to view a list of potential matches for the function or variable you are typing. You will see a drop-down list of symbol names, and associated graphical icons, that begin with the letters you typed. The drop-down list also contains all functions in any functions panels that you have loaded. Show Completions also lists members of a syntactically correct struct, enum members, and macros. If you enable the Show function prototypes and struct/union fields while typing option in the Editor Preferences dialog box, LabWindows/CVI shows struct members when you type . or –> after a variable name.
In LabWindows/CVI 2013, source code browse information can be generated while editing a file so that developers can immediately navigate code while programming without the need to compile first. By default, the source code browse information is now generated as soon as you load a project. Subsequent generation occurs on edit, on compile, or on save, depending on which of the following options you select. Users can now define at what point LabWindows/CVI regenerates source code browse information by changing the Generate browse information policy in Options»Environment.
LabWindows/CVI uses source code browse information to generate help from source code and to populate the Show Completions list, the Show Prototype tooltip, and the information in the Source Code Browser among other things. Generating source code browse information for large projects can cause LabWindows/CVI run out of memory. When this happens, LabWindows/CVI detects that generating source code browse information caused a problem, displays a warning dialog box, and disables the generation option. Because browse information is no longer generated, you cannot complete tasks that rely on source code browse information.
If you encounter this issue, complete the following steps:
Did you find this tip useful? Rate this document or add a comment below.
If you give this a try, share your experience! Add a comment below.
Good article for the additional feature.