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.
$ 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>