diff options
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py index 40ba39a..c950046 100644 --- a/qolab/hardware/scope/sds1104x.py +++ b/qolab/hardware/scope/sds1104x.py @@ -142,6 +142,10 @@ class SDS1104X(ScopeSCPI): prefix, numberString, unit = response2numStr(rstr, firstSeparator=' ', unit='V') return(float(numberString)) + def setChanVoltageOffset(self, chNum, val): + cstr = f'C{chNum}:OFST {val}' + self.write(cstr) + def getLED(self): """ Returns binary mask of available LEDs """ qstr = 'LED?' |