From 7d02cb994fbb4473f8c18620a7dc3f184858738a Mon Sep 17 00:00:00 2001
From: wendtalexander <wendtalexander@protonmail.com>
Date: Mon, 23 Sep 2024 14:32:49 +0200
Subject: [PATCH] adding unlimited time

---
 pyrelacs/repros/calbi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyrelacs/repros/calbi.py b/pyrelacs/repros/calbi.py
index a1a0a4a..e5d0b53 100644
--- a/pyrelacs/repros/calbi.py
+++ b/pyrelacs/repros/calbi.py
@@ -26,7 +26,7 @@ class Calibration(Repos):
             [0, 1], DURATION, SAMPLERATE, ScanOption=uldaq.ScanOption.EXTTRIGGER
         )
         self.digital_trigger()
-        ao_device.scan_wait(uldaq.WaitType.WAIT_UNTIL_DONE, 11)
+        ao_device.scan_wait(uldaq.WaitType.WAIT_UNTIL_DONE, -1)
         self.digital_trigger(data=0)
         self.disconnect_dac()
         embed()