National Instruments Window Window User Manual


 
LabWindows/CVI Release Notes for Windows 14
©
National Instruments Corporation
box, you can add or delete attributes, modify their properties, and enter help text for them.
When you apply the changes, the command modifies the source, include, and function panel
files for the instrument driver.
If you use this command when the text cursor is over the defined constant name or callback
function name for one for the attributes, the dialog box appears with that attribute selected in
the list box.
Refer to the LabWindows/CVI Instrument Driver Developers Guide for more information on
IVI drivers.
Edit Function Tree
Use the Edit Function Tree command to display the Function Tree window for the function
panel (
.fp) file associated with the file in the Source window. The function panel file must
have the same path and base filename as the file in the Source window.
Edit Function Panel
Use the Edit Function Panel command to display the Function Panel Editor window for a
function defined in an instrument driver source file. You can use this command only if the file
in the Source window has the same path and base filename as an instrument driver function
panel (
.fp) file. The text cursor must be over the name of a function that has a function panel
in the
.fp file.
Generate Source for Instrument Driver Functions
LabWindows/CVI 5.0 includes two new menu items for generating source for instrument
driver functions: Generate Source for Function Panel in the Function Panel Editor window
and Generate New Source for Function Tree in the Function Tree Editor window.
Go To Definition
Use the Go To Definition command to display the function in the source (.c) file associated
with the specified function in the Function Panel Editor window. The function panel file must
have the same path and base filename as the file in the Source window.
Go To Declaration
Use the Go To Declaration command to display the function prototype in the header (.h) file
associated with the specified function in the Function Panel Editor window. The function
panel file must have the same path and base filename as the file in the Source window.
Enable Auto Replace
Use the Enable Auto Replace command to enable automatic updating of all definitions and
declarations for function names when LabWindows/CVI updates the instrument prefix or the
function name in the Function Tree Editor window or Function Panel Editor window.