Chapter 2 Measurement Studio .NET Class LibrariesMeasurement Studio User Manual 2-48 ni.comSwitch and LED ControlsUse the Measurement Studio switch and LED controls as Boolean controlsin an ASP.NET Web application. You typically use a switch control toreceive and control Boolean input in an ASP.NET Web application. Youtypically use an LED control to indicate a Boolean value on an ASP.NETWeb application. The switch and LED controls are shown in Figure 2-19.Figure 2-19. Switch Web Forms Control in Vertical Toggle 3D Style andLED Web Forms Control in Square 3D StyleWith the switch and LED controls and the classes that interface with thecontrols, 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 configurethe rate at which the LED control blinks.Tip For more information about using the switch and LED controls, refer to the Using theMeasurement Studio Web Forms Switch and LED .NET Controls section in theNI Measurement Studio Help.