hephy-dd / comet-pqc

Process Quality Control for CMS outer tracker
https://hephy-dd.github.io/comet-pqc/
GNU General Public License v3.0
4 stars 1 forks source link

Table calibration fails for Z axis #214

Closed arnobaer closed 8 months ago

arnobaer commented 8 months ago

Calibrating the table fails for Z axis after sucessfully calibrating X and Y axis.

Issue: an improper way to tell that 2 ncal finished moving, by testing for pos of Z is zero.

Solution: use status bit 0 to determine if an axis is moving:

res.write("2 ncal")
while int(res.query("st")) & 0x1:
    ...