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: [Bug 1858829] [NEW] caget returns wrong data when used with subArray record
From: Martin Konrad via Core-talk <[email protected]>
To: [email protected]
Date: Wed, 08 Jan 2020 17:07:34 -0000
Public bug reported:

Asynchronous caget, camonitor and CS-Studio probe work correctly:

$ caget -c LS1_CA01:RFA_D1150:SN_RD
LS1_CA01:RFA_D1150:SN_RD       1000
konrad@work-ftc-r4300-03:~$ camonitor LS1_CA01:RFA_D1150:SN_RD
LS1_CA01:RFA_D1150:SN_RD       2019-02-07 10:34:32.575448 1000
^C

However, synchronous caget prints the whole array rather than just the
element the subArray record extracts:

$ caget LS1_CA01:RFA_D1150:SN_RD
LS1_CA01:RFA_D1150:SN_RD 17 1000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

See the attached file for details about the record.

** Affects: epics-base
     Importance: Undecided
     Assignee: Martin Konrad (info-martin-konrad)
         Status: New


** Tags: codeathon

** Attachment added: "output of dbpr"
   https://bugs.launchpad.net/bugs/1858829/+attachment/5318624/+files/IOC%20shell.txt

** Changed in: epics-base
     Assignee: (unassigned) => Martin Konrad (info-martin-konrad)

-- 
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/1858829

Title:
  caget returns wrong data when used with subArray record

Status in EPICS Base:
  New

Bug description:
  Asynchronous caget, camonitor and CS-Studio probe work correctly:

  $ caget -c LS1_CA01:RFA_D1150:SN_RD
  LS1_CA01:RFA_D1150:SN_RD       1000
  konrad@work-ftc-r4300-03:~$ camonitor LS1_CA01:RFA_D1150:SN_RD
  LS1_CA01:RFA_D1150:SN_RD       2019-02-07 10:34:32.575448 1000
  ^C

  However, synchronous caget prints the whole array rather than just the
  element the subArray record extracts:

  $ caget LS1_CA01:RFA_D1150:SN_RD
  LS1_CA01:RFA_D1150:SN_RD 17 1000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

  See the attached file for details about the record.

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

Navigate by Date:
Prev: [Bug 1858826] [NEW] subArray record: prevent posting unneeded updates on CA Martin Konrad via Core-talk
Next: Jenkins build is still unstable: epics-base-3.15-win32-test #262 APS Jenkins 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: [Bug 1858826] [NEW] subArray record: prevent posting unneeded updates on CA Martin Konrad via Core-talk
Next: Jenkins build is still unstable: epics-base-3.15-win32-test #262 APS Jenkins 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, 08 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·