Adding any Tango Attribute as a ZeroD experimental channel in the MeasurementGroup

Any Tango attribute can be made available as a zerod experimental channel in sardana. In this case the value readout during the scan will be the average of the values readout during the acquisition time. The frequency for reading the values to average is by defautl 10 ms, it can be changed setting a property called AcqLoop_SleepTime (in seconds) in the pool device.

The entry in the online.xml has to be:

<device>
 <name>anyname</name>
 <type>counter</type>
 <module>tangoattributezerodctrl</module>
 <device>p09/tempdevice/exp.01/Temperature</device>
 <control>tango</control>
 <hostname>haso111n:10000</hostname>
</device>

where <module> has to be tangoattributezerodctrl and <device> has to contain not only the name of the device the attribute belongs to but also the name of the attribute itself.



2019-12-04