From c4b53c4ff85dfb0b6d27ebf18398a23579f8a709 Mon Sep 17 00:00:00 2001 From: CPD Date: Mon, 10 Mar 2025 14:06:07 +0100 Subject: [PATCH] Remove newline --- cpdctrl/led_control_device/impl/thorlabs_dc2200.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpdctrl/led_control_device/impl/thorlabs_dc2200.py b/cpdctrl/led_control_device/impl/thorlabs_dc2200.py index 83222fc..66189d9 100644 --- a/cpdctrl/led_control_device/impl/thorlabs_dc2200.py +++ b/cpdctrl/led_control_device/impl/thorlabs_dc2200.py @@ -21,7 +21,7 @@ class DC2200(LedControlDevice): presence = self.instr.query('OUTPut:TERMinal2:TEST:STATus?') # Led name, format: # ",, < led_head_serial_no_string >, < fw_version_major_num >, < fw_version_minor_num >, < fw_version_subminor_num > " - self.led_name = self.instr.query('SYSTem:TERMinal2:HTYPe?') + self.led_name = self.instr.query('SYSTem:TERMinal2:HTYPe?').strip("\n") # constant brightness self.instr.write('SOURCE1:MODE CB') # turn off