Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Problems w/ VxWorks Global Variable Device Records
From: Susanna Jacobson <SRJacobson@lbl.gov>
To: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Wed, 26 May 2004 18:12:43 -0700
I am working with EPICS base R3.13.4 on a vxWorks IOC (PowerPC mcp750, 
VxWorks 5.4).  

Something very odd happens when I try to use the three records in the 
attached .db file on the IOC.  Each record initializes successfully 
and works correctly if it is the only one of the 3 that is loaded 
(say, by commenting out the other two).  The ai record, 
SR$(s)S___BPMCLK_AM00, always works OK, even in combination with either 
of or both the other two records.  

If I load all 3 records, no matter in what order, the ao and bi records
fail at iocInit with the messages:
	filename="../recGbl.c" line number=105
	Illegal field value PV: SR07S___BPMCLK_AC00  \
		devAoSymb (init_record) Illegal NAME or OUT field
	filename="../recGbl.c" line number=105
	Bad init_rec return value  PV: SR07S___BPMCLK_AC00  ao: init_record
	filename="../recGbl.c" line number=105
	Illegal field value PV: SR07S___BPMCLK_BM00  \
		devBiSymb (init_record) Illegal NAME or INP field
	iocInit: Database Failed during Initialization

If I load only the ao and bi records, then the ao record init succeeds,
but the bi record fails.  If I load either along with the ai record,
only the ai record succeeds.  Again, load order makes no difference.

Has anyone else had this problem?  Can anyone tell me why these records
play alone OK but not together?  Is a remedy available?  

	Susanna
-- 
=====================================================================
Susanna Jacobson                MS 10-110
SRJacobson@LBL.Gov              Lawrence Berkeley National Laboratory
VOICE:  (510) 486-7801          1 Cyclotron Road
FAX:    (510) 486-7374          Berkeley, CA 94720
=====================================================================
record(ao,"SR$(s)S___BPMCLK_AC00") {
	field(DESC,"SET EXT BPM CLK FREQ")
	field(DTYP,"vxWorks Variable")
	field(OUT,"@bpmClkSetFrq")
	field(PREC,"2")
	field(EGU,"HZ")
}
record(ai,"SR$(s)S___BPMCLK_AM00") {
	field(DESC,"EXT BPM CLK ACTUAL FREQ")
	field(DTYP,"vxWorks Variable")
	field(INP,"@bpmClkActual")
	field(PREC,"2")
	field(EGU,"HZ")
}
record(bi,"SR$(s)S___BPMCLK_BM00") {
	field(DESC,"EXT BPM CLK ENABLED STATE")
	field(DTYP,"vxWorks Variable")
	field(INP,"@bpmClkEnabld")
	field(ZNAM,"DISABLED")
	field(ONAM,"ENABLED")
}

Navigate by Date:
Prev: Re: R3.14.5 and Fedora Core 2 Ernest L. Williams Jr.
Next: error in building cdCommands Zheng Lifang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: R3.14.5 and Fedora Core 2 Ernest L. Williams Jr.
Next: error in building cdCommands Zheng Lifang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·