Skip to content

Commit

Permalink
Merge pull request #127 from paulsurrey/fix/DecaDac_trigger_stuck
Browse files Browse the repository at this point in the history
Decadac ramp fix
  • Loading branch information
THuckemann authored Jan 28, 2025
2 parents 3bdd760 + 6c5a9b8 commit c779ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qumada/instrument/custom_drivers/Harvard/Decadac.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _set_dac(self, code):
else:
code = int(code)
self._set_channel()
self.ask_raw(f"U65535;L0;D{code};")
self.ask_raw(f"S0;G0;U{code};L{code};D{code};")

def _script_set_dac(self, code):
"""
Expand All @@ -442,7 +442,7 @@ def _script_set_dac(self, code):

code = int(code)
self._script_set_channel()
self.ask_raw(f"U65535;L0;D{code};")
self.ask_raw(f"S0;G0;U{code};L{code};D{code};")

def write(self, cmd):
"""
Expand Down

0 comments on commit c779ffb

Please sign in to comment.