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

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