On 9/15/22 20:00, lzfneu--- via Tech-talk wrote:
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.
What version of EPICS Base are you using?
I'm not able to replicate with 7.0.7
$ cat alias.db
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")
}> $ softIoc -d alias.db
Starting iocInit
############################################################################
## EPICS R7.0.6.2-DEV
## Rev. R7.0.6.1-260-ga0a937d0b6ce07c20358
## Rev. Date Git: 2022-09-03 11:36:57 -0700
############################################################################
Forward-link uses Channel Access without pointing to PROC field
test.FLNK => test2
iocRun: All initialization complete
epics>
- Replies:
- Re: Question about alias name neu lzf via Tech-talk
- References:
- Question about alias name lzfneu--- via Tech-talk
- Navigate by Date:
- Prev:
RE: [EXTERNAL] Re: EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows Mark Rivers via Tech-talk
- Next:
pyepics get_with_metadata inconstant behaviour Marco A. Barra Montevechi Filho 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>
2023
2024
- Navigate by Thread:
- Prev:
Question about alias name lzfneu--- via Tech-talk
- Next:
Re: Question about alias name neu lzf 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>
2023
2024
|