mxcubecore.HardwareObjects.ExporterNState#

Microdiff with Exporter implementation of AbstartNState Example xml file: <object class=”ExporterNState”>

<username>Fluorescence Detector</username> <exporter_address>wid30bmd2s:9001</exporter_address> <value_channel_name>FluoDetectorIsBack</value_channel_name> <state_channel_name>State</state_channel_name> <values>{“IN”: False, “OUT”: True}</values> <value_state>True</value_state>

</object>

Classes

ExporterNState(name)

Microdiff with Exporter implementation of AbstartNState

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

Bases: AbstractNState

Microdiff with Exporter implementation of AbstartNState

SPECIFIC_STATES#

alias of ExporterStates

abort()[source]#

Stop the action.

get_state()[source]#

Get the device state. :returns: Device state. :rtype: (enum ‘HardwareObjectState’)

get_value()[source]#

Get the device value :returns: Enum member, corresponding to the value or UNKNOWN. :rtype: (Enum)

init()[source]#

Initialise the device