Skip to content

Commit

Permalink
Fixed filter state readout for Keithley 2606B
Browse files Browse the repository at this point in the history
  • Loading branch information
jclederman committed Nov 12, 2024
1 parent 4d8fab9 commit 06f8e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightlab/equipment/lab_instruments/Keithley_2606B_SMU.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 06f8e61

Please sign in to comment.