Ulm-IQO / qudi

(Legacy project) A modular laboratory experiment management suite, predecessor to qudi-core.
GNU General Public License v3.0
166 stars 141 forks source link

Improve stability for motors PI, Zaber #660

Open timoML opened 3 years ago

timoML commented 3 years ago

Improve the stability of the serial connection for motor_stage_pi and zaber_motor_rotation_stage.

Motivation and Context

On setup 3 and after adding a few new serial devices, scanning the magnetic field with above stages was painfull and plagued by a lot of hangs and crashes. The main change of this PR is to reduce the number of serial command issued by stacking together calls to the serial hardware where possible.

How Has This Been Tested?

On setup3 magnet alignment runs way smoother now. In particular, the magnet gui wouldn't hang while scanning without any warning/error issued.

Types of changes

Checklist: