mxcubecore.HardwareObjects.ALBA.XalocMachineInfo#

[Name] ALBAMachineInfo

[Description] Hardware Object is used to get relevant machine information (machine current, time to next injection, status, etc) Based on EMBL HwObj

[Channels] - MachineCurrent - TopUpRemaining - State

[Commands]

[Emitted signals] - valuesChanged

[Functions] - None

[Included Hardware Objects] - None

Example Hardware Object XML file :#

<object class=”ALBAMachineInfo”>

<username>Mach</username> <taurusname>mach/ct/gateway</taurusname> <channel type=”sardana” name=”MachStatus” polling=”1000”>State</channel> <channel type=”sardana” name=”MachCurrent” polling=”1000”>Current</channel> <channel type=”sardana” name=”TopUpRemaining” polling=”1000”>TopUpRemaining</channel>

</object>

Classes

XalocMachineInfo(name)

Descript.

class mxcubecore.HardwareObjects.ALBA.XalocMachineInfo.XalocMachineInfo(name)[source]#

Bases: HardwareObject

Descript. : Displays actual information about the machine status.

init()[source]#

Descript. : Inits channels from xml configuration.

mach_current_changed(value)[source]#

Descript. : Function called if the machine current is changed Arguments : new machine current (float) Return : -

mach_status_changed(status)[source]#

Descript. : Function called if machine status is changed Arguments : new machine status (string) Return : -

re_emit_values()[source]#
Descript.Updates storage disc information, detects if intensity

and storage space is in limits, forms a value list and value in range list, both emitted by qt as lists

Arguments : - Return : -

topup_remaining_changed(value)[source]#

Descript. : Function called if topup ramaining is changed Arguments : new topup remaining (float) Return : -