Skip to content

Commit

Permalink
Mode change needs to handle the new send_command
Browse files Browse the repository at this point in the history
We remodeled send_command to not have the "no_wait" option because it really doesn't make a lot
of sense anymore.  This slipped through the changes.
  • Loading branch information
mcdermj committed Jan 26, 2020
1 parent 771d98d commit 9b26821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssdrapiclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def mode_handler(self, event):
print("Change mode to {}".format(mode))
for (slcno, slc) in self.slices.items():
if slc['mode'].startswith('FDV'):
self.send_command("slice waveform_cmd {} fdv-set-mode={}".format(slcno, mode), wait=False)
self.send_command("slice waveform_cmd {} fdv-set-mode={}".format(slcno, mode))

def send_command(self, command: str) -> Deferred:
self.sendLine('C{}|{}'.format(self.sequence, command).encode('utf-8'))
Expand Down

0 comments on commit 9b26821

Please sign in to comment.