mxcubecore.HardwareObjects.MotorsNPosition#
Classes
|
<object class="MotorsNState"> |
- class mxcubecore.HardwareObjects.MotorsNPosition.MotorsNPosition(name)[source]#
Bases:
AbstractActuator
- <object class=”MotorsNState”>
<username>Dummy</username>
- <motors>
<object role=”role1” href=”/mot1”></object> <object role=”role2” href=”/mot2”></object>
</motors>
- <deltas>
<role1>0.1</role1> <role2>0.3</role1>
</deltas>
- <positions>
- <position>
<name>BEAM</name> <role1>0.12</role1> <role2>0.22</role2> <favproperty>I am in the Beam</favproperty>
</position>
- <position>
<name>OUTBEAM</name> <role1>2.3</role1> <role2>4.6</role2> <favproperty>I am out of Beam</favproperty>
</position>
</positions>
</object>
- get_property_value_by_index(position_index=None, property_name=None)[source]#
Returns the value of the property with the given property_name at the specified position_index. If the property_name or position_index is invalid, returns None.