EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: ao record downloading error
From: "Shi HaoLi" <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Fri, 19 Dec 2008 16:57:29 +0800
Dear Andrew,

thank you for your reply and help, following your guide, the problem mentioned
in the last mail has been resolved. now, I come across a new problem as below:

Cexp>dbgf ("R4IBT04:CISet")
DBR_DOUBLE:         0
0x00000000 (0)
Cexp>dbtr("R4IBT04:CISet")
ACKS: INVALID       ACKT: YES           ADEL: 0             ALST: 0
filename="../recGbl.c" line number=88
AOFF: -5.01         ASG:                ASLO: 1.525902e-04  BKPT: 0x00
PV: R4IBT04:CISet  dbtr(dbProcess)
DESC: analog output record              DISA: 0             DISP: 0
DISS: NO_ALARM      DISV: 1             DOL:CONSTANT 0.000000000000000e+00
DRVH: 0             DRVL: 0             DTYP: PSC           EGU: amps
EGUF: 0             EGUL: 0             EOFF: 0             ESLO: 0
EVNT: 0             FLNK:CONSTANT 0     HHSV: NO_ALARM      HIGH: 0
HIHI: 5             HOPR: 4.545455      HSV: NO_ALARM       HYST: 0
INIT: 0             IVOA: Continue normally                 IVOV: 0
LALM: 0             LBRK: 0             LCNT: 0             LINR: NO CONVERSION
LLSV: NO_ALARM      LOLO: -5            LOPR: -4.545455     LOW: 0
LSV: NO_ALARM       MDEL: 0             MLST: 0             NAME: R4IBT04:CISet
NSEV: NO_ALARM      NSTA: NO_ALARM      OIF: Full           OMOD: 0
OMSL: supervisory   ORAW: 32833         ORBV: 1062          OROC: 0
OUT:VME_IO #C1 S0 @SPT                  OVAL: 0             PACT: 0
PHAS: 0             PINI: NO            PREC: 3             PRIO: LOW
PROC: 0             PUTF: 0             PVAL: 0             RBV: 1062
ROFF: 0             RPRO: 0             RVAL: 32833         SCAN: Passive
SDIS:CONSTANT 0.000000000000000e+00     SEVR: INVALID
SIML:CONSTANT 0.000000000000000e+00     SIMM: NO            SIMS: NO_ALARM
SIOL:CONSTANT 0.000000000000000e+00     STAT: READ          TPRO: 0
TSE: 0              TSEL:CONSTANT       UDF: 1              VAL: 0
0x00000000 (0)
Cexp>dbpf ("R4IBT04:CISet", "2.0")
0xffffffff (-1)
filename="../dbTest.c" line number=365
dbPutField error

I guess something is wrong when the record "R4IBT04:CISet" calls device support
write_ao which calls driver support, I don't know how to solve it. thank you
again!

Haoli Shi


Andrew Johnson 写:


On Wednesday 17 December 2008 07:54:55 Shi HaoLi wrote:

There is a problem while downloading an "ao" record which is used for a peripheral I/O device named "PSC", part of the downloading console is like this: (OS is RTEMS, and EPICS version is 3.14.6)

    dbLoadRecords("../db/powersupply.db")
0x00000000 (0)
    iocInit()
###########################################################################
# Starting iocInit
###  EPICS IOC CORE built on Jan  9 2008
###  EPICS R3.14.6 $R3-14-6$ $2004/05/28 19:27:47$
###########################################################################
# filename="../recGbl.c" line number=88
Bad init_rec return value  PV: R4IBT04:CISet  ao: init_record
0x00000000 (0)
iocInit: All initialization complete

This error message is generated by the ao record support when the device support's init_record() routine returns any value other than 0 or 2; that's all I can tell you based on your report. You'll have to take a look at the "PSC" device support for the ao record and work out why it's returning something different, what it means and how to fix it.


- Andrew
--
The best FOSS code is written to be read by other humans -- Harold Welte



Replies:
Re: ao record downloading error Andrew Johnson
References:
ao record downloading error Shi HaoLi
Re: ao record downloading error Andrew Johnson

Navigate by Date:
Prev: Firewire (IEEE 1394) support for areaDetector Pedersen, UK (Ulrik)
Next: Re: ao record downloading error Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ao record downloading error Andrew Johnson
Next: Re: ao record downloading error Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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 ·