Skip to content

112-move-abs-new-position.py: Check if supported

Originally written for tc_mca_std_lib via ads, there was no check, if that feature is supported or not. Add a check to do so: older versions of tc_mca_std_lib do not support it. New versions ha support and a version information. Check what we have. Add getSupportedMoveAbsNewPosition() in AxisADS.py Add etSupportedMoveAbsNewPosition() in AxisEPICS.py as well. Since the EPICS motorRecord will fix that we go to the new position, this is always true.

This is tested under TwinCAT without support, and EPICS. (More testing is needed of course) Improved even the waitForMoving() timeout.

Changes to be committed: modified: 112-move-abs-new-position.py modified: AxisADS.py modified: AxisEPICS.py

Merge request reports