diff options
Diffstat (limited to 'qolab/hardware/lockin/srs_sr865a.py')
-rw-r--r-- | qolab/hardware/lockin/srs_sr865a.py | 5 |
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 |