Experimental Physics and Industrial Control System
|
My regular IOC has a waveform record with the initial value ["aaa", "bbb", "ccc"] as follows,
![](pngj0VtZR1FaL.png)
caput CLI without double quotation marks will write data to different elements of the waveform record as follows,
![](pngwm5pvbzCIU.png)
caput CLI with double quotation marks around the whole data will write the data to the first element of the waveform record as follows,
![](pngCYgKzygkgI.png)
In addition, if the data to be writen exceeds the count limit of the recrod or the casPV, caput CLI will return an error as follows instead of crashing the server side.
![](pnggxDScHpSPm.png)
Thanks, Lin
-----原始邮件-----
发件人: "Ralph Lange via Tech-talk" <tech-talk at aps.anl.gov>
发送时间: 2023-12-14 16:54:17 (星期四)
收件人: "EPICS Tech Talk" <tech-talk at aps.anl.gov>
主题: Re: Crash when caput array of string to pcaspy or PCAS server tool
A regular IOC with the following waveform record works properly with the caput CLI comes with EPICS 3.14.12.8 or EPICS 7.0.7.
record(waveform, "wfExample") { field(DTYP, "Soft Channel") field(FTVL, "STRING") field(NELM, "3") field(INP, ["aaa", "bbb", "ccc"]) }
![](pngJRd_kowqrJ.png)
Hm... Can you double check if that is a single element ("xxx yyy zzz") or three elements ("xxx", "yyy", "zzz") in the record? (Might look the same on the command line.)
Cheers, ~Ralph
- References:
- Crash when caput array of string to pcaspy or PCAS server tool Wang, Lin via Tech-talk
- Re: Crash when caput array of string to pcaspy or PCAS server tool Ralph Lange via Tech-talk
- Re: Crash when caput array of string to pcaspy or PCAS server tool Wang, Lin via Tech-talk
- Re: Crash when caput array of string to pcaspy or PCAS server tool Ralph Lange via Tech-talk
- Navigate by Date:
- Prev:
Re: is there an EPICS module to makePvToArchiveFromDbInfo() ? Simon Rose via Tech-talk
- Next:
RE: is there an EPICS module to makePvToArchiveFromDbInfo() ? Pearson, Matthew via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
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: Crash when caput array of string to pcaspy or PCAS server tool Ralph Lange via Tech-talk
- Next:
is there an EPICS module to makePvToArchiveFromDbInfo() ? NADOT Victor via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
|
ANJ, 14 Dec 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|