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

Subject: Re: Archiver Appliance established multiple CA connections for one channel
From: "Shankar, Murali" <[email protected]>
To: Michael Davidsaver <[email protected]>, "Wang, Lin" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Sat, 15 Apr 2017 16:43:16 +0000
Apologies for the delay; I just got back from a break.

As Michael said, if you use the default policies file, the appliance will open multiple camonitors for each PV. This is determined in the policies.py and depends on the RTYP of the PV. For example, for "ao" fields, we'd establish all of these 

elif pvRTYP=="ao":
    archiveFields=['HIHI','HIGH','LOW','LOLO','LOPR','HOPR','DRVH','DRVL']
...
pvPolicyDict["archiveFields"]=archiveFields

In addition, we'll also establish a connection for the DESC field on behalf of the viewer.

You can control all of these from using a custom policies.py file (use the environment variable ARCHAPPL_POLICIES to point to your new policy file). If you want to eliminate the DESC camonitor as well, you can do so in the archappl.properties file. 

There is support for using DBE_PROPERTIES; this has been tested but you'd be the first to use in a production environment. Please let me know if you are willing to do this; I can help you thru the process. For this, I think you'd need all your IOC's to be on 3.15 or later. This will reduce your connections to 3 (one for the .VAL, one for the all the fields in a DBR_CTRL and the third for the DESC).

Hope that helps. Please let me know if you run into any issues.

Regards,
Murali


________________________________________
From: Michael Davidsaver <[email protected]>
Sent: Friday, April 14, 2017 9:33 AM
To: Wang, Lin
Cc: [email protected]; Shankar, Murali
Subject: Re: Archiver Appliance established multiple CA connections for one channel

On 04/13/2017 09:17 PM, Wang, Lin wrote:
> accessed ~1692 channels in total, which I cannot understand.

For each user provided PV name, Archive Appliance can (and by default
does) subscribe to several related PVs.  This is determined in the
policy hook script.

By default it will try to subscribe to additional PVs by appending .EGU
.HIGH and others to the user provided PV name.

This is where your addition channels come in.


I'm not sure what the state of DBE_PROPERTY support is in AA.  This
would help to reduce, but not eliminate, the number of extra channels
needed to also archive this meta-data.


Replies:
Re: Archiver Appliance established multiple CA connections for one channel Shankar, Murali
References:
Archiver Appliance established multiple CA connections for one channel Wang, Lin
Re: Archiver Appliance established multiple CA connections for one channel Michael Davidsaver
Re: Re: Archiver Appliance established multiple CA connections for one channel Wang, Lin
Re: Archiver Appliance established multiple CA connections for one channel Michael Davidsaver

Navigate by Date:
Prev: RE: partial (damaged?) UDP msg Williams Jr., Ernest L.
Next: Re: RE: partial (damaged?) UDP msg Zhang Yuliang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Archiver Appliance established multiple CA connections for one channel Michael Davidsaver
Next: Re: Archiver Appliance established multiple CA connections for one channel Shankar, Murali
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·