National Instruments 374318A-01 Network Card User Manual


 
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries
© National Instruments Corporation 2-17 Measurement Studio for MCC User Manual
With the slide, tank, and thermometer controls and the classes that interface
with them, you can perform the following operations:
Fill to the minimum or maximum value of the scale.
Position the scale horizontally with left, right, or both and position the
scale vertically with top, bottom, or both.
Tip For more information about using the Windows Forms knob, gauge, meter, slide,
tank, or thermometer controls, refer to the Knob, Gauge, Meter, Slide, Tank, or
Thermometer Class sections in the NI Measurement Studio Help.
Numeric Edit Control
Use the Measurement Studio numeric edit control, as shown in Figure 2-6,
to display numeric values and to provide a way by which end users can edit
numeric values. Typically, you use a numeric edit control to input or display
double numerical data instead of using a Windows Forms TextBox or
NumericUpDown control.
Figure 2-6. Windows Forms Numeric Edit Control
With the numeric edit control and the classes that interface with the control
you can perform the following operations:
Use up/down buttons for easy incrementing and decrementing.
Perform range checking.
Set the minimum range value to negative infinity and the maximum
range value to positive infinity.
Create custom formats or use built-in numeric formats including
generic, engineering, and simple double.
Connect to a Measurement Studio numeric control so that if you
change the value of one control, it changes the value of the other
control.
Set the coercion mode property to discrete or continuous values. This
property configures the control to allow entry or display of either a
discrete set of values or any value.
Set the interaction mode to keyboard and mouse, keyboard only,
mouse only, or none.