Closed HuangJunye closed 5 years ago
Additional errors are shown on Keithley2400 device:
def switch_output(self):
self.output = not self.output
self.visa.write(f":OUTP:STAT {self.output:d}")
pass
The problem was due to inappropriate type in f string in switch_output() under Keithley class. self.output is bool type. If not type is specified in f string, it will be converated to "True" or "False" string, instead of "1" and "0" as intended. The bug is fixed by specifying {self.output:d} integer type (commit c6940099e846ccf363c55b56c724ac7378c53248)
The following errors are shown when running do_device_sweep