EPICS Controls 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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: subArray INDX field? (3.14.6 -v- 3.13.6)
From: Carl Lionberger <[email protected]>
To: "Laznovsky, Michael" <[email protected]>
Cc: [email protected]
Date: Tue, 30 Nov 2004 17:07:01 -0800
INDX would have to be DBF_INLINK in the dbd file for that to work, which I don't think its ever been. INDX can be driven by a dbput from a gui or another record, causing the subArray record to process by process passive-- this was the expected mode of operation when we developed it.

Maybe you had a local version at SLAC?

Carl

Laznovsky, Michael wrote:

Hi- can someone tell me what's wrong with this record... I believe it used to work under 3.13.6:

template:
---------
	file db/bic_tunevals.db
	{
	#           Station  Micro Unit
	  pattern { STN  ,   U   }
	          { LB60 ,   59  }
	          { HB60 ,   58  }
	}

bic_tunevals.db:
---------------
	record(subArray,GP00:CSTR:EXTRACT) {
	  field(DESC,"CSTR Voltage inspector")
	  field(DTYP,"Soft Channel")
	  field(PREC,"2")
	  field(MALM,"20")
	  field(INP,"GP00:CSTR:ARRY PP MS")
	  field(INDX,"GP00:CSTR:CRATE NPP MS")
	}

error:
------
	dbLoadTemplate("db/ps00_misc.template")

	Error   Last token ")"
	input line:   field(INDX,"GP00:CSTR:CRATE NPP MS")
	   in: file db/bic_tunevals.db line 47

db_parse returned -1

A constant, e.g. "2", in INDX works OK... was 3.13 wrong, or is 3.14? Seems like INDX needs to support dynamic values to be useful.

thanks!
Mike




-- Carl Lionberger Control System Software Engineer Berkeley National Laboratory (LBNL) (510)486 7503



References:
subArray INDX field? (3.14.6 -v- 3.13.6) Laznovsky, Michael

Navigate by Date:
Prev: Re: problem about Channel Archiver Rolf Keitel
Next: USB camera into EPICS Wayne . K . Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: subArray INDX field? (3.14.6 -v- 3.13.6) Laznovsky, Michael
Next: RE: subArray INDX field? (3.14.6 -v- 3.13.6) Chestnut, Ronald P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·