diff --git a/lightlab/equipment/lab_instruments/Keithley_2606B_SMU.py b/lightlab/equipment/lab_instruments/Keithley_2606B_SMU.py index 0a36538..b325a1e 100644 --- a/lightlab/equipment/lab_instruments/Keithley_2606B_SMU.py +++ b/lightlab/equipment/lab_instruments/Keithley_2606B_SMU.py @@ -393,7 +393,7 @@ def getFilterParams(self): type_str = self.query_print(f"{self.smu_full_string}.measure.filter.type") count_str = self.query_print(f"{self.smu_full_string}.measure.filter.count") - return True if int(enable_str) else False, filters[int(type_str)], int(count_str) + return True if int(float(enable_str)) else False, filters[int(float(type_str))], int(float(count_str)) def enableFilter(self): self.write(f"{self.smu_full_string}.measure.filter.enable = {self.smu_full_string}.FILTER_ON")