Worker_DAQ¶
-
class
dvg_qdeviceio.Worker_DAQ(qdev: QDeviceIO, DAQ_trigger=DAQ_TRIGGER.INTERNAL_TIMER, DAQ_function=None, DAQ_interval_ms=100, DAQ_timer_type=0, critical_not_alive_count=1, debug=False, **kwargs)[source]¶ Bases:
QObjectAn instance of this worker will be created and placed inside a new thread when
QDeviceIO.create_worker_DAQ()gets called. See there for extended information.Parameters: - qdev (
QDeviceIO) – Reference to the parentQDeviceIOclass instance, automatically set when being initialized byQDeviceIO.create_worker_DAQ(). - DAQ_trigger (
int, optional) – Default:DAQ_TRIGGER.INTERNAL_TIMER. - DAQ_function (
Callable|None, optional) – Default:None. - DAQ_interval_ms (
int, optional) – Default:100. - DAQ_timer_type (
PySide6.QtCore.Qt.TimerType, optional) – Default:PySide6.QtCore.Qt.TimerType.PreciseTimer. - critical_not_alive_count (
int, optional) – Default:1. - debug (
bool, optional) – Default:False. - **kwargs – All remaining keyword arguments will be passed onto inherited class
PySide6.QtCore.QObject.
Attributes:
-
dev¶ Reference to the user-supplied device class instance containing I/O methods, automatically set when calling
QDeviceIO.create_worker_DAQ(). It is a shorthand forself.qdev.dev.Type: object|None
-
DAQ_function¶ See DAQ_function.
Type: Callable|None
- qdev (