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

Subject: [Bug 2031563] Re: json input link with calc->expr->pva not working
From: Niko Kivel via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Wed, 16 Aug 2023 19:22:40 -0000
** Description changed:

  The database below fails with
  ```
  pvaLink void {anonymous}::pvaOpenLink(DBLINK*) fails MTEST-JSON:inp_json_calc: DBLINK* corrupt
  ```
  
  system details:
  linux x86_64
  EPICS R7.0.7-DEV, as well as R7.0.7
  
  database
  ```
  record(ai, "MTEST-JSON:A1") {
-     field(VAL,  1)
-     field(PINI, 1)
+     field(VAL,  1)
+     field(PINI, 1)
  }
  
  record(ai, "MTEST-JSON:inp_json_calc") {
-     field(INP,
-         {
-             "calc": {
-                 "expr": "A|B|C",
-                 "args": [
-                     {
-                         "const": 0
-                     },
-                     0,
-                     {
-                         "pva": {
-                             "pv": "MTEST-JSON:A1",
-                             "field":"VAL",
-                         }
-                     }
-                 ]
-             }
-         }
-     )
+     field(INP,
+         {
+             "calc": {
+                 "expr": "A|B|C",
+                 "args": [
+                     {
+                         "const": 0
+                     },
+                     0,
+                     {
+                         "pva": {
+                             "pv": "MTEST-JSON:A1",
+                             "proc": "CP"
+                         }
+                     }
+                 ]
+             }
+         }
+     )
  }
  ```

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

Title:
  json input link with calc->expr->pva not working

Status in EPICS Base:
  New

Bug description:
  The database below fails with
  ```
  pvaLink void {anonymous}::pvaOpenLink(DBLINK*) fails MTEST-JSON:inp_json_calc: DBLINK* corrupt
  ```

  system details:
  linux x86_64
  EPICS R7.0.7-DEV, as well as R7.0.7

  database
  ```
  record(ai, "MTEST-JSON:A1") {
      field(VAL,  1)
      field(PINI, 1)
  }

  record(ai, "MTEST-JSON:inp_json_calc") {
      field(INP,
          {
              "calc": {
                  "expr": "A|B|C",
                  "args": [
                      {
                          "const": 0
                      },
                      0,
                      {
                          "pva": {
                              "pv": "MTEST-JSON:A1",
                              "proc": "CP"
                          }
                      }
                  ]
              }
          }
      )
  }
  ```

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


References:
[Bug 2031563] [NEW] json input link with calc->expr->pva not working Niko Kivel via Core-talk

Navigate by Date:
Prev: [Bug 2031563] [NEW] json input link with calc->expr->pva not working Niko Kivel via Core-talk
Next: [Bug 2031563] Re: json input link with calc->expr->pva not working Niko Kivel 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  <20232024 
Navigate by Thread:
Prev: [Bug 2031563] [NEW] json input link with calc->expr->pva not working Niko Kivel via Core-talk
Next: [Bug 2031563] Re: json input link with calc->expr->pva not working Niko Kivel 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  <20232024 
ANJ, 16 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·