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  <20162017  2018  2019  2020  2021  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Dynamically refresh CSS BOY runtime OPI
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Mon, 18 Jan 2016 10:08:08 -0600
On 01/16/2016 12:14 AM, Zhang Yuliang wrote:
> The reason of refreshing BOY OPI dynamically is I found that BOY
> runtime OPI can not update my C# type EPICS PV's access rights. For
> example, 1) if the PV' access right is r+w, run the OPI and it can
> change the PV's value using 'Text Input' widget;  2)if the PV's
> access right is readonly, run the OPI and  re-change PV's access
> right to r+w, PV's value can not be changed using 'Text Input' unless
> refresh OPI once.

The correct thing to do here would be to fix the C# version of the CA
server software so it correctly sends out a CA_PROTO_ACCESS_RIGHTS
message to all affected clients whenever the righs for a channel are
modified (I'm assuming that the CSS BOY client sets up an access rights
callback for each of its connected channels). If the problem is in the
server and isn't fixed you could end up having to make similar kludgy
fixes to other CA clients in the future.

- Andrew

-- 
There are only two hard problems in distributed systems:
  2. Exactly-once delivery
  1. Guaranteed order of messages
  2. Exactly-once delivery
 -- Mathias Verraes


References:
Dynamically refresh CSS BOY runtime OPI Zhang Yuliang
RE: Dynamically refresh CSS BOY runtime OPI Mazanec Tomáš
RE: Dynamically refresh CSS BOY runtime OPI will.rogers
Re: Dynamically refresh CSS BOY runtime OPI Kasemir, Kay
Re: Re: Dynamically refresh CSS BOY runtime OPI Zhang Yuliang

Navigate by Date:
Prev: Re: Device Support for I2C and GPIO Florian Feldbauer
Next: RE: Device Support for I2C and GPIO Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: Dynamically refresh CSS BOY runtime OPI Zhang Yuliang
Next: Unable to tunnel CSS CA through ssh tunnels Jon Brinkmann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·