EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: db_parse returned -1
From: "M.C.Shao" <ShaoMingchao97@mails.tsinghua.edu.cn>
To: "Tech-talk" <tech-talk@aps.anl.gov>
Date: Wed, 16 Apr 2003 20:31:57 +0800
hi,all
During the startup of my i386-rtems IOC, when dbLoadDatabase("dbd/pcl733.dbd") is executed, within which pvt_yy_parse() is invoked,I get the following error message:
...
dbLoadDatabase("dbd/pcl733.dbd")
Error   Last token ")"
input line: device(mbbiDirect,CONSTANT,de
db_parse returned -1
dbLoadRecords("db/dbpcl733.db", "user=root")
Error   Last token ")"
input line:     field(DTYP, "PCL733")    
    in: file db/dbpcl733.db line 11

db_parse returned -1
iocInit()
...

I have added a device support for pcl733 defined as this: 
device(mbbiDirect,INST_IO,devMbbiDirectPcl733,"PCL733").
After compiled,it's placed in dbd/pcl733.dbd like this:
...
device(mbbiDirect,CONSTANT,devMbbiDirectSoftRaw,"Raw Soft Channel")
device(mbbiDirect,INST_IO,devMbbiDirectPcl733,"PCL733")
...

what's the possible reason? 
thanks,
--
Shao Mingchao
Engineering Physics Department
Tsinghua University
Beijing,100084,China
Tel:86-10-62784552


Replies:
Re: db_parse returned -1 Marty Kraimer

Navigate by Date:
Prev: Re: recDynLink.c for R3.14.1 ? Marty Kraimer
Next: Re: db_parse returned -1 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: Channel Access disconnect/reconnect Jeff Hill
Next: Re: db_parse returned -1 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020