epics> dbpf array_of_numbers "[1,2,3]" DBF_DOUBLE[3]: 1 2 3 epics> dbpf string "[1,2,3]" DBF_STRING: "[1,2,3]" epics> dbpf array_of_strings "[1,2,3]" DBF_STRING[3]: "1" "2" "3" epics> dbpf array_of_strings '"[1,2,3]"' DBF_STRING: "[1,2,3]" epics> dbpf string "bla" DBF_STRING: "bla" epics> dbpf array_of_strings "bla" dbConvertJSON: lexical error: invalid char in json text. bla (right here) ------^ epics> dbpf array_of_strings '"bla"' DBF_STRING: "bla" epics> dbpf array_of_chars "bla" DBF_CHAR[4]: "bla" epics> dbpf array_of_chars "[0x41,0x42,0x43]" DBF_CHAR[17]: "[0x41,0x42,0x43]"
Should I support 1) writing plain strings into arrays of string? 2) writing arrays of integers into arrays of char?
« Back to merge proposal
epics> dbpf array_of_numbers "[1,2,3]"
bla
(right here) ------^
DBF_DOUBLE[3]: 1 2 3
epics> dbpf string "[1,2,3]"
DBF_STRING: "[1,2,3]"
epics> dbpf array_of_strings "[1,2,3]"
DBF_STRING[3]: "1" "2" "3"
epics> dbpf array_of_strings '"[1,2,3]"'
DBF_STRING: "[1,2,3]"
epics> dbpf string "bla"
DBF_STRING: "bla"
epics> dbpf array_of_strings "bla"
dbConvertJSON: lexical error: invalid char in json text.
epics> dbpf array_of_strings '"bla"'
DBF_STRING: "bla"
epics> dbpf array_of_chars "bla"
DBF_CHAR[4]: "bla"
epics> dbpf array_of_chars "[0x41,0x42,0x43]"
DBF_CHAR[17]: "[0x41,0x42,0x43]"
Should I support
1) writing plain strings into arrays of string?
2) writing arrays of integers into arrays of char?