Argonne National Laboratory

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: Re: db_parse returned -1
From: Marty Kraimer <mrk@aps.anl.gov>
To: "M.C.Shao" <ShaoMingchao97@mails.tsinghua.edu.cn>
Cc: Tech-talk <tech-talk@aps.anl.gov>
Date: Wed, 16 Apr 2003 10:36:01 -0500
M.C.Shao wrote:
> 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

Lets concentrate on first reported error, i.e. the error above.
What is in "dbd/pcl733.dbd" ?

Marty Kraimer

> 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 M.C.Shao
References:
db_parse returned -1 M.C.Shao

Navigate by Date:
Prev: db_parse returned -1 M.C.Shao
Next: Contact for EPICS Collaboration Meeting in June Michael Oothoudt
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: db_parse returned -1 M.C.Shao
Next: Re: db_parse returned -1 M.C.Shao
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·