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: PoolBaseChannel

ValueAttributeClass

alias of Value

AcquisitionClass

alias of Pool0DAcquisition

get_accumulation_type()[source]
get_accumulation()[source]
set_accumulation_type(ctype)[source]
property accumulation
property accumulation_type
get_accumulated_value_attribute()[source]

Returns the accumulated value attribute object for this 0D.

Return type:

SardanaAttribute

Returns:

the accumulated value attribute

get_current_value_attribute()[source]

Returns the current value attribute object for this 0D.

Return type:

SardanaAttribute

Returns:

the current value attribute

get_accumulated_value()[source]

Gets the accumulated value for this 0D.

Return type:

SardanaAttribute

Returns:

a SardanaValue containing the 0D value

Raises:

Exception if no acquisition has been done yet on this 0D

read_current_value()[source]

Reads the 0D value from hardware.

Return type:

SardanaValue

Returns:

a SardanaValue containing the counter value

put_current_value(value, propagate=1)[source]

Put a current value.

Parameters:
  • value (SardanaValue) – the new value

  • propagate (int) – 0 for not propagating, 1 to propagate, 2 propagate with priority

Return type:

None

get_current_value(cache=True, propagate=1)[source]

Returns the counter value.

Return type:

SardanaAttribute

Returns:

the 0D accumulated value

property current_value: SardanaAttribute

0D value

property accumulated_value: SardanaAttribute

0D value

clear_buffer()[source]
get_accumulation_buffer()[source]
property accumulation_buffer
get_time_buffer()[source]
property time_buffer
start_acquisition(value=None)[source]