Operating Numeric Slide Controls
When you set a numeric slide control to any mode other than indicator mode, you can change its value from the keyboard or with the mouse.
![]() |
Note When you enter a number in scientific notation into controls of type int64 or unsigned int64, LabWindows/CVI converts the number to a double and then to a 64-bit integer. This conversion may cause a loss of precision after 15 decimal digits. |
You can operate a numeric slide control using the digital display or using the scale. If you operate the digital display, the same rules apply as if you were operating a numeric control.
You can operate the scale from the keyboard by pressing the up or down arrow keys to increase or decrease the value displayed in the control. Also, you can use the mouse to change the value of the control in the following ways:
- Click and drag the needle for circular controls like knobs.
- Click and drag the slider for vertical or horizontal slide controls.
- Click the up and down arrows at the ends of the scale.
- Click scale labels to set the control to the value of the label.
If the control mode of a numeric slide control is hot or validate, a commit event is generated when you press the up or down arrow keys, when you drag the needle or slider and then release the mouse button, or when you type a new value in the digital display and then press the <Enter> or <Tab> keys or click another object.