Not urgent stuff, but i put at init self.__pwmeter.pw_random_periodic() which begins a threading.Timer(0.5, self.myfunc) in order to update my displayed power every 0.5s. Maybe this is dumb and the best way is to acquire power only during eels acquistion. Anyways i felt it was interesting to have a live value of power.
When quitting swift, a huge error message happens because i probably broke the infinite loop. Not very important, really, but here it is
Yes, there is something wrong/badly documented with how to finish thread and/or access to the event loop in swift ... Same should happen if you create or switch to a different wokspace
Not urgent stuff, but i put at init
self.__pwmeter.pw_random_periodic()
which begins athreading.Timer(0.5, self.myfunc)
in order to update my displayed power every 0.5s. Maybe this is dumb and the best way is to acquire power only during eels acquistion. Anyways i felt it was interesting to have a live value of power.When quitting swift, a huge error message happens because i probably broke the infinite loop. Not very important, really, but here it is