diff --git a/picoscope/ps6000a.py b/picoscope/ps6000a.py index 1ae0255..a235044 100644 --- a/picoscope/ps6000a.py +++ b/picoscope/ps6000a.py @@ -453,7 +453,7 @@ def _lowLevelSetChannel(self, chNum, enabled, coupling, VRange, VOffset, if enabled: m = self.lib.ps6000aSetChannelOn(c_int16(self.handle), c_enum(chNum), c_enum(coupling), - c_enum(VRange), c_float(VOffset), + c_enum(VRange), c_double(VOffset), c_enum(BWLimited)) else: m = self.lib.ps6000aSetChannelOff(c_int16(self.handle),