Download LabWindows/CVI User Manual
Transcript
Chapter 7 Variables and Watch Windows Source window or the Code»View Variable Value command in the Function Panel window. An example of the Variables window appears in Figure 7-1. Figure 7-1. Variables Window The Variables window shows all currently defined variables in LabWindows/CVI. LabWindows/CVI updates variables in this window at each breakpoint. The vertical bars separate the window into three scrollable fields: name, value, and variable type. You can change the width of the fields by dragging the vertical bars with the mouse. The window is also divided into two horizontal sections: the Global subwindow and the function subwindow. The Global subwindow displays the following variables: • Project globals that include all global variables not declared as static • Interactive Execution window variables declared in the Interactive Execution window • Global variables declared as static The function subwindow displays function parameters and local variables from currently active functions. The variable list for each function appears in a different section. For any given function, the Variables window lists formal parameters first followed by local variables. Formal parameters appear in italics. LabWindows/CVI User Manual 7-2 www.ni.com