mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor#
Classes
|
|
|
Class that implements an interface of motor record IOC and accepts a presence PV, that indicated if the motor is or is not present on the facility. |
|
A specific class for LNLS resolution object, such that the get_resolution_limits_for_energy function from EnergyAdapter works properly. |
- class mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor.EPICSMotor(name)[source]#
Bases:
EPICSActuator,AbstractMotor- get_limits()[source]#
Return actuator low and high limits.
- Returns:
Two-item tuple (low limit, high limit).
- Return type:
(tuple)
- class mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor.EPICSMotorDetachable(name)[source]#
Bases:
EPICSMotorClass that implements an interface of motor record IOC and accepts a presence PV, that indicated if the motor is or is not present on the facility. If it is present, it actuates as an EpicsMotor, if it is not, then the widget receives the state OFF and remains disabled.
YAML Example#
%YAML 1.2 — class: LNLS.EPICS.EPICSMotor.EPICSMotorDetachable epics: “MOTOR_PV”:
channels: ‘’:
- ‘PRESENCE_PREFIX’:
channels: ‘presence’:
suffix: “PRESENCE_SUFFIX”
configuration: is_absent_value: 0
- class mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor.ResolutionVirtualMotor(name)[source]#
Bases:
EPICSMotorA specific class for LNLS resolution object, such that the get_resolution_limits_for_energy function from EnergyAdapter works properly.
%YAML 1.2 — class: LNLS.EPICS.EPICSMotor.ResolutionVirtualMotor epics:
- “MNC:B:SoftIOC:Resolution”:
- channels:
‘’: