g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: RE: vxStats
From: "Gurd, Pamela A." <pamgurd@ornl.gov>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, Liu Shu <liushu@ihep.ac.cn>, tech talk <tech-talk@aps.anl.gov>
Date: Tue, 17 Jan 2006 09:50:56 -0500
The vxStats we are using in 3.14 uses features of the stringin record
that were only added in 3.14.5 or so.  It will not work under 3.13.

    Pam Gurd.

> -----Original Message-----
> From: Kay-Uwe Kasemir [mailto:kasemirk@ornl.gov]
> Sent: Tuesday, January 17, 2006 8:36 AM
> To: Liu Shu; tech talk
> Subject: Re: vxStats
> 
> On Jan 15, 2006, at 23:08 , Liu Shu wrote:
> > Hi Kay:
> >    Thank you for you help.
> >    Here I directly use the vxStatsApp for my IOC.Whan I run st.cmd
> > in ioc
> > console.I got the results below:
> >   </home/liushu/epicsinstall/vxStats/vxStats/iocBoot/ioctest/st.cmd
> > # Example vxWorks startup file
> > #Following must be added for many board support packages
> > #cd <full path to target bin directory>
> > cd "/home/liushu/epicsinstall/vxStats/vxStats/iocBoot/ioctest"
> > value = 0 = 0x0
> > < cdCommands
> > startup =
"/home/liushu/epicsinstall/vxStats/vxStats/iocBoot/ioctest"
> > startup = 0x1ffe8c0: value = 15535248 = 0xed0c90 =
> > prsrv_cast_client + 0x58
> > appbin = "/home/liushu/epicsinstall/vxStats/vxStats/bin/ppc604_long"
> > appbin = 0x1ffe848: value = 15535176 = 0xed0c48 = prsrv_cast_client
> > + 0x10
> >
> > #nfsMount "ics-srv02", "/ade/epics/iocTop/R3.13.7/front_end/3-1","/
> > bootBase"
> > #nfsMount "ics-srv02", "/sns/ADE/home/carl/vxStats/3-1", "/startup"
> > #nfsMount "ics-srv02", "/sns/ADE/home/carl/vxStats/3-1", "/stats"
> >
> > #< ../nfsCommands
> >
> > #ld < /bootBase/bin/ppc603/epicsArchLd.o
> > cd appbin
> > value = 0 = 0x0
> > ld < iocCore
> > value = 33549096 = 0x1ffeb28 = pCaBucket + 0x38
> > ld < seq
> > value = 10908600 = 0xa673b8
> > ld < vxStatsLib
> > value = 10656984 = 0xa29cd8 = ca_server_port + 0x78
> > #epicsArchLd("/bootBase/bin/%s/iocCore");
> > #epicsArchLd("/bootBase/bin/%s/bootBaseLib");
> > #epicsArchLd("/bootBase/bin/%s/seq")
> >
> > #dbLoadDatabase("/bootBase/dbd/bootBase.dbd");
> > iocLogDisable =1
> > iocLogDisable = 0x871634: value = 1 = 0x1
> > #epicsArchLd("/startup/bin/%s/vxStatsLib");
> > cd startup
> > value = 0 = 0x0
> > dbLoadDatabase("../../src/base.dbd")
> > liushu:bash: line 1:
> > /home/liushu/epicsinstall/vxStats/vxStats/iocBoot/ioctest/?value =
> > filename="../db-LexRoutines.c" line1 number=236
> > S_errno = 0x_EBUSY dbRead offffffffpening file .. = /../src/base.dbd
> > pnivxi_func + 0xfe00124f
> > dbLoadDatabase("../../dbd/vxStats.dbd")
> > Error " record type not found"  Last token ")"
> > input line: device(stringin,INST_IO,devStringinStats,"VX stats")
> >    in: file ../../dbd/vxStats.dbd line 1757
> >
> > Error " record type not found"  Last token ")"
> > input line: device(stringin,INST_IO,devStringinStats,"VX stats")
> >    in: file ../../dbd/vxStats.dbd line 3514
> >
> > db_parse returned -1
> > value = -1 = 0xffffffff = pnivxi_func + 0xfe00124f
> > dbLoadTemplate("../../src/Db/ioc.substitutions")
> > liushu:bash: line 1:
> > /home/liushu/epicsinstall/vxStats/vxStats/iocBoot/ioctest/?
> > dbLoadTemplate:
> > error opening sub file ../../src/Db/ioc.substitutions
> > value = -1 = 0xffffffff = pnivxi_func + 0xfe00124f
> >
> > iocInit
> >
######################################################################
> > ######
> > Star###  ting iocInit
> > @(#)EPICS IOC CORE built on Jan 18 2005
> > ###  @(#)Version R3.13.8 $2003/02/04 19:59:44$
> >
######################################################################
> > ######
> > Failed to set time from Unix server
> > value = 0 = 0x0
> >
> >  I edited directly the st.cmd of vxStats.The result shows me there's
> > something wrong while loading dbd files.
> 
> Right. Looks like the stringin record, which could be found
> in EPICS base, is not.
> 
> >  When I create a new application as what you said.There's no
> > testInclude.dbd
> > file but exampleInclude.dbd.
> That's the one.
> 
> 
> > Then I create the testInclude.dbd and include
> > vxStats.dbd.And need I copy those dbd files into my new
> > applicaions,such as
> > the vxStats.dbd?
> No copy should be necessary.
> By adding something like
>   VX_STATS = /path/to/vxStats
> to your apps' configure/RELEASE file
> (config/RELEASE for R3.13),
> the necessary files are found without
> having to copy them into your app.
> 
> 
> >   You said "edit my_great_apps/testApp/src/Makefile* to include the
> > library".Do you mean edit the src/Makefile.Vx and add:
> >   LIBOBJS += $(VX_STATS)/bin/ppc604_long/vxStatsLib
> >   And I should also copy those vxstats db files to my own
> > applications,right?
> 
> Because VX_STATS is defined in RELEASE,
> you can use that variable in
>    LIBOBJS += $(VX_STATS)/bin/ppc604_lo....
> without need to copy.
> 
> -Kay



Navigate by Date:
Prev: Beam Extracted from SNS Ring Gurd, David P.
Next: octave interface D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: Re: vxStats Kay-Uwe Kasemir
Next: EPICS CA security with the motorRecord? Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·