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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: macLib: macro PORT is undefined
From: Yasemin Barutçu <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 10 Apr 2013 10:56:00 +0300
Hello,

I have a problem when start ioc.
O.S. : Scientific Linux
Base Vers : 3.14.12.3

I've been gettin following error when I start IOC.

cd /opt/Epics-Ex/burakCihaz
## Register all support components
dbLoadDatabase "dbd/burakCihaz.dbd"
burakCihaz_registerRecordDeviceDriver pdbbase
##Configure devices
drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0)
asynSetOption("L0",-1,"baud","9600")
asynSetOption("L0",-1,"bits","8")
asynSetOption("L0",-1,"parity","none")
asynSetOption("L0",-1,"stop","1")
asynSetOption("L0",-1,"clocal","Y")
asynSetOption("L0",-1,"crtscts","N")
dbLoadRecords("/opt/epics/modules/soft/asyn4-20/db/asynRecord.db","P=yasemin:,R=asyn,Port=L0,ADDR=24,IMAX=100,OMAX=100")
macLib: macro PORT is undefined (expanding string     field(PORT,"$(PORT)")
)
filename="../dbLexRoutines.c" line number=319
macExpandString failed for file /opt/epics/modules/soft/asyn4-20/db/asynRecord.db
yasemin:asyn.PORT Has unexpanded macro
Can't set "yasemin:asyn.PORT" to "$(PORT,undefined)"
Error at or before ")" in file "/opt/epics/modules/soft/asyn4-20/db/asynRecord.db" line 4
## Load record instances
#dbLoadRecords("db/xxx.db","user=rootHost")
cd /opt/Epics-Ex/burakCihaz/iocBoot/iocburakCihaz
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.3 $Date: Mon 2012-12-17 14:11:47 -0600$
## EPICS Base built Mar 28 2013
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=rootHost"
epics> ^C
[root@localhost iocburakCihaz]# vi st.cmd
[root@localhost iocburakCihaz]# ../../bin/linux-x86_64/burakCihaz st.cmd
#!../../bin/linux-x86_64/burakCihaz
## You may have to change burakCihaz to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86_64")
epicsEnvSet("IOC","iocburakCihaz")
epicsEnvSet("TOP","/opt/Epics-Ex/burakCihaz")
epicsEnvSet("EPICS_BASE","/opt/epics/base-3.14.12.3")
epicsEnvSet("ASYN","/opt/epics/modules/soft/asyn4-20")
cd /opt/Epics-Ex/burakCihaz
## Register all support components
dbLoadDatabase "dbd/burakCihaz.dbd"
burakCihaz_registerRecordDeviceDriver pdbbase
##Configure devices
drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0)
asynSetOption("L0",-1,"baud","9600")
asynSetOption("L0",-1,"bits","8")
asynSetOption("L0",-1,"parity","none")
asynSetOption("L0",-1,"stop","1")
asynSetOption("L0",-1,"clocal","Y")
asynSetOption("L0",-1,"crtscts","N")
dbLoadRecords("/opt/epics/modules/soft/asyn4-20/db/asynRecord.db","P=yasemin:,R=asyn,Port=L0,ADDR=24,IMAX=100,OMAX=100")
macLib: macro PORT is undefined (expanding string     field(PORT,"$(PORT)")
)
filename="../dbLexRoutines.c" line number=319
macExpandString failed for file /opt/epics/modules/soft/asyn4-20/db/asynRecord.db
yasemin:asyn.PORT Has unexpanded macro
Can't set "yasemin:asyn.PORT" to "$(PORT,undefined)"
Error at or before ")" in file "/opt/epics/modules/soft/asyn4-20/db/asynRecord.db" line 4
## Load record instances
#dbLoadRecords("db/xxx.db","user=rootHost")
cd /opt/Epics-Ex/burakCihaz/iocBoot/iocburakCihaz
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.3 $Date: Mon 2012-12-17 14:11:47 -0600$
## EPICS Base built Mar 28 2013
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=rootHost"
epics>


Replies:
Re: macLib: macro PORT is undefined Hinko Kocevar
RE: macLib: macro PORT is undefined nick.rees
Re: macLib: macro PORT is undefined Alan Greer

Navigate by Date:
Prev: linux file search from Asyn Vishnu Patel
Next: Re: macLib: macro PORT is undefined Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: linux file search from Asyn nick.rees
Next: Re: macLib: macro PORT is undefined Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·