Skip to content

Commit

Permalink
Merge pull request Ulm-IQO#707 from Ulm-IQO/fix_fastcomtec_set_binwidth
Browse files Browse the repository at this point in the history
Fix fastcomtec set binwidth
  • Loading branch information
timoML committed Nov 14, 2022
2 parents 91773a6 + 240da53 commit 0a57904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/fastcomtec/fastcomtecmcs6.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def set_bitshift(self, bitshift):
@return int: asks the actual bitshift and returns the red out value
"""
cmd = 'BITSHIFT={0}'.format(bitshift)
cmd = 'BITSHIFT={0}'.format(hex(bitshift))
self.dll.RunCmd(0, bytes(cmd, 'ascii'))
return self.get_bitshift()

Expand Down

0 comments on commit 0a57904

Please sign in to comment.