diff --git a/docs/release-notes.rst b/docs/release-notes.rst index f67c605..b6fc892 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -25,6 +25,7 @@ Improvements - Created a new FixateError base class for all exceptions raised by fixate to use. It inherits from Exception instead of BaseExcepetion to improve error handling. - DSO Driver function 'waveform_values' now returns a single channels x and y data as two separate lists, without re-acquiring the signal. This function should now be called after performing signal acquisition. +- Invert channel funciton implemented in the DSO driver. ************* Version 0.6.4 diff --git a/src/fixate/drivers/dso/agilent_mso_x.py b/src/fixate/drivers/dso/agilent_mso_x.py index 7de7d04..5472207 100644 --- a/src/fixate/drivers/dso/agilent_mso_x.py +++ b/src/fixate/drivers/dso/agilent_mso_x.py @@ -54,6 +54,10 @@ def __init__(self, instrument): ("ch2.offset", self.write, "CHAN2:OFFS {value}"), ("ch3.offset", self.write, "CHAN3:OFFS {value}"), ("ch4.offset", self.write, "CHAN4:OFFS {value}"), + ("ch1.invert", self.write, "CHAN1:INV {value:n}"), + ("ch2.invert", self.write, "CHAN2:INV {value:n}"), + ("ch3.invert", self.write, "CHAN3:INV {value:n}"), + ("ch4.invert", self.write, "CHAN4:INV {value:n}"), ("ch1.coupling.ac", self.write, "CHAN1:COUP AC"), ("ch2.coupling.ac", self.write, "CHAN2:COUP AC"), ("ch3.coupling.ac", self.write, "CHAN3:COUP AC"),