sardana-org / sardana

Moved to GitLab: https://gitlab.com/sardana-org/sardana
39 stars 52 forks source link

nans in wa #1682

Open dschick opened 3 years ago

dschick commented 3 years ago

maybe this is related to #1411

in wa all motors from one specific controller give NaN for dial and user position but in wuthey are all fine.

If I do wa mot1 and wa mot1 mot2 it is still fine. If I do a wa mot1 mot2 mot3 two of them are NaN and with a fourth motor all of them are NaN. Motors from other controllers do not affect this behavior at all.

The controller which I am using is rather slow, so I guess there is some timing condition met when I ask too many motors at the same time ...

Best

Daniel

reszelaz commented 3 years ago

Hi @dschick, I imagine there are some exceptions when reading (Position and DialPosition). If yes, these should be logged https://github.com/sardana-org/sardana/blob/69e6ed7a523c76d9f54f18f865421965f0f9b302/src/sardana/macroserver/macros/standard.py#L116 Could you please attach the following macros execution logs:

Many thanks!