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: QObject

An 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:

Attributes:

qdev

Reference to the parent QDeviceIO class instance.

Type:QDeviceIO
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 for self.qdev.dev.

Type:object | None
DAQ_function

See DAQ_function.

Type:Callable | None
critical_not_alive_count

See critical_not_alive_count.

Type:int