Hi Michael,
Thanks for your reply.
I was suspicious, because I had the feeling I used it in the past... Can you maybe then give me a clue why I can't make it work in a simple example?
This is my db file:
record(calc, "Test:counter") {
field(INPA, " Test:counter")
field(CALC, "A+1")
field(SCAN, "1 second")
}
And I run it using softIocPVA.
If I do
camonitor 'Test:counter.{"dec":{"n":2}}'
I get every second update, while if I do
pvmonitor 'Test:counter.{"dec":{"n":2}}'
I get nothing. Funny enough, if I do
pvmonitor 'Test:counter.{"dec":{"n":1}}'
then I get every update...
I am using base 7.0.4, but I also tested 7.0.3.1, which is the one I used in the past when testing the filters.
Cheers,
Juan
On 2020-07-01, 15:39, "Michael Davidsaver" <
mdavidsaver at gmail.com> wrote:
On 7/1/20 2:59 AM, Juan F. Esteban Müller via Tech-talk wrote:
Hi all,
I would like to know if there is anything equivalent to the CA decimation filter in PV access.
https://epics.anl.gov/base/R7-0/4-docs/filters.html#Decimation-Filter-dec
These filters are implemented at the database level, and so work both with CA and PVA
(via. the RSRV and QSRV server implementations).