SympatheticHardwareControl.Controller.StopMonitoringLaserErrorSignal C# (CSharp) Method

StopMonitoringLaserErrorSignal() public method

public StopMonitoringLaserErrorSignal ( ) : void
return void
        public void StopMonitoringLaserErrorSignal()
        {
            monitorLE = false;
        }

Usage Example

 private void laserErrorMonitorCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     if (laserErrorMonitorCheckBox.Checked)
     {
         setLED(laserErrorLED, true);
         controller.StartMonitoringLaserErrorSignal();
     }
     if (!laserErrorMonitorCheckBox.Checked)
     {
         setLED(laserErrorLED, false);
         controller.StopMonitoringLaserErrorSignal();
     }
 }