KromoTX1easyXAFS

The counters corresponding to RoIs defined in the KromoTX1easyXAFS device have to be introduced in the online.xml file in the following way:

<device>
 <name>kromo_roi1</name>
 <type>counter</type>
 <module>kromoroi</module>
 <device>p09/kromotx1easyxafs/exp.01/RoI1Counts</device>
 <control>tango</control>
 <hostname>haspp09mono:10000</hostname>
</device>

where <module> has to be kromoroi and <device> has to contain not only the name of the Tango Device the RoI belongs to (p09/kromotx1easyxafs/exp.01) but also the name of the Tango attribute with the counts. The online.xml has to contain also the entry corresponding to the KromoTX1easyXAFS tango device as oned experimental channel:

<device>
 <name>kromo1</name>
 <type>mca</type>
 <module>kromo</module>
 <device>p09/kromotx1easyxafs/exp.01</device>
 <control>tango</control>
 <hostname>haspp09mono:10000</hostname>
</device>

The oned experimental channel for the KromoTX1easyXAFS device has to be always included in the MG if any of the counter for the RoIs is included.

The RoIs are defined in the KromoTX1easyXAFS tango device and the calculation of the corresponding counts is also perfomed there. The sardana controller only reads the counts from the tango device.