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  2022  <20232024  2025  2026  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  2022  <20232024  2025  2026 
<== Date ==> <== Thread ==>

Subject: Re: Possible to create aliases for record fields?
From: "Hu, Yong via Tech-talk" <[email protected]>
To: Michael Davidsaver <[email protected]>, Zimoch Dirk <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 2 Jan 2023 21:53:18 +0000

Michael, we are talking about fields here. So “det1:NELM.RTYP” itself is not valid.

From: Tech-talk <[email protected]> on behalf of Michael Davidsaver via Tech-talk <[email protected]>
Date: Monday, January 2, 2023 at 3:37 PM
To: Zimoch Dirk <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Possible to create aliases for record fields?

On 12/28/22 03:47, Zimoch Dirk via Tech-talk wrote:
> At the moment, that is not possible. I had planned for quite some time to implement that.

> ... But I don‘t know what the core developers think of this.

Aliasing fields seem like a reasonable feature.  Although it isn't yet clear
to me how this would work in detail.  eg. to take an example from below.

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

What would "caget det1:NELM.RTYP" return?

There may also be complications depending on what changes to the
'struct dbBase' tree would be needed.



> Dirk
>
>> Am 20.12.2022 um 19:50 schrieb Li, Ji via Tech-talk <[email protected]>:
>>
>> 
>> Hi,
>>
>> I'm trying to access record fields as PVs using alias command, such as:
>>
>> alias("det1.NELM", "det1:NELM")
>> alias("det1.TSEN", "det1:TSEN")
>>
>> The IOC didn't report errors, but apparently they all pointed to det1 as the change to det1 appeared on these aliases, and vice versa, and this was proved by dbla.
>>
>> If alias command is not the right choice, are there any ways to create aliases/dummy PVs for fields?
>>
>> Best,
>> -Ji Li
>>


Replies:
Re: Possible to create aliases for record fields? Andrew Johnson via Tech-talk
References:
Re: Possible to create aliases for record fields? Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Possible to create aliases for record fields? Michael Davidsaver via Tech-talk
Next: Re: Possible to create aliases for record fields? Andrew Johnson 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  2022  <20232024  2025  2026 
Navigate by Thread:
Prev: Re: Possible to create aliases for record fields? Michael Davidsaver via Tech-talk
Next: Re: Possible to create aliases for record fields? Andrew Johnson 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  2022  <20232024  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·