The counter corresponding to the RoI defined in a PSCameraVHR device has to be introduced in the online.xml file in the following way:
<device> <name>roiname</name> <type>counter</type> <module>pscameravhrroi</module> <device>p09/pscameravhr/exp.01</device> <control>tango</control> <hostname>haspp09mono:10000</hostname> </device>
where <module> has to be pscameravhrroi. The online.xml has to contain also the entry corresponding to the PSCameraVHR tango device as oned experimental channel, introduced as described in 11.2.1.
The oned experimental channel for the PSCamerVHR device has to be always included as oned in the MG if its RoI is included as counter.
The RoI is defined in the PSCameraVHR tango device and the calculation of the corresponding counts is also perfomed there. The sardana controller only reads the counts from the tango device.