Starting from scratch, we have to begin with preparing the diffractometer server. Use Jive, Edit, Create Server.
The server needs properties (the motor names are just an example):
The class PseudoAxis has to be added to the server by right-clicking PETRA-3 (of ds_Diffractometer) and selecting 'Add Class'.
The newly created devices need these properties.
p07/e4c/diffrac-h DiffractometerProxy p07/e4cv/diffrac PseudoAxisName h p07/e4c/diffrac-k DiffractometerProxy p07/e4cv/diffrac PseudoAxisName k p07/e4c/diffrac-l DiffractometerProxy p07/e4cv/diffrac PseudoAxisName l
The diffractometer server is running now. Before we can operate it with the SOLEIL-GUI, Online or Spock we have to create a new crystal (UB matrix) using Jive. The command AddNewCrystal is executed with the argument "Cr1" on the diffractometer server and the attribute Crystal is set to "Cr1".
Online needs a reference to the diffractometer server. For this the following lines have to be copied to /online_dir/online.xml. The name "dffrctmtr" is fixed, the Tango device name "p09/e4c/diffrac" and the hostname have to be selected accordingly.
<hw> ... other devices <device> <name>dffrctmtr</name> <type>diffractometer</type> <module>e4c</module> <device>p07/e4cv/diffrac</device> <control>tango</control> <hostname>hasgksspp07XXX:10000</hostname> </device> </hw>