From c7565d14582822cbaa921ecf9902b99240bcb8d0 Mon Sep 17 00:00:00 2001 From: Ravi Budhrani Date: Mon, 27 May 2024 16:07:59 +0200 Subject: [PATCH] typo fix --- qmi/instruments/zurich_instruments/hdawg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmi/instruments/zurich_instruments/hdawg.py b/qmi/instruments/zurich_instruments/hdawg.py index 507b51bf..a4158bc8 100644 --- a/qmi/instruments/zurich_instruments/hdawg.py +++ b/qmi/instruments/zurich_instruments/hdawg.py @@ -91,7 +91,7 @@ class ZurichInstruments_HDAWG(QMI_Instrument): AWG_INDEX = "awgModule/index" AWG_COMPILER_SOURCE_STRING = "awgModule/compiler/sourcestring" AWG_COMPILER_STATUS = "awgModule/compiler/status" - AWG_COMPILER_STATUS_STRING = "awgModule/compiler/status" + AWG_COMPILER_STATUS_STRING = "awgModule/compiler/statusstring" AWG_ELF_STATUS = "awgModule/elf/status" AWG_PROGRESS = "awgModule/progress" @@ -334,7 +334,7 @@ def _wait_compile(self, sequencer_program: str) -> CompilerStatus: compilation_status = CompilerStatus(self._awg_module.getInt(self.AWG_COMPILER_STATUS)) while compilation_status == CompilerStatus.IDLE: time.sleep(0.1) - compilation_status = CompilerStatus(self._awg_module.getInt(self.AWG_COMPILER_STATUS)) + compilation_status = CompilerStatus(self._awg_module.getInt("awgModule/compiler/status")) if time.monotonic() - compilation_start_time > _COMPILE_TIMEOUT: raise RuntimeError("Compilation process timed out (timeout={})".format(_COMPILE_TIMEOUT)) compilation_end_time = time.monotonic()