Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lakeshore/ssm_source_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ def set_identify_state(self, state):

def get_dark_mode_state(self):
"""Returns the dark mode state for the given pod."""
response = self.device.query(f'SOURce{self.module_number}:DMODe?', cherk_errors=False)
response = self.device.query(f'SOURce{self.module_number}:DMODe?', check_errors=False)
return response

def set_dark_mode_state(self, state):
Expand All @@ -1014,7 +1014,7 @@ def set_dark_mode_state(self, state):

def get_voltage_output_limit_high(self):
"""Returns the present voltage high output limit."""
response = float(self.device.query(f'SOURce{self.module_number}:VOLTage:LIMit:HIGH?', cherk_errors=False))
response = float(self.device.query(f'SOURce{self.module_number}:VOLTage:LIMit:HIGH?', check_errors=False))
return response

def set_voltage_output_limit_high(self, limit):
Expand All @@ -1033,7 +1033,7 @@ def set_voltage_output_limit_high(self, limit):

def get_voltage_output_limit_low(self):
"""Returns the present voltage low output limit."""
response = float(self.device.query(f'SOURce{self.module_number}:VOLTage:LIMit:LOW?', cherk_errors=False))
response = float(self.device.query(f'SOURce{self.module_number}:VOLTage:LIMit:LOW?', check_errors=False))
return response

def set_voltage_output_limit_low(self, limit):
Expand All @@ -1052,7 +1052,7 @@ def set_voltage_output_limit_low(self, limit):

def get_current_output_limit_high(self):
"""Returns the present current high output limit."""
response = float(self.device.query(f'SOURce{self.module_number}:CURRent:LIMit:HIGH?', cherk_errors=False))
response = float(self.device.query(f'SOURce{self.module_number}:CURRent:LIMit:HIGH?', check_errors=False))
return response

def set_current_output_limit_high(self, limit):
Expand All @@ -1071,7 +1071,7 @@ def set_current_output_limit_high(self, limit):

def get_current_output_limit_low(self):
"""Returns the present current low output limit."""
response = float(self.device.query(f'SOURce{self.module_number}:CURRent:LIMit:LOW?', cherk_errors=False))
response = float(self.device.query(f'SOURce{self.module_number}:CURRent:LIMit:LOW?', check_errors=False))
return response

def set_disable_on_compliance(self, disable_on_compliance):
Expand Down