poolmotorgroup
¶
This module is part of the Python Pool library. It defines the base classes for
Classes
PoolMotorGroup¶

-
class
PoolMotorGroup
(**kwargs)[source]¶ Bases:
sardana.pool.poolgroupelement.PoolGroupElement
-
get_position
(cache=True, propagate=1)[source]¶ Returns the user position.
- Parameters
cache (bool) – if
True
(default) return value in cache, otherwise read value from hardwarepropagate (int) – 0 for not propagating, 1 to propagate, 2 propagate with priority
- Returns
the user position
- Return type
-
set_position
(positions)[source]¶ Moves the motor group to the specified user positions
- Parameters
positions (sequence<
Number
>) – the user positions to move to
-
set_write_position
(w_position, timestamp=None, propagate=1)[source]¶ Sets a new write value for the user position.
- Parameters
w_position (sequence<
Number
>) – the new write value for user positionpropagate (int) – 0 for not propagating, 1 to propagate, 2 propagate with priority
-
property
position
¶ motor group positions
-
property
motion
¶ motion object
-