OrsayDev / OrsayLaser

Instrumentation for Laser / Blanker / Gain usage in Nionswift
0 stars 0 forks source link

Big error message in [gain_inst.py] involving [power.py] and [power_vi.py] #14

Closed yvesauad closed 4 years ago

yvesauad commented 4 years ago

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

kociak commented 4 years ago

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