EPICS Home

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 1918909] [NEW] channel filters don't work wit PVA
From: Dirk Zimoch via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Fri, 12 Mar 2021 09:26:46 -0000
Public bug reported:

When using pvget with filters, only the number of elements is adjusted but not the data.
It works with Channel Access.

Example record:

record (aai, "TEST") {
field(FTVL, "SHORT")
field(NELM, "10")
field(INP, [9,8,7,6,5,4,3,2,1])
field(PINI, "YES")
info(test, "Hello World")
}

$ caget TEST TEST.{arr:{s:5}} TEST.{arr:{i:2}} 'TEST.{info:{n:"test"}}'
TEST 10 9 8 7 6 5 4 3 2 1 0
TEST.{arr:{s:5}} 5 4 3 2 1 0
TEST.{arr:{i:2}} 5 9 7 5 3 1
TEST.{info:{n:"test"}}         Hello World

$ pvget TEST TEST.{arr:{s:5}} TEST.{arr:{i:2}} 'TEST.{info:{n:"test"}}'
TEST                   2021-03-12 10:23:15.524  [9,8,7,6,5,4,3,2,1]
TEST.{arr:{s:5}}       2021-03-12 10:23:15.524  [9,8,7,6,5]
TEST.{arr:{i:2}}       2021-03-12 10:23:15.524  [9,8,7,6,5]
TEST.{info:{n:"test"}} 2021-03-12 10:23:15.524  9

** Affects: epics-base
     Importance: Undecided
         Status: New

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

Title:
  channel filters don't work wit PVA

Status in EPICS Base:
  New

Bug description:
  When using pvget with filters, only the number of elements is adjusted but not the data.
  It works with Channel Access.

  Example record:

  record (aai, "TEST") {
  field(FTVL, "SHORT")
  field(NELM, "10")
  field(INP, [9,8,7,6,5,4,3,2,1])
  field(PINI, "YES")
  info(test, "Hello World")
  }

  $ caget TEST TEST.{arr:{s:5}} TEST.{arr:{i:2}} 'TEST.{info:{n:"test"}}'
  TEST 10 9 8 7 6 5 4 3 2 1 0
  TEST.{arr:{s:5}} 5 4 3 2 1 0
  TEST.{arr:{i:2}} 5 9 7 5 3 1
  TEST.{info:{n:"test"}}         Hello World

  $ pvget TEST TEST.{arr:{s:5}} TEST.{arr:{i:2}} 'TEST.{info:{n:"test"}}'
  TEST                   2021-03-12 10:23:15.524  [9,8,7,6,5,4,3,2,1]
  TEST.{arr:{s:5}}       2021-03-12 10:23:15.524  [9,8,7,6,5]
  TEST.{arr:{i:2}}       2021-03-12 10:23:15.524  [9,8,7,6,5]
  TEST.{info:{n:"test"}} 2021-03-12 10:23:15.524  9

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

Replies:
[Bug 1918909] Re: channel filters don't work wit PVA mdavidsaver via Core-talk
[Bug 1918909] Re: channel filters don't work wit PVA mdavidsaver via Core-talk
[Bug 1918909] Re: channel filters don't work wit PVA Andrew Johnson via Core-talk

Navigate by Date:
Prev: [Bug 1905159] Re: Fix warnings from recent compiler versions Gabriel Fedel via Core-talk
Next: Re: IPv6 Jeong Han Lee 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: Build completed: EPICS Base 3.15 base-3.15-77 AppVeyor via Core-talk
Next: [Bug 1918909] Re: channel filters don't work wit PVA mdavidsaver 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