Skip to content

Commit 78ddd7b

Browse files
Bump dvg-qdeviceio==0.2.0
1 parent 128817b commit 78ddd7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

foo_bar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from dvg_debug_functions import dprint, print_fancy_traceback as pft
2020

2121
from dvg_devices.Arduino_protocol_serial import Arduino # I.e. the `device`
22-
from dvg_qdeviceio import QDeviceIO, DAQ_trigger
22+
from dvg_qdeviceio import QDeviceIO, DAQ_TRIGGER
2323

2424
# Constants
2525
DAQ_INTERVAL_MS = 10 # 10 [ms]
@@ -145,7 +145,7 @@ def DAQ_function():
145145
# fmt: off
146146
qdev = QDeviceIO(ard)
147147
qdev.create_worker_DAQ(
148-
DAQ_trigger = DAQ_trigger.INTERNAL_TIMER,
148+
DAQ_trigger = DAQ_TRIGGER.INTERNAL_TIMER,
149149
DAQ_function = DAQ_function,
150150
DAQ_interval_ms = DAQ_INTERVAL_MS,
151151
debug = DEBUG,

foo_baz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from dvg_debug_functions import dprint, print_fancy_traceback as pft
2121

2222
from dvg_devices.Arduino_protocol_serial import Arduino # I.e. the `device`
23-
from dvg_qdeviceio import QDeviceIO, DAQ_trigger
23+
from dvg_qdeviceio import QDeviceIO, DAQ_TRIGGER
2424

2525
# Constants
2626
DAQ_INTERVAL_MS = 10 # 10 [ms]
@@ -147,7 +147,7 @@ def DAQ_function():
147147
# fmt: off
148148
qdev = QDeviceIO(ard)
149149
qdev.create_worker_DAQ(
150-
DAQ_trigger = DAQ_trigger.SINGLE_SHOT_WAKE_UP,
150+
DAQ_trigger = DAQ_TRIGGER.SINGLE_SHOT_WAKE_UP,
151151
DAQ_function = DAQ_function,
152152
debug = DEBUG,
153153
)

0 commit comments

Comments
 (0)