mxcubecore.HardwareObjects.ALBA.ALBAEpsActuator#

Tango Shutter Hardware Object Example XML:

<object class="ALBAEpsActuator">
  <username>Photon Shutter</username>
  <taurusname>bl13/ct/eps-plc-01</taurusname>
  <channel type="sardana" polling="events" name="actuator">pshu</channel>
  <states>Open,Closed</states>
</object>
Public Interface:
Commands:
int get_state()
Description:

returns current state

Output:

integer value describing the state current states correspond to:

0: out 1: in 9: moving

11: alarm 13: unknown 23: fault

string getStatus()
Description:

returns current state as a string that can contain a more descriptive information about current state

Output:

status string

cmdIn()

Executes the command associated to the “In” action

cmdOut()

Executes the command associated to the “Out” action

Signals:

stateChanged

Functions

test_hwo(hwo)

Classes

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

Bases: HardwareObject

getStatus()[source]#
get_state()[source]#

Getter for state attribute.

Implementations must query the hardware directly, to ensure current results.

Returns:

Current state.

Return type:

HardwareObjectState

init()[source]#

Hardware object init.