The undulator server is introduced to Online by the following lines in /online_dir/online.xml:
<device> <name>undulator</name> <type>type_tango</type> <module>motor_tango</module> <device>p09/undulator/1</device> <control>tango</control> <hostname>haspp09:10000</hostname> </device>
The position attribute of the undulator device corresponds to the energy. If this attribute is changed, the server calculates a gap for the requested energy and moves the device.
It is also possible to access the undulator gap directly. The section 68.2 explains how this is done with an attribute motor.
The following figures display the properties of the Petra3Undulator server. The first figure shows the TINE path, the second the direct Ads path.
The PlcUndulator server is configured this way:
If the Petra3Undulator server uses the TINE path, we need an instance of the Tine-To-Tango gateway:
The gap is one of the attributes:
Section 68.3 shows how to use the TINE instant client to read the undulator gap positions.