EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  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: DISP field in pvAccess
From: Saeed via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 1 Jul 2020 23:46:37 +0200
Hi,

I'm trying to use DISP field for disabling the remote puts to my PV. It works as expected when I use CA but it seems like the IOC is neglecting this field and actually write to PV when the put is issued from pvAccess.
'test' is an ao record without any fields set in DCT and I use EPICS R7.0.4 here.

❯ caput test 10
Old : test                           0
New : test                           10
❯ pvput test.DISP 1
Old : 2020-07-01 23:25:09.008  0
New : 2020-07-01 23:25:09.008  1
❯ caput test 20
Old : test                           10
CA.Client.Exception...............................................
    Warning: "Channel write request failed"
    Context: "op=1, channel=test, type=DBR_STRING, count=1, ctx="test""
    Source File: ../oldChannelNotify.cpp line 158
    Current Time: Wed Jul 01 2020 23:25:34.720217912
..................................................................
New : test                           10
❯ pvput test 20
Old : 2020-07-01 23:25:09.008  10
New : 2020-07-01 23:25:42.116  20

Any thoughts?

Thanks,
Saeed


Replies:
Re: DISP field in pvAccess Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: ARM cross-built targets linux-arm_el and linux-arm_eb – last call Johnson, Andrew N. via Tech-talk
Next: Re: DISP field in pvAccess Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  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: ARM cross-built targets linux-arm_el and linux-arm_eb – last call Johnson, Andrew N. via Tech-talk
Next: Re: DISP field in pvAccess Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 01 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·