access movable of parent macro
Created by: dschick
Hi, I'd like to write a macro that is hooked in the pre-move/post-move
hook places.
The action of the hooked macro should depend on the motor(s) moved within the parent macro (parent can be a scan
or mv
).
So I need a specific action only in case one specific motor is moved and not if any other is moved.
What would be the way to access the names of the movables used in the parent macro?
currently I can do
parent = self.getParentMacro()
and then I have not found an according property/method of the parent.
Thanks in advance
Daniel