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

Subject: Record fields not accessible in iocsh / database
From: Emmanuel Mayssat <[email protected]>
To: epics <[email protected]>
Cc: [email protected]
Date: Sat, 22 Jul 2006 17:08:42 -0700
Hello all,

I created a record that is basically a collection of 80 doubles.
I used the ai record as a base for the rset and dbd.
But the new records do not appear with the dbpr command (in iocsh).
The record include file (generated from dbd file) seems correct though,
and I can access all the newly added fileds in the C code of the record
dset (pai->asts exists and can be set).

It seems that the link between the C record structure to its database
address is broken.. What am I doingin correctly ?


--
Emmanuel


ocil>dbpr iocil:DMC2183:0:0:DataRcrdAI 1
ADEL: 0             AOFF: 0             ASG:                ASLO: 1
BKPT: 0x00          DESC: Data record   DISA: 0             DISP: 0
DISS: NO_ALARM      DISV: 1             DTYP:
DMC2183_dev99AiAsyncEthernet
EGU:                EGUF: 0             EGUL: 0             EVNT: 0
FLNK:CONSTANT 0     HHSV: NO_ALARM      HIGH: 0             HIHI: 0
HOPR: 0             HSV: NO_ALARM       HYST: 0
INP:INST_IO @sn=mc1 spn=1000 c=TSA      LINR: NO CONVERSION LLSV:
NO_ALARM
LOLO: 0             LOPR: 0             LOW: 0              LSV:
NO_ALARM
MDEL: 0             NAME: iocil:DMC2183:0:0:DataRcrdAI      PACT: 0
PHAS: 0             PINI: NO            PREC: 0             PRIO: LOW
PUTF: 0             RPRO: 0             RVAL: 0             SCAN:
Passive
SDIS:CONSTANT       SEVR: INVALID       SIML:CONSTANT       SIMM: NO
SIOL:CONSTANT       SMOO: 0             STAT: UDF           SVAL: 0
TPRO: 0             TSE: 0              TSEL:CONSTANT       UDF: 1
VAL: 3
iocil>dbpf iocil:DMC2183:0:0:DataRcrdAI.ASTS 1
filename="../dbTest.c" line number=350
Field Not Found dbNameToAddr error
filename="../dbTest.c" line number=350
Field Not Found dbNameToAddr error

Field definition in dbd file is :


        field(ASTS,DBF_DOUBLE) {
                prompt("Axis status")
                interest(1)
        }






Navigate by Date:
Prev: OPC+EPICS for Linux Bertrand H.J. Biritz
Next: Off -Line Storage of Archiver Data - Request for Information Steven Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: OPC+EPICS for Linux Bertrand H.J. Biritz
Next: Re: Record fields not accessible in iocsh / database Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·