Chapter 2 Measurement Studio .NET Class Libraries
Measurement Studio User Manual 2-48 ni.com
Switch and LED Controls
Use the Measurement Studio switch and LED controls as Boolean controls
in an ASP.NET Web application. You typically use a switch control to
receive and control Boolean input in an ASP.NET Web application. You
typically use an LED control to indicate a Boolean value on an ASP.NET
Web application. The switch and LED controls are shown in Figure 2-19.
Figure 2-19. Switch Web Forms Control in Vertical Toggle 3D Style and
LED Web Forms Control in Square 3D Style
With the switch and LED controls and the classes that interface with the
controls, you can perform the following operations:
Receive notification before or after the state of the control changes.
Specify the image format of the control as BMP, GIF, JPEG, or PNG.
Configure the appearance of the control.
Configure the LED control to blink while it is on or off and configure
the rate at which the LED control blinks.
Tip For more information about using the switch and LED controls, refer to the Using the
Measurement Studio Web Forms Switch and LED .NET Controls section in the
NIMeasurement Studio Help.