mxcubecore.HardwareObjects.MachCurrent#

Machine Current Tango Hardware Object Example XML: <object class = “MachCurrent”>

<username>label for users</username> <tangoname>orion:10000/fe/id(or d)/xx</tangoname> <channel type=”tango” name=”OperatorMsg” polling=”2000”>SR_Operator_Mesg</channel> <channel type=”tango” name=”Current” polling=”2000”>SR_Current</channel> <channel type=”tango” name=”FillingMode” polling=”2000”>SR_Filling_Mode</channel> <channel type=”tango” name=”RefillCountdown” polling=”2000”>SR_Refill_Countdown</channel>

</object>

Classes

MachCurrent(name)

Tango implementation

class mxcubecore.HardwareObjects.MachCurrent.MachCurrent(name)[source]#

Bases: AbstractMachineInfo

Tango implementation

get_current() float[source]#

Read the ring current. :returns: Ring current [mA] :rtype: (float)

Return type:

float

get_fill_mode() str[source]#

Read the fill mode as text.

Returns:

Machine fill mode

Return type:

str

get_message() str[source]#

Read the operator’s message.

Returns:

Message.

Return type:

str

init()[source]#

Get the attributes to be defined as keys in the _machine_info_dict

value_changed(value)[source]#

Get information from the control software, emit valueChanged