Skip to content

Commit 91fbd75

Browse files
Support variable character limit NDAttributesFile
Following #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.
1 parent de0ce8f commit 91fbd75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ADApp/Db/NDArrayBase.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ record(waveform, "$(P)$(R)NDAttributesFile")
794794
field(DTYP, "asynOctetWrite")
795795
field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))ND_ATTRIBUTES_FILE")
796796
field(FTVL, "CHAR")
797-
field(NELM, "256")
797+
field(NELM, "$(XMLSIZE=256)")
798798
info(autosaveFields, "VAL")
799799
}
800800

0 commit comments

Comments
 (0)