poolzerodexpchannel

This module is part of the Python Pool library. It defines the base classes for ZeroDExpChannel

Classes

Pool0DExpChannel

Inheritance diagram of Pool0DExpChannel

class Pool0DExpChannel(**kwargs)[source]

Bases: sardana.pool.poolbasechannel.PoolBaseChannel

ValueAttributeClass

alias of Value

AcquisitionClass

alias of Pool0DAcquisition

get_accumulation_type()
get_accumulation()
set_accumulation_type(ctype)
accumulation
get_accumulated_value_attribute()

Returns the accumulated value attribute object for this 0D.

Returns:the accumulated value attribute
Return type:SardanaAttribute
get_current_value_attribute()

Returns the current value attribute object for this 0D.

Returns:the current value attribute
Return type:SardanaAttribute
get_accumulated_value()

Gets the accumulated value for this 0D.

Returns:a SardanaValue containing the 0D value
Return type:SardanaAttribute
Raises:Exception if no acquisition has been done yet on this 0D
read_current_value()

Reads the 0D value from hardware.

Returns:a SardanaValue containing the counter value
Return type:SardanaValue
put_current_value(value, propagate=1)

Sets a value.

Parameters:
  • value (SardanaValue) – the new value
  • propagate (int) – 0 for not propagating, 1 to propagate, 2 propagate with priority
get_current_value(cache=True, propagate=1)

Returns the counter value.

Returns:the 0D accumulated value
Return type:SardanaAttribute
current_value

0D value

accumulated_value

0D value

put_value(value, propagate=1)
append_value(value, timestamp=None, propagate=1)
clear_buffer()
get_value_buffer()
value_buffer
get_time_buffer()
time_buffer
start_acquisition(value=None)