National Instruments none 用户手册

下载
页码 179
Chapter 2
Measurement Studio .NET Class Libraries
2-34
ni.com
Make the control background transparent.
Configure the LED controls to blink while they are on or off and 
configure the rate at which the LED controls blink.
Configure the layout of the control to be horizontal or vertical.
Bind the value of the control to a data source.
Mark an array of Boolean controls so that only one can be true at a 
time.
Tip
For more information about using the switch and LED array controls, refer to the 
Using the Measurement Studio Control Array .NET Controls topic in the NI Measurement 
Studio Help
.
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. 
With the numeric edit array control and the classes that interface with the 
control you can perform the following operations:
Figure 2-11.  Numeric Edit Array control
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 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.
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.