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: 2'nd Iocsh with win32. Bad soft-record support?
From: kuner <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Fri, 08 Feb 2002 12:14:44 +0100
Here the solution of the problem, if anybody is interested in, with many
thanks to Mr Database: Marty Kraimer.

The missing command on the soft-IOC to register the soft device suport
for the records was:

    registerRecordDeviceDriver(pdbbase)

here in detail:

> kuner wrote:
> >
> > Dear mister kraimer,
> >
> > Ralph Lange told me that you are the right man for this problem, so I
> > ask you direct. I tried to make the base-3.14.beta1 on my win2k PC -
> > without problems and than create an example application with
> >
> >   makeBaseApp.pl -t example example
> >
> 
> Did you then do something like
> 
> makeBaseApp.pl -i -t example linux
> makeBaseApp.pl -i -t example win32
> 
> And each instance choose the correct target architecture, e.g. linux-x86
> 
> And then
> 
> make
> 
> Note that for linux your st.cmd files will look like
> 
> dbLoadDatabase("../../dbd/example.dbd",0,0)
> registerRecordDeviceDriver(pdbbase)
> dbLoadRecords("../../db/dbExample1.db","user=mrkHost")
> dbLoadRecords("../../db/dbExample2.db","user=mrkHost,no=1,scan=1 second")
> dbLoadRecords("../../db/dbExample2.db","user=mrkHost,no=2,scan=2 second")
> dbLoadRecords("../../db/dbExample2.db","user=mrkHost,no=3,scan=5 second")
> iocInit()
> #seq sncExample,"user=mrkHost"
> 
> You will execute the commands
> 
> cd <top>/iocBoot/ioclinux
> ../../bin/linux-x86/example st.cmd
> 
> Hope this helps.
> 
> Marty
> 
> Similar
> > There is the example.dbd and the dbExample1.db that I tried to load with
> > the example.exe which is the ioc-shell and it doesn't work.
> >
> >   Q:\home\kuner\newtop>bin\win32-x86\example.exe
> >   epics> dbLoadDatabase "dbd/example.dbd"
> >   epics> dbLoadRecords "db/dbExample1.db", "user=hotte"
> >   Error   Last token ")"
> >   input line: record(ai, "hotte:aiExample")
> >      in: file db/dbExample1.db line 1
> >
> >   db_parse returned -1
> >   dbAllocRecord(ai) record_size =0
> >   filename="..\dbLexRoutines.c" line number=869
> >   Record support not found new record instance error
> >   epics>
> >
> > It is the same behaviour with win2k and linux - tested on Ralphs PC.
> > Have you any idea why there is no record support available? We had a
> > look on the makefile and the compiler output: it seems to be right and
> > we have no idea whats wrong.
> >
 Gruessle
       Bernhard Kuner
 
 ----------------- [email protected] -----------------


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

Navigate by Date:
Prev: RE: "Unexpected UDP failure WIN32 Socket Library Error 10054" Jeff Hill
Next: CA Proxy Gateway (bugfix release 1.3.2) Ralph . Lange
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: 2'nd Iocsh with win32. Bad soft-record support? kuner
Next: Epics 3.13.5 supporting Windows 2000 ? Goetz Pfeiffer
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 ·