QMAPP-mq / qudi

A modular laboratory experiment management suite.
GNU General Public License v3.0
4 stars 0 forks source link

NT-MDT positions sometimes returned as 0.0 #27

Closed mvbnano closed 6 years ago

mvbnano commented 6 years ago

What is affected by this bug?

Sometimes ntmdt.get_pos returns a positional value of 0.0.

When does this occur?

Seemingly random.

Where on the platform does it happen?

ntmdt.get_pos and ntmde.move_abs (which calls ntmdt.get_pos)

Expected behavior (i.e. solution)

Check if the value returned is 0.0 and run again until it is not.

mvbnano commented 6 years ago

This only seems to be happening when values are returned from move_abs

mvbnano commented 6 years ago

Confirmed that this also can happen with get_pos

mvbnano commented 6 years ago

no longer an issue with updated code.