diff --git a/imswitch/imcontrol/controller/controllers/MCTController.py b/imswitch/imcontrol/controller/controllers/MCTController.py index 6f5c8c077..6c01a7893 100644 --- a/imswitch/imcontrol/controller/controllers/MCTController.py +++ b/imswitch/imcontrol/controller/controllers/MCTController.py @@ -493,8 +493,6 @@ def acquireScan(self, timestamp=0): filename=f'{self.MCTFilename}_LED_i_{imageIndex}_Z_{iZ}_X_{xyScanStepsAbsolute[ipos][0]}_Y_{xyScanStepsAbsolute[ipos][1]}', extension=fileExtension) try: - if self.LEDValue > 255: self.LEDValue=255 - if self.LEDValue < 0: self.LEDValue=0 if len(self.leds)>0: self.leds[0].setValue(self.LEDValue) self.leds[0].setEnabled(True)