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: Question about alias name
From: lzfneu--- via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov>
Date: Fri, 16 Sep 2022 11:00:06 +0800
Dear all,

I try to use alias name for my existed pv names, part of the record are as follows:

record (calc, "test")
{
        alias("test:alias_name")
        field(INPA,"test_pv.VAL")
        field(ADEL, "-1")
        field(CALC, "A*10")
        field(EGU, "m")
        field(FLNK, "test2")
}

record(calc, "test2")
{        ......
         ......
}

When I run the IOC, I received the following errors: 
ErrorCan't create alias "test:alias_name" for "test" Error at or before ")" in file "db/ai.template" line XX.
And XX is the alias filed line number. 

Although showed the error messages, the alias PV name "test:alias_name" can normally receive the same data as PV name "test". I have no idea how to correct the error messages. 

Any help will be appreciated and thanks in advance.



Replies:
Re: Question about alias name Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: mbboDirect Bx fields don't update on alarm change Sue Witherspoon via Tech-talk
Next: Question regarding synApps:delaygen module Jörn Dreyer 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: mbboDirect Bx fields don't update on alarm change Andrew Johnson via Tech-talk
Next: Re: Question about alias name 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  2020  2021  <20222023  2024 
ANJ, 16 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·