Selecting the devices: online.xml syntax

The file online.xml contains the configuration for Online. The file onlineSardana.xml, which is used by the Sardana setup script SardanaStartup.py, is generated by SardanaConvert.py by converting online.xml. Both files are Online-compliant. If devices have to be added/removed/renamed the changes have to be made in online.xml which is then converted. The conversion allows for some reconfiguration.

Here is an example for an entry from online.xml:

<device>
 <name>exp_mot01</name>
 <sardananame>diffx</sardananame>
 <tags>expert</tags>
 <type>stepping_motor</type>
 <module>oms58</module>
 <device>p09/motor/exp.01</device>
 <control>tango</control>
 <hostname>haspp09mono:10000</hostname>
</device>

Some notes about this tags (except for the entries corresponding to the diffractometer and to the measurement groups, that will be described below):

The conversion of the above entry to onlineSardana.xml would be:

<device>
 <name>exp_mot01</name>
 <sardananame>diffx</sardananame>
 <tags>expert</tags>
 <type>stepping_motor</type>
 <module>oms58</module>
 <device>p09/motor/exp.01</device>
 <control>tango</control>
 <hostname>haspp09mono:10000</hostname>
 <pool>pool_haspp09</pool>
 <controller>omsvme58_exp</controller>
 <channel>1</channel>
 <rootdevicename>p09/motor/exp</rootdevicename>
</device>



Subsections
2019-11-13