EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Iocsh with win32. Bad soft-record support?
From: "Pete R. Jemian" <[email protected]>
To: Bernhard Kuner <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Wed, 30 Jan 2002 14:31:56 -0600
At 11:30 AM 30-01-02 +0100, Bernhard Kuner wrote:
        epics> dbLoadRecords "dbExample1.db", "HORST"
        Error   Last token ")"
        input line: record(ai, "$(user):aiExample")
           in: path "."  file dbExample1.db line 1

Looks like you are on the right track.
Try this, instead:
dbLoadRecords "dbExample1.db", "user=HORST"
^^^^^
This tells the macro expander in dbLoadRecords
which macro parameter gets the value "HORST".
If your database has more than one macro, then the
syntax could be, for example:
dbLoadRecords "ipDevApp/Db/serial_OI_block.db","P=iad:,N=:b6,C=0,IPSLOT=b,CHAN=6", "/db/dir"
where P, N, C, IPSLOT, and CHAN are used in the
ipDevApp/Db/serial_OI_block.db file as variable
parameters to be defined at the time dbLoadRecords
is called. The last parameter, "/db/dir", is an
optional reference to a directory which contains the path
to the database file. In this case, the file is
located at full path
"/db/dir/ipDevApp/Db/serial_OI_block.db"



Pete Jemian UNICAT



References:
Iocsh with win32. Bad soft-record support? kuner

Navigate by Date:
Prev: Re: Iocsh with win32. Bad soft-record support? mooney
Next: Re: Iocsh with win32. Bad soft-record support? mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Iocsh with win32. Bad soft-record support? kuner
Next: Re: Iocsh with win32. Bad soft-record support? mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·