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>