Skip to content

Commit 9b6e047

Browse files
Hotfix for regression caused by the NI-DAQmx-wait-changes branch
1 parent c3c7159 commit 9b6e047

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NI_DAQmx/labscript_devices.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ def _check_wait_monitor_timeout_device_config(self):
409409
is the wait monitor timeout device, that a) the other device is a DAQmx device
410410
and b) the other device has a start_order lower than us and a stop_order higher
411411
than us."""
412+
if compiler.wait_monitor is None:
413+
return
412414
acquisition_device = compiler.wait_monitor.acquisition_device
413415
timeout_device = compiler.wait_monitor.timeout_device
414416
if acquisition_device is not self or timeout_device is None:

0 commit comments

Comments
 (0)