<?xml version="1.0" standalone="no" ?>
<!-- Attributes -->
<Attributes
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://epics.aps.anl.gov/areaDetector/attributes ../attributes.xsd"
    >
    <Attribute name="Manufacturer"        type="PARAM"    source="MANUFACTURER"                 datatype="STRING"     description="Camera manufacturer"/>
    <Attribute name="Model"               type="PARAM"    source="MODEL"                        datatype="STRING"     description="Camera model"/>
    <Attribute name="Serial"              type="PARAM"    source="PG_SERIAL_NUMBER"             datatype="INT"        description="Camera serial number"/>
    <Attribute name="Firmware"            type="PARAM"    source="PG_FIRMWARE_VERSION"          datatype="STRING"     description="Camera firmware version"/>
    <Attribute name="Software"            type="PARAM"    source="PG_SOFTWARE_VERSION"          datatype="STRING"     description="Camera software version"/>
    <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="SaveDest"            type="EPICS_PV" source="32idcPG3:cam1:FrameType"      dbrtype="DBR_STRING"  description="Data save destination"/>

    <Attribute name="AcqTime"             type="PARAM"    source="ACQ_TIME"                     datatype="DOUBLE"     description="Acquire Time"/>
    <Attribute name="AcqPeriod"           type="PARAM"    source="ACQ_PERIOD"                   datatype="DOUBLE"     description="Acquire Period"/>
    <Attribute name="Temperature"         type="PARAM"    source="TEMPERATURE_ACTUAL"           datatype="DOUBLE"     description="Camera temperature"/>
    <Attribute name="Gain"                type="PARAM"    source="GAIN"                         datatype="DOUBLE"     description="Gain"/>
    <Attribute name="BinX"                type="PARAM"    source="BIN_X"                        datatype="INT"        description="Detector X bin"/>
    <Attribute name="BinY"                type="PARAM"    source="BIN_Y"                        datatype="INT"        description="Detector Y bin"/>
    <Attribute name="MinX"                type="PARAM"    source="MIN_X"                        datatype="INT"        description="ROI Min X"/>
    <Attribute name="MinY"                type="PARAM"    source="MIN_Y"                        datatype="INT"        description="ROI Min Y"/>
    <Attribute name="SizeX"               type="PARAM"    source="SIZE_X"                       datatype="INT"        description="ROI Size X"/>
    <Attribute name="SizeY"               type="PARAM"    source="SIZE_Y"                       datatype="INT"        description="ROI Size Y"/>

    <Attribute name="FrameRate"           type="PARAM"    source="PG_FRAME_RATE"                datatype="INT"        description="Camera frame rate"/>

    <Attribute name="DateTimeStart"       type="EPICS_PV" source="S:IOC:timeOfDayISO8601"       dbrtype="DBR_STRING"/>
    <Attribute name="DateTimeEnd"         type="EPICS_PV" source="S:IOC:timeOfDayISO8601"       dbrtype="DBR_STRING"/>
    <Attribute name="Current"             type="EPICS_PV" source="S:SRcurrentAI"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="TopUpStatus"         type="EPICS_PV" source="S:TopUpStatus"                dbrtype="DBR_ENUM"/>
    <Attribute name="SourceEnergy"        type="EPICS_PV" source="ID32ds:Energy.VAL"            dbrtype="DBR_DOUBLE"/>
    <Attribute name="SourceGap"           type="EPICS_PV" source="ID32ds:Gap.VAL"               dbrtype="DBR_DOUBLE"/>
    <Attribute name="Energy"              type="EPICS_PV" source="32ida:BraggEAO.VAL"           dbrtype="DBR_DOUBLE"/>

    <Attribute name="MirrorX"             type="EPICS_PV" source="32idbMIR:m1.RBV"              dbrtype="DBR_DOUBLE"/>
    <Attribute name="MirrorY"             type="EPICS_PV" source="32idbMIR:m2.RBV"              dbrtype="DBR_DOUBLE"/>
    <Attribute name="MirrorStripe"        type="EPICS_PV" source="32idbMIR:seq01:text.VAL"      dbrtype="DBR_STRING"/>

    <Attribute name="DCMTheta"            type="EPICS_PV" source="32ida:m1.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMTheta2"           type="EPICS_PV" source="32ida:m2.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMChi2"             type="EPICS_PV" source="32ida:m3.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMX"                type="EPICS_PV" source="32ida:m4.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMY"                type="EPICS_PV" source="32ida:m5.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMX2"               type="EPICS_PV" source="32ida:m6.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMY1"               type="EPICS_PV" source="32ida:m7.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMZ2"               type="EPICS_PV" source="32ida:m8.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMFlag"             type="EPICS_PV" source="32idb:m5.VAL"                 dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMThetaDial"        type="EPICS_PV" source="32ida:m1.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMTheta2Dial"       type="EPICS_PV" source="32ida:m2.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMChi2Dial"         type="EPICS_PV" source="32ida:m3.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMXDial"            type="EPICS_PV" source="32ida:m4.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMYDial"            type="EPICS_PV" source="32ida:m5.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMX2Dial"           type="EPICS_PV" source="32ida:m6.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMY1Dial"           type="EPICS_PV" source="32ida:m7.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMZ2Dial"           type="EPICS_PV" source="32ida:m8.DVAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="DCMFlagDial"         type="EPICS_PV" source="32idb:m5.DVAL"                dbrtype="DBR_DOUBLE"/>

    <Attribute name="UserName"            type="EPICS_PV" source="32idcTXM:UserName"            dbrtype="DBR_STRING"/>
    <Attribute name="UserAffiliation"     type="EPICS_PV" source="32idcTXM:UserInstitution"     dbrtype="DBR_STRING"/>
    <Attribute name="UserBadge"           type="EPICS_PV" source="32idcTXM:UserBadge"           dbrtype="DBR_STRING"/>
    <Attribute name="UserEmail"           type="EPICS_PV" source="32idcTXM:UserEmail"           dbrtype="DBR_STRING"/>
    <Attribute name="SampleName"          type="EPICS_PV" source="32idcPG3:HDF1:FileName"       dbrtype="DBR_STRING"/>
    <Attribute name="FilePath"            type="EPICS_PV" source="32idcPG3:HDF1:FilePath_RBV"   dbrtype="DBR_STRING"/>

    <Attribute name="ProposalNumber"      type="EPICS_PV" source="32idcTXM:ProposalNumber"      dbrtype="DBR_STRING"/>
    <Attribute name="ProposalTitle"       type="EPICS_PV" source="32idcTXM:ProposalTitle"       dbrtype="DBR_STRING"/>

    <Attribute name="BeamMonitorX"        type="EPICS_PV" source="32idcTXM:xps:c1:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamMonitorY"        type="EPICS_PV" source="32idcTXM:nf:c0:m3.VAL"        dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamMonitorXDial"    type="EPICS_PV" source="32idcTXM:xps:c1:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamMonitorYDial"    type="EPICS_PV" source="32idcTXM:nf:c0:m3.DVAL"       dbrtype="DBR_DOUBLE"/>

    <Attribute name="FilterX"             type="EPICS_PV" source="32idcTXM:xps:c2:m1.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="FilterXDial"         type="EPICS_PV" source="32idcTXM:xps:c2:m1.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="Diffuser"            type="EPICS_PV" source="32idcTXM:xps:c1:m6.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="DiffuserDial"        type="EPICS_PV" source="32idcTXM:xps:c1:m6.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="BeamStopX"           type="EPICS_PV" source="32idcTXM:mcs:c2:m1.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamStopY"           type="EPICS_PV" source="32idcTXM:mcs:c3:m6.VAL"        dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamStopXDial"       type="EPICS_PV" source="32idcTXM:mcs:c2:m1.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="BeamStopYDial"       type="EPICS_PV" source="32idcTXM:mcs:c3:m6.DVAL"       dbrtype="DBR_DOUBLE"/>

    <Attribute name="CrlX"                type="EPICS_PV" source="32idb:m32.VAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlY"                type="EPICS_PV" source="32idb:m28.VAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlPitch"            type="EPICS_PV" source="32idb:m26.VAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlYaw"              type="EPICS_PV" source="32idb:m27.VAL"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlTableY"           type="EPICS_PV" source="32idb:tblUp.Y"                dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlXDial"            type="EPICS_PV" source="32idb:m32.DVAL"               dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlYDial"            type="EPICS_PV" source="32idb:m28.DVAL"               dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlPitchDial"        type="EPICS_PV" source="32idb:m26.DVAL"               dbrtype="DBR_DOUBLE"/>
    <Attribute name="CrlYawDial"          type="EPICS_PV" source="32idb:m27.DVAL"               dbrtype="DBR_DOUBLE"/>

    <Attribute name="CondenserYaw"        type="EPICS_PV" source="32idcTXM:mcs:c3:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserPitch"      type="EPICS_PV" source="32idcTXM:mcs:c3:m4.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserYawDial"    type="EPICS_PV" source="32idcTXM:mcs:c3:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserPitchDial"  type="EPICS_PV" source="32idcTXM:mcs:c3:m4.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="CondenserX"          type="EPICS_PV" source="32idcTXM:mcs:c3:m3.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserY"          type="EPICS_PV" source="32idcTXM:mcs:c3:m5.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserZ"          type="EPICS_PV" source="32idcTXM:mxv:c1:m5.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserXDial"      type="EPICS_PV" source="32idcTXM:mcs:c3:m3.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserYDial"      type="EPICS_PV" source="32idcTXM:mcs:c3:m5.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CondenserZDial"      type="EPICS_PV" source="32idcTXM:mxv:c1:m5.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="PinHoleX"            type="EPICS_PV" source="32idcTXM:xps:c1:m3.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="PinHoleY"            type="EPICS_PV" source="32idcTXM:xps:c1:m4.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="PinHoleZ"            type="EPICS_PV" source="32idcTXM:xps:c1:m5.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="PinHoleXDial"        type="EPICS_PV" source="32idcTXM:xps:c1:m3.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="PinHoleYDial"        type="EPICS_PV" source="32idcTXM:xps:c1:m4.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="PinHoleZDial"        type="EPICS_PV" source="32idcTXM:xps:c1:m5.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="SampleX"             type="EPICS_PV" source="32idcTXM:nf:c0:m1.VAL"        dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleY"             type="EPICS_PV" source="32idcTXM:mxv:c1:m1.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleRotary"        type="EPICS_PV" source="32idcTXM:ens:c0:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleXDial"         type="EPICS_PV" source="32idcTXM:nf:c0:m1.DVAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleYDial"         type="EPICS_PV" source="32idcTXM:mxv:c1:m1.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleRotaryDial"    type="EPICS_PV" source="32idcTXM:ens:c0:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleTopX"          type="EPICS_PV" source="32idcTXM:mcs:c1:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleTopZ"          type="EPICS_PV" source="32idcTXM:mcs:c1:m1.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleTopXDial"      type="EPICS_PV" source="32idcTXM:mcs:c1:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="SampleTopZDial"      type="EPICS_PV" source="32idcTXM:mcs:c1:m1.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="ZonePlateX"          type="EPICS_PV" source="32idcTXM:mcs:c2:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlateY"          type="EPICS_PV" source="32idc01:m110.VAL"             dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlateZ"          type="EPICS_PV" source="32idcTXM:mcs:c2:m3.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlateXDial"      type="EPICS_PV" source="32idcTXM:mcs:c2:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlateYDial"      type="EPICS_PV" source="32idc01:m110.DVAL"            dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlateZDial"      type="EPICS_PV" source="32idcTXM:mcs:c2:m3.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndX"       type="EPICS_PV" source="32idcTXM:mcs:c0:m3.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndY"       type="EPICS_PV" source="32idcTXM:mcs:c0:m1.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndZ"       type="EPICS_PV" source="32idcTXM:mcs:c0:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndXDial"   type="EPICS_PV" source="32idcTXM:mcs:c0:m3.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndYDial"   type="EPICS_PV" source="32idcTXM:mcs:c0:m1.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="ZonePlate2ndZDial"   type="EPICS_PV" source="32idcTXM:mcs:c0:m2.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="BertrandX"           type="EPICS_PV" source="32idcTXM:nf:c0:m4.VAL"        dbrtype="DBR_DOUBLE"/>
    <Attribute name="BertrandY"           type="EPICS_PV" source="32idcTXM:nf:c0:m5.VAL"        dbrtype="DBR_DOUBLE"/>
    <Attribute name="BertrandXDial"       type="EPICS_PV" source="32idcTXM:nf:c0:m4.DVAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="BertrandYDial"       type="EPICS_PV" source="32idcTXM:nf:c0:m5.DVAL"       dbrtype="DBR_DOUBLE"/>

    <Attribute name="FlightTubeZ"         type="EPICS_PV" source="32idcTXM:mxv:c1:m8.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="FlightTubeZDial"     type="EPICS_PV" source="32idcTXM:mxv:c1:m8.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="CcdCameraX"          type="EPICS_PV" source="32idcTXM:mxv:c1:m3.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdCameraY"          type="EPICS_PV" source="32idcTXM:mxv:c1:m4.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdCameraZ"          type="EPICS_PV" source="32idcTXM:mxv:c1:m6.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdCameraXDial"      type="EPICS_PV" source="32idcTXM:mxv:c1:m3.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdCameraYDial"      type="EPICS_PV" source="32idcTXM:mxv:c1:m4.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdCameraZDial"      type="EPICS_PV" source="32idcTXM:mxv:c1:m6.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="CcdYaw"              type="EPICS_PV" source="32idcTXM:xps:c2:m7.VAL"       dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdYawDial"          type="EPICS_PV" source="32idcTXM:xps:c2:m7.DVAL"      dbrtype="DBR_DOUBLE"/>

    <Attribute name="CcdObjectiveDial"    type="EPICS_PV" source="32idcTXM:xps:c2:m2.DVAL"      dbrtype="DBR_DOUBLE"/>
    <Attribute name="CcdObjective"        type="EPICS_PV" source="32idcTXM:xps:c2:m2.VAL"       dbrtype="DBR_DOUBLE"/>
    

 <!--   <Attribute name="Theta"               type="EPICS_PV" source="32idcTXM:hydra:c0:m1.VAL"     dbrtype="DBR_DOUBLE"/> -->

</Attributes>
    
    
