Hello,
I am trying to configure hdf5 plugin to save N images with 4 ROI data (start, size), and 4 Stats, connected to ROIs ( total , maxValue).
I have created Attributes.xml file following example from ADSimDetector. type="EPICS_PV" works, however type="PARAM" does not for parameters from areaDetector/ADCore/ADApp/pluginSrc/, but does work for params from areaDetector/ADCore/ADApp/ADSrc/.
It looks like with "EPICS_PV" type statistics data come from the previous frame.
I was wondering if there is something I am missing, or there are other ways to get the correct statistics into the hdf5 file. I have tried using Stats, ROIStats, and ROI plugins.
The green attributes are correctly saved, others show NaN in hdf5 file.
I have ADCore 3.6.0; ADPilatus 2.6.0
Thank you
Attributes.xml:
<?xml version="1.0" standalone="no" ?>
<!-- Attributes -->
<Attributes
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../ADCore/XML_schema/NDAttributes.xsd"
>
<Attribute name="DriverFileName" type="PARAM" source="FULL_FILE_NAME" datatype="STRING" description="Driver file name"/>
<Attribute name="ROI0Size" type="PARAM" source="DIM0_SIZE" datatype="INT" description="X size ROI 0"/>
<Attribute name="ROI0Mean" type="PARAM" source="MEAN_VALUE" datatype="DOUBLE" description="Mean value ROI 0"/>
<Attribute name="ROI1Mean" type="PARAM" source="MEAN_VALUE" addr="1" datatype="DOUBLE" description="Mean value ROI 0"/>
<Attribute name="_ROI0Total" type="PARAM" source="ROISTAT_TOTAL" datatype="DOUBLE" description="Total counts ROI 0"/>
<Attribute name="_ROI1Total" type="PARAM" source="ROISTAT_TOTAL" addr="1" datatype="DOUBLE" description="Total counts ROI 1"/>
<Attribute name="MaxSizeX" type="PARAM" source="MAX_SIZE_X" datatype="INT" description="Detector X size"/>
<Attribute name="MaxSizeY" type="PARAM" source="MAX_SIZE_Y" datatype="INT" description="Detector Y size"/>
<Attribute name="CameraModel" type="PARAM" source="MODEL" datatype="STRING" description="Camera model"/>
<Attribute name="AttributesFileParam" type="PARAM" source="ND_ATTRIBUTES_FILE" datatype="STRING" description="Attributes file param"/>
<Attribute name="CameraManufacturer" type="PARAM" source="MANUFACTURER" datatype="STRING" description="Camera manufacturer"/>
</Attributes>