1D devices: AmptekPX5, Kromo, SPADQDigitizer

The AmptekPX5 device can be introduced in sardana as counter, getting the counts in a given RoI (described in 11.2.10) or as oned experimental channel, getting the whole spectrum. The controller for the AmptekPX5 as oned experimental channels works as an slave of the counter one, for that reason a measurement group requires always a amptek counter if the amptek as oned is included. The entry in the online.xml looks like:

<device>
 <name>amptek_spectrum</name>
 <type>mca</type>
 <module>amptekoned</module>
 <device>petra3/amptek/01</device>
 <control>tango</control>
 <hostname>haso113u:10000</hostname>
</device>

where <module> has to be amptekoned and <name> is arbitrary.

The Kromo detector has to be included in the online.xml setting <module> to kromo, ex.:

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

The Kromo RoIs as counters can be introduced as described in 11.2.10.

The SPADQDigitizer can be introduced in Sardana as OneD detector, getting the whole spectrum. Since the SPADQDigitizer has the two channels in the same tango device, the name of the spectrum attribute corresponding to the channel that want to be integrated in Sardana, has to be given in the online.xml file. For example, for introducing both channels in Sardana:

<device>
 <name>spadq_cha</name>
 <type>type_tango</type>
 <module>spadq</module>
 <device>khz1/spadqdigitizer/khz1.01/DataStreamChA</device>
 <control>tango</control>
 <hostname>cfeld-pcx39081:10000</hostname>
</device>

<device>
 <name>spadq_chB</name>
 <type>type_tango</type>
 <module>spadq</module>
 <device>khz1/spadqdigitizer/khz1.01/DataStreamChB</device>
 <control>tango</control>
 <hostname>cfeld-pcx39081:10000</hostname>
</device>

They can be also be introduced independently using only the corresponding entry. The OneD class for the SPADQDigitizer offers the possibility of defining RoIs and compute the counts in the defined ones. The attributes with the Counts can be added to the active Measurement Group as an external channel and registered during the scan.

2019-11-13