Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbudhrani committed May 27, 2024
1 parent 7e941aa commit c7565d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qmi/instruments/zurich_instruments/hdawg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit c7565d1

Please sign in to comment.