Download LabWindows/CVI User Manual

Transcript
Chapter 6
Using Function Panels
Specifying a Slide Control Parameter
With a slide control you select one item from a list of options. The position of the slider,
the cross-bar on the slide control, determines the value LabWindows/CVI places in the
function call.
To move the slider with the keyboard, press the up or down arrow key. As you move
the slider, the corresponding argument in the function call in the generated code box changes.
The <Home> and <End> keys move you to the top and bottom of the slide control,
respectively. To move the slider with the mouse, click on the slider and drag it up and down
or just click on the position you want.
If you want to type a variable name into a slide control, select Options»Toggle Control
Style.
Specifying a Ring Control Parameter
The ring control represents a range of values, much like the slide control. A ring control
displays only a single item from a list instead of displaying the whole list at once as the slide
control does. The item you select determines the value LabWindows/CVI places in the
function call.
To select an item from a ring control with the keyboard, use the up and down arrow keys to
scroll through the list. Press the space bar to display the entire list of items for the selected
ring control. To select an item from a ring control with the mouse, click on the up or down
arrow of the ring control until the value you want appears or click on the display field of the
control and select the value you want directly from the list that appears.
If you want to type a variable name into a ring control, select Options»Toggle Control Style.
Specifying a Binary Control Parameter
The binary control is a limited version of the slide control that has only two positions.
To select the position of the binary control, press the up or down arrow key or the <Home> or
<End> key. To change the binary control with the mouse, click on the position you want.
If you want to type a variable name into a binary control, select Options»Toggle Control
Style.
LabWindows/CVI User Manual
6-6
www.ni.com