Chapter 2
Measurement Studio .NET Class Libraries
Measurement Studio User Manual
2-30
ni.com
With the numeric edit control and the classes that interface with the control
you can perform the following operations:
•
Use up and 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. You can use these numeric
formats with other Measurement Studio user interface controls, such
as the waveform graph and numeric pointer controls.
•
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.
Tip
For more information about using the Windows Forms numeric edit control, refer to
the
NumericEdit Class
section in the
NI Measurement Studio Help
.
Switch and LED Controls
Use the Measurement Studio switch and LED controls as Boolean controls
on a Windows Forms user interface. You typically use a switch control, as
shown in Figure 2-7, to receive and control Boolean input on an application
user interface.
Figure 2-7.
Switch Windows Forms Control in Vertical Toggle 3D Style