From 9b268212d7d6ce018ac4cfca12a75cac09e1f96d Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Sun, 26 Jan 2020 15:09:53 -0800 Subject: [PATCH] Mode change needs to handle the new send_command 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. --- ssdrapiclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssdrapiclient.py b/ssdrapiclient.py index 19597ef..8f39132 100644 --- a/ssdrapiclient.py +++ b/ssdrapiclient.py @@ -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'))