Worker_jobs

class dvg_qdeviceio.Worker_jobs(qdev: QDeviceIO, jobs_function: Optional[Callable] = None, debug: bool = False, **kwargs)[source]

Bases: QObject

An instance of this worker will be created and placed inside a new thread when QDeviceIO.create_worker_jobs() 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_jobs(). It is a shorthand for self.qdev.dev.

Type:object | None
jobs_function

See QDeviceIO.create_worker_jobs().

Type:Callable | None