PseudoCounter

Classes

PseudoCounter

Inheritance diagram of PseudoCounter

class PseudoCounter(dclass, name)[source]

Bases: sardana.tango.pool.PoolDevice.PoolElementDevice

init(name)[source]
get_pseudo_counter()[source]
set_pseudo_counter(pseudo_counter)[source]
pseudo_counter
delete_device(*args, **kwargs)[source]
init_device(*args, **kwargs)[source]
on_pseudo_counter_changed(event_source, event_type, event_value)[source]
always_executed_hook()[source]
read_attr_hardware(data)[source]
get_dynamic_attributes()[source]
initialize_dynamic_attributes()[source]
read_Value(attr)[source]
is_Value_allowed(req_type)
CalcPseudo(physical_values)[source]

Returns the pseudo counter value for the given physical counters

CalcAllPseudo(physical_values)[source]

Returns the pseudo counter values for the given physical counters

PseudoCounterClass

Inheritance diagram of PseudoCounterClass

class PseudoCounterClass(name)[source]

Bases: sardana.tango.pool.PoolDevice.PoolElementDeviceClass

class_property_list = {}
device_property_list = {'Instrument_id': [PyTango._PyTango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Ctrl_id': [PyTango._PyTango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Elements': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'elements used by the pseudo', []], 'Force_HW_Read': [PyTango._PyTango.CmdArgType.DevBoolean, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [PyTango._PyTango.CmdArgType.DevLong64, 'Internal ID', 0], 'Axis': [PyTango._PyTango.CmdArgType.DevLong64, 'Axis in the controller', [0]]}
cmd_list = {'Abort': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'Restore': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'CalcAllPseudo': [[PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical positions'], [PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'pseudo counter values']], 'Stop': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'CalcPseudo': [[PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical values'], [PyTango._PyTango.CmdArgType.DevDouble, 'pseudo counter']]}
standard_attr_list = {'Value': [[PyTango._PyTango.CmdArgType.DevDouble, PyTango._PyTango.AttrDataFormat.SCALAR, PyTango._PyTango.AttrWriteType.READ]]}