SIS3302

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

 
<device>
 <name>SIS3302_1</name>
 <type>counter</type>
 <module>sis3302</module>
 <device>p99/sis3302/eh2a.01</device>
 <control>tango</control>
 <hostname>haspp99oh1:10000</hostname>
</device>
 
<device>
 <name>SIS3302_1_roi</name>
 <type>counter</type>
 <module>sis3302roi</module>
 <device>p99/sis3302/eh2a.01/1</device>
 <control>tango</control>
 <hostname>haspp99oh1:10000</hostname>
</device>

where <module> has to be sis3302roi and <device> has to contain not only the name of the Tango Device the RoI belongs to (p09/sis3302/exp.01) but also a number corresponding to the index of the selected RoI in the SIS3302 (in the example, 1). The online.xml has to contain also the entry corresponding to the SIS3302 tango device as oned experimental channel:

The oned experimental channel for the SIS3302 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 SIS3302 tango device and the calculation of the corresponding counts is also perfomed there. The sardana controller only reads the counts from the tango device. For that reason it is possible to avoid the readout of the whole spectrum from the oned experimental channel, setting the attribute FlagReadSpectrum in the Tango device corresponding to this channel the Spectrum will not be read. By default this attribute is set to 1.