Undulator, setPoint out of limits

P65 undulator bug: the setPoint of the undulator position (Pool device) was out of limits. This has an effect on scans, not on moves.

Error messages:

The error occurs when the Harmonic attribute is changed (Tango server). The actual energy value changes and also the limits. However, the setPoints of the Pool device and the Tango server remain as they were.

Workaround: Move the motor (Tango server and Pool device) to the current read-value. Thereby no actual move is involved.

It is planned to create a macro which changes the Harmonic and avoids the inconsistency.