Skip to content

Support XML string and file path for NDAttributesFile#503

Merged
MarkRivers merged 1 commit intoareaDetector:masterfrom
marcelldls:add-xmlstring-NDAttributesFile
Feb 9, 2024
Merged

Support XML string and file path for NDAttributesFile#503
MarkRivers merged 1 commit intoareaDetector:masterfrom
marcelldls:add-xmlstring-NDAttributesFile

Conversation

@marcelldls
Copy link
Contributor

closes #502 @coretl Tested against the example XML from ADCore/ADApp/ADSrc/asynNDArrayDriver.cpp

@coretl
Copy link
Contributor

coretl commented Feb 9, 2024

@MarkRivers are we ok to merge this?

@MarkRivers
Copy link
Member

Yes, doing it now.

@MarkRivers MarkRivers merged commit 5f0f202 into areaDetector:master Feb 9, 2024
callumforrester added a commit to callumforrester/ADCore that referenced this pull request Aug 22, 2025
Following areaDetector#503
the NDAttributesFile record can also directly contain an XML string,
however the record is still limited to 256 characters, which may not be
enough to accomodate a large blob of XML. This adds a macro,
NDATTRIBUTES_XML_CHAR_LIMIT, with a default of 256, so IOCs can be
configured to accomodate larger blobs of XML.
callumforrester added a commit to callumforrester/ADCore that referenced this pull request Aug 22, 2025
Following areaDetector#503
the NDAttributesFile record can also directly contain an XML string,
however the record is still limited to 256 characters, which may not be
enough to accomodate a large blob of XML. This adds a macro,
NDATTRIBUTES_XML_CHAR_LIMIT, with a default of 256, so IOCs can be
configured to accomodate larger blobs of XML.
callumforrester added a commit to callumforrester/ADCore that referenced this pull request Aug 26, 2025
Following areaDetector#503
the NDAttributesFile record can also directly contain an XML string,
however the record is still limited to 256 characters, which may not be
enough to accomodate a large blob of XML. This adds a macro,
XMLSIZE, with a default of 256, so IOCs can be
configured to accomodate larger blobs of XML.
callumforrester added a commit to DiamondLightSource/ADCore that referenced this pull request Aug 26, 2025
Following areaDetector#503
the NDAttributesFile record can also directly contain an XML string,
however the record is still limited to 256 characters, which may not be
enough to accomodate a large blob of XML. This adds a macro,
XMLSIZE, with a default of 256, so IOCs can be
configured to accomodate larger blobs of XML.
GDYendell pushed a commit to DiamondLightSource/ADCore that referenced this pull request Aug 26, 2025
Following areaDetector#503
the NDAttributesFile record can also directly contain an XML string,
however the record is still limited to 256 characters, which may not be
enough to accomodate a large blob of XML. This adds a macro,
XMLSIZE, with a default of 256, so IOCs can be
configured to accomodate larger blobs of XML.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support XML string as well as file path in NDAttributesFile

3 participants