mxcubecore.HardwareObjects.SOLEIL.SOLEILMachineInfo#

[Name] SOLEILMachineInfo based on EMBLMachineInfo

[Description] Hardware Object is used to get relevant machine information (current, intensity, hutch temperature and humidity, and data storage disc information). Value limits are included

[Channels] - chanMachCurr - chanStateText

[Commands] - cmdSetIntensResolution - cmdSetIntensAcqTime - cmdSetIntensRange

[Emitted signals] - valuesChanged - inRangeChanged

[Functions] - mach_current_changed() - machStateTextChanged() - updateValues() - setInitialIntens() - setExternalValues()

[Included Hardware Objects]

Example Hardware Object XML file :#

<object class=”MachineInfo”>

<updateIntervalS>120</updateIntervalS> <discPath>/home</discPath> <limits>{‘current’:90, ‘temp’: 25, ‘hum’: 60, ‘intens’: 0.1,

‘discSizeGB’: 20}</limits>

</object>

Classes

SOLEILMachineInfo(name)

Descript.

class mxcubecore.HardwareObjects.SOLEIL.SOLEILMachineInfo.SOLEILMachineInfo(name)[source]#

Bases: HardwareObject

Descript. : Displays actual information about the beeamline

clear_gevent()[source]#

Clear gevent tasks, called when disconnecting a HardwareObject.

Override in subclasses as needed.

cryojet_in_changed(value)[source]#

Cryojet in/out value changed

flux_changed(value, beam_info=None, transmission=None)[source]#

Sets flux value

get_current()[source]#

Returns current

get_current_value()[source]#

Returns current

get_message()[source]#

Returns synchrotron state text

get_temp_hum_values(sleep_time)[source]#

Updates temperature and humidity values

get_values()[source]#

Returns list of values

init()[source]#
low_level_alarm_changed(value)[source]#

Low level alarm

mach_current_changed(value)[source]#

Method called if the machine current is changed

Parameters:

value (float) – new machine current

overflow_alarm_changed(value)[source]#

Overflow alarm

re_emit_values()[source]#

Emits list of values

sizeof_fmt(num)[source]#

Returns disk space formatted in string

state_text_changed(text)[source]#

Function called if machine state text is changed

Parameters:

text (string) – new machine state text

temperature_changed(value)[source]#

“Update hutch temperature

update_machine_state()[source]#

Machine state assembly

update_sc_alarm()[source]#

Sample changer alarm