aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorMichael Vorobiov <mvorobiov@wm.edu>2024-11-07 20:33:33 -0500
committerMichael Vorobiov <mvorobiov@wm.edu>2024-11-07 20:33:33 -0500
commit1d5cc949c1b765f21ff7589c84422e5b4ebb5b86 (patch)
tree6155a5ff58fe76968dbd7b9a7d43824b6dd21eee /qolab
parent85f240ef0597bc84b493fa6cce9ce3cb9fc23a04 (diff)
downloadqolab-1d5cc949c1b765f21ff7589c84422e5b4ebb5b86.tar.gz
qolab-1d5cc949c1b765f21ff7589c84422e5b4ebb5b86.zip
added idn method to psw25045 class
Diffstat (limited to 'qolab')
-rw-r--r--qolab/hardware/power_supply/psw25045.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qolab/hardware/power_supply/psw25045.py b/qolab/hardware/power_supply/psw25045.py
index bb2357f..4769bdd 100644
--- a/qolab/hardware/power_supply/psw25045.py
+++ b/qolab/hardware/power_supply/psw25045.py
@@ -36,6 +36,9 @@ class PSW25045(PowerSupplySCPI):
self.MAX_VOLTAGE = 250.0 # Volt
self.enable_output(False)
+ def idn(self):
+ return self.get_idn()
+
def get_idn(self):
"""
Query the identification of the instrument.