EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [Merge] ~dirk.zimoch/epics-base:fix_zero_size_arrays into epics-base:7.0
From: Dirk Zimoch via Core-talk <core-talk at aps.anl.gov>
To: mp+386175 at code.launchpad.net
Date: Fri, 17 Jul 2020 13:14:33 -0000
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  <20202021  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  <20202021  2022  2023  2024 
ANJ, 04 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·