aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/lockin/srs_sr865a.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-10 08:53:30 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-10 08:53:30 -0500
commit8311963dc4c74c1c9b2780beb616b9691668779f (patch)
treeb62d92692b748a74eba83cadd6eb2125eea09296 /qolab/hardware/lockin/srs_sr865a.py
parent16b9771d4f4308bd8e68d56e071e8b8134a1cc69 (diff)
downloadpyExpControl-8311963dc4c74c1c9b2780beb616b9691668779f.tar.gz
pyExpControl-8311963dc4c74c1c9b2780beb616b9691668779f.zip
added phase for reference
Diffstat (limited to 'qolab/hardware/lockin/srs_sr865a.py')
-rw-r--r--qolab/hardware/lockin/srs_sr865a.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qolab/hardware/lockin/srs_sr865a.py b/qolab/hardware/lockin/srs_sr865a.py
index 7fbb575..85a77e7 100644
--- a/qolab/hardware/lockin/srs_sr865a.py
+++ b/qolab/hardware/lockin/srs_sr865a.py
@@ -78,6 +78,11 @@ class SRS_SR865A(LockinSCPI):
def setTimeBaseMode(self, val):
rstr = self.write(f'TBMODE {val}')
+ def getRefPhase(self):
+ return(float(self.query(f'PHAS?')))
+
+ def setRefPhase(self, val):
+ rstr = self.write(f'PHAS {val}')
if __name__ == '__main__':
import pyvisa