Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries
© National Instruments Corporation 2-21 Measurement Studio for MCC User Manual
Switch and LED Array ControlsUse the Measurement Studio switch and LED array controls as an array of
Boolean controls on a Windows Forms user interface. You typically use a
switch array control, as shown in Figure2-10, to contro l ports of a digital
line or values of an array. You typically use an LED array control, also
shown in Figure2-10, to visualize ports of a digital li ne or values of an
array.
Figure 2-10. Windows Forms Switch and LED Array Controls
With the switch and LED array controls and the classes that interface with
the controls, 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
specified values.
• Receive notification before or after the state of the control changes.
• Configure how the control behaves when you click it with the mouse
or press the spacebar when the control has focus.
• Configure the appearance of the control.
• 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.
Tip For more information about using the switch and LED array controls, refer to the
Using the Measurement Studio Windows Forms Control Array .NET Controls topic in the
NI Measurement Studio Help.