poolioregister
This module is part of the Python Pool libray. It defines the base classes for
Classes
PoolIORegister
- class PoolIORegister(**kwargs)[source]
Bases:
PoolElement
- get_value_attribute()[source]
Returns the value attribute object for this IO register
- Return type:
- Returns:
the value attribute
- read_value()[source]
Reads the IO register value from hardware.
- Return type:
- Returns:
a
SardanaValue
containing the IO register value
- put_value(value, propagate=1)[source]
Sets a value.
- Parameters:
value (
SardanaValue
) – the new valuepropagate (
int
) – 0 for not propagating, 1 to propagate, 2 propagate with priority
- Return type:
Value
- set_write_value(w_value, timestamp=None, propagate=1)[source]
Sets a new write value for the IO registere
- property value
ioregister value