VmExecutor

This is an implementation of the virtual motor concept using the Tango motor interface. The VmExecutor class executes code that is provided by the user. The user code defines the class VM which consists fo certain function members that need to be supplied. In addition to the attributes listed below extra attributes can be added to the class, these attributes have to be defined in the property DynamicAttributes of the device (see below the description of this property for details) and an additional method for writting/reading these attributes have to be defined in the VM class. See the examples below.

Motors of this kind are introduced to Online by such an entry in /online_dir/online.xml:

<device>
 <name>vm_slit</name>
 <type>type_tango</type>
 <module>motor_tango</module>
 <device>p111/vmexecutor/exp.01</device>
 <control>tango</control>
 <hostname>haspp111:10000</hostname>
</device>



Subsections