Skip to content

Commit

Permalink
Merge pull request #194 from thennen/fix_ps6000a_voltage_offset
Browse files Browse the repository at this point in the history
VOffset converted to c_double instead of c_float
  • Loading branch information
hmaarrfk authored Nov 17, 2023
2 parents f092641 + d55cbc7 commit c38399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picoscope/ps6000a.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c38399f

Please sign in to comment.