From 2990b81b757a91b41fdc421de5904885fad6bbe1 Mon Sep 17 00:00:00 2001 From: Benedict Diederich Date: Wed, 5 Jul 2023 15:12:48 +0200 Subject: [PATCH] ensure MCT can have larger LED values than 255 --- imswitch/imcontrol/controller/controllers/MCTController.py | 2 -- 1 file changed, 2 deletions(-) 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)