Experimental Physics and Industrial Control System
|
To answer the original question: The array filter test (modules/database/test/std/filters/arrTest.cpp)
creates "double" array filters that look like:
{"arr":{},"arr":{"s":x,"e":y,"i":z}}
Apparently this is interpreted by EPICS base to mean two array filters
in succession, first the left, then the right.
According to the JSON standard this is allowed. But is it a good idea?
Are there practical use cases? (The test where I've seen this doesn't
count IMO).
As far as I recall (that was 8 years ago, and Michael wrote the tests), that test verifies that the array filter functionality works inside a filter chain, i.e., with with another filter providing the input data, not a record. The easiest way to achieve that without adding another dependency is to use two array filters in a chain. I don't think this test was driven by a specific use case.
Cheers, ~Ralph
- References:
- double filters Ben Franksen via Core-talk
- Navigate by Date:
- Prev:
Re: [Merge] ~bfrk/epics-base:zero-size-array-request into epics-base:7.0 mdavidsaver via Core-talk
- Next:
Re: double filters Ralph Lange 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
2023
2024
- Navigate by Thread:
- Prev:
Re: double filters Ralph Lange via Core-talk
- Next:
debugger w/ reverse execution Michael Davidsaver 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
2023
2024
|
ANJ, 30 Mar 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|