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?
--
https://code.launchpad.net/~dirk.zimoch/epics-base/+git/epics-base/+merge/386175
Your team EPICS Core Developers is subscribed to branch epics-base:7.0.
- References:
- [Merge] ~dirk.zimoch/epics-base:fix_zero_size_arrays into epics-base:7.0 Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
Re: [Merge] ~dirk.zimoch/epics-base:fix_zero_size_arrays into epics-base:7.0 Dirk Zimoch via Core-talk
- Next:
[Bug 1887981] [NEW] json parser should accept hex numbers Dirk Zimoch via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: [Merge] ~dirk.zimoch/epics-base:fix_zero_size_arrays into epics-base:7.0 Dirk Zimoch via Core-talk
- Next:
Re: [Merge] ~dirk.zimoch/epics-base:fix_zero_size_arrays into epics-base:7.0 Dirk Zimoch via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|