Improve psi device base
Description
This MR allows the submit_task
method to accept args and kwargs that are passed to the task that is submitted. In addition, it adds a method wait_for_conditions
to improve usability of the PSIDeviceBase class. This allows to wait for conditions to be met. For instance, (self.daq_status.get
, 'running'). In comparison to a SubScritpionStatus
, this method gives more flexibility, and allows checks about whether the device was stopped in the mean time, and resolve the blocking call.
Definition of Done
-
Documentation is up-to-date.
Edited by appel_c
Merge request reports
Activity
Filter activity
assigned to @appel_c
added 1 commit
- f53a47e3 - refactor(psi_device_base): add method to wait for signals to PSIDeviceBase
added 1 commit
- 4bd88fae - refactor(psi_device_base): add method to wait for signals to PSIDeviceBase
requested review from @wakonig_k
added 1 commit
- 2380f461 - refactor(psi_device_base): add method to wait for signals to PSIDeviceBase
Please register or sign in to reply