mxcubecore.HardwareObjects.TangoMachineInfo#

MachineInfo using Tango channels.

Example xml_ configuration:

<object class="TangoMachineInfo">
  <tangoname>ab/cd/ef</tangoname>
  <parameters>["current", "lifetime", "message", "refill_countdown"]</parameters>
  <channel type="tango" name="current" polling="2000">SR_Current</channel>
  <channel type="tango" name="lifetime" polling="2000">SR_Lifetime</channel>
  <channel type="tango" name="refill_countdown" polling="2000">SR_Refill_Countdown</channel>
  <channel type="tango" name="message" polling="8000">SR_Operator_Mesg</channel>
</object>

Classes

TangoMachineInfo(name)

MachineInfo using Tango channels.

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

Bases: AbstractMachineInfo

MachineInfo using Tango channels.

get_current() float[source]#

Read the ring current.

Returns:

Current [mA].

Return type:

float

get_value() dict[source]#

Read machine info summary as dictionary.

Returns:

Copy of the _mach_info_dict.

Return type:

dict

init()[source]#

We assume that at least current is defined