Closed lmaisenbacherberkeley closed 1 week ago
Alright! Thanks for the report. More thorough testing is in place then ;) I'll have a look right now.
This was a tricky one. Should be fixed in v0.10.3
, though.
Great, thanks, the behavior is now as expected.
Describe the bug
When using multiple instances of the same class as sub-DataServices ("channels"), and those channels include a task, all task controls only control the task of one of the channels. E.g., for the case of two channels, starting the task in the second channel sets the status of the task of channel 1 and channel 2 to running, but actually only runs the task in channel 1.
To Reproduce
Using pydase 0.10.2.
Expected behaviour
An interface for two channels with one task each is generated. Starting the task in each channel leads to an output of a random number in that channel, and does not influence the task in the other channel.
Additional context
This worked with the earlier implementation of tasks in version 0.7.4 (with the appropriate changes in how tasks are defined).