From 05f7d486af860a4be294f64cbf54576c404fbb33 Mon Sep 17 00:00:00 2001 From: CPD Date: Wed, 12 Mar 2025 16:44:20 +0100 Subject: [PATCH] Revert "Remove newline" This reverts commit c4b53c4ff85dfb0b6d27ebf18398a23579f8a709. --- 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 66189d9..83222fc 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?').strip("\n") + self.led_name = self.instr.query('SYSTem:TERMinal2:HTYPe?') # constant brightness self.instr.write('SOURCE1:MODE CB') # turn off