You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a GUI that can control state of a task. As such, the channels etc. can change (when the task is stopped, of course). In the process of doing this, I end up creating tasks with the same name multiple time. This raises an error (status code -200089), as expected. However, I would like to destroy the current task, and build a new one. However, I cannot do this as an error -200088 is raised in the meantime, thought I do not understand where.
Here is an example. I would expect the this to print "Tried to create duplicate task" and "finishing". Instead, an error -200088 is raised in a Task.__del__, somewhere in between the two print statements.
I'm building a GUI that can control state of a task. As such, the channels etc. can change (when the task is stopped, of course). In the process of doing this, I end up creating tasks with the same name multiple time. This raises an error (status code -200089), as expected. However, I would like to destroy the current task, and build a new one. However, I cannot do this as an error -200088 is raised in the meantime, thought I do not understand where.
Here is an example. I would expect the this to print "Tried to create duplicate task" and "finishing". Instead, an error -200088 is raised in a
Task.__del__
, somewhere in between the two print statements.The text was updated successfully, but these errors were encountered: