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: Re: double filters
From: Ben Franksen via Core-talk <core-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Fri, 3 Apr 2020 19:42:51 +0200
Hi Andrew,

Am 30.03.20 um 06:08 schrieb Johnson, Andrew N.:
> I’m also thinking of a put filter where you can give individual array
> index values to be written to, so to create a filter that only
> overwrites specific elements of the target array you might want to
> specify a channel filter as
> 
> pvname.{“subset”:[0,1,2,4,6,10,12,16,18]}
> 
> The idea is that there might not be an arithmetic slice/stride
> pattern to the index values.

I have implemented this proposal, albeit with plain bracket notation,
that is you specify "PV[0,1,2,4,6,10,12,16,18]" directly. It is just
another form of address modifier, alongside the "PV[s:i:e]" notation.

The code is probably buggy since I haven't done serious testing yet,
just some experiments with caput and a simple soft IOC. If you are
interested, this is the latest commit on my work branch:

https://code.launchpad.net/~bfrk/epics-base/+git/epics-base/+ref/work

I have also updated all my merge proposals with a forced push to get rid
of unwanted commits and to avoid conflicts with 7.0.

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: double filters Ben Franksen via Core-talk
References:
double filters Ben Franksen via Core-talk
Re: double filters Johnson, Andrew N. via Core-talk
Re: double filters Ben Franksen via Core-talk
Re: double filters Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Build completed: EPICS Base base-3.15-577 AppVeyor via Core-talk
Next: Re: double filters Ben Franksen 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: Re: double filters Ben Franksen via Core-talk
Next: Re: double filters Ben Franksen 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, 03 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·