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  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1822028] Re: Array records: add initialization through "const" long string link
From: Andrew Johnson via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Mon, 01 Mar 2021 04:19:43 -0000
woz$ cat wf.db 
record(waveform, wf) {
  field(FTVL, CHAR)
  field(NELM, 80)
  field(INP, {const: "ABCD"})
}
woz$ softIoc -d wf.db 
Starting iocInit
############################################################################
## EPICS R7.0.5
## Rev. R7.0.5
############################################################################
iocRun: All initialization complete
epics> dbgf wf
DBF_CHAR[5]:        "ABCD"    

** Changed in: epics-base/7.0
    Milestone: None => 7.0.5

** Changed in: epics-base/7.0
     Assignee: (unassigned) => Andrew Johnson (anj)

** Changed in: epics-base/7.0
       Status: Triaged => Fix Committed

** Changed in: epics-base/7.0
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1822028

Title:
  Array records: add initialization through "const" long string link

Status in EPICS Base:
  Fix Released
Status in EPICS Base 7.0 series:
  Fix Released

Bug description:
  For array records (waveform & friends), initialization of array data
  can be done through a const link, e.g.

  field(INP, { const: [65, 66, 67, 68] } )

  Array records of value type CHAR should also allow initialization
  through a string, so that the const link shown above can be specified
  as

  field(INP, { const: "ABCD" } )

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1822028/+subscriptions

Navigate by Date:
Prev: [Bug 541188] Re: makeBaseExt documentation missing Andrew Johnson via Core-talk
Next: [Bug 1896295] Re: WIN32: IOC scan loops hang Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: [Bug 541188] Re: makeBaseExt documentation missing Andrew Johnson via Core-talk
Next: [Bug 1904207] Re: softIocPVA calls iocInit unrequested and then complains Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 28 Feb 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·