poolbasechannel
¶
This module is part of the Python Pool library. It defines the base classes for experiment channels
Classes
PoolBaseChannel¶
-
class
PoolBaseChannel
(**kwargs)[source]¶ Bases:
sardana.pool.poolelement.PoolElement
-
ValueAttributeClass
¶ alias of
Value
-
AcquisitionClass
¶
-
get_value_attribute
()[source]¶ Returns the value attribute object for this experiment channel
Returns: the value attribute Return type: SardanaAttribute
-
acquisition
¶ acquisition object
-
read_value
()[source]¶ Reads the channel value from hardware.
Returns: a SardanaValue
containing the channel valueReturn type: SardanaValue
-
put_value
(value, propagate=1)[source]¶ Sets a value.
Parameters: - value (
SardanaValue
) – the new value - propagate (int) – 0 for not propagating, 1 to propagate, 2 propagate with priority
- value (
-
get_value
(cache=True, propagate=1)[source]¶ Returns the channel value.
Parameters: Returns: the channel value
Return type:
-
set_value
(value)[source]¶ Starts an acquisition on this channel
Parameters: value ( Number
) – the value to count
-
value
¶ channel value
-