National Instruments 374318A-01 用户手册

下载
页码 109
Chapter 2
Measurement Studio Measurement Computing Edition .NET Class Libraries
2-22
ni.com
Numeric Edit Array Control
Use the Measurement Studio numeric edit array control, as shown in 
Figure 2-11, to control and visualize values of an array of 
double
 values. 
Figure 2-11.  Numeric Edit Array control
With the numeric edit array control and the classes that interface with the 
control you can perform the following operations:
Set values by passing an array of data.
Modify the number of controls displayed based on the length of the 
array of values you specify.
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 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.
Use the edit box to select text programmatically and to validate text 
values.
Tip
For more information about using the numeric edit array control, refer to the Using 
the Measurement Studio Windows Forms Control Array .NET Controls topic in the 
NI Measurement Studio Help.