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  2020  2021  <20222023  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  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Possible to create aliases for record fields?
From: "Li, Ji via Tech-talk" <tech-talk at aps.anl.gov>
To: Andrew Johnson <anj at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 20 Dec 2022 19:27:28 +0000
Hi Andrew, 

As you have suggested, the work on CA Gateway could make deployment more complex. I'll keep on the simple side.

Best,
-Ji


From: Andrew Johnson <anj at anl.gov>
Sent: Tuesday, December 20, 2022 14:16
To: Li, Ji <liji at bnl.gov>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Possible to create aliases for record fields?
 
On 12/20/22 12:49 PM, Li, Ji via Tech-talk wrote:
I'm trying to access record fields as PVs using alias command, such as:

alias("det1.NELM", "det1:NELM")
alias("det1.TSEN", "det1:TSEN")

If alias command is not the right choice, are there any ways to create aliases/dummy PVs for fields?
I think it's possible to use a Channel Access PV Gateway to alias specific record fields to another PV name, but if you're looking for high performance through those channels there might be reasons for not wanting to doing that.

This is one of the few circumstances when the gateway's client and server sides could be on the same network, and you would need to be careful when configuring it to prevent loops. The alias configuration data would also be a long way from the IOC configuration, so updating both simultaneously would need care.

- Andrew
-- 
Complexity comes for free, Simplicity you have to work for.

References:
Possible to create aliases for record fields? Li, Ji via Tech-talk
Re: Possible to create aliases for record fields? Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: Possible to create aliases for record fields? Andrew Johnson via Tech-talk
Next: Re: Checking CPU and memory usage for an IOC Wang, Andrew 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  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: Possible to create aliases for record fields? Andrew Johnson via Tech-talk
Next: Re: Possible to create aliases for record fields? Zimoch Dirk 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  2020  2021  <20222023  2024 
ANJ, 28 Dec 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·