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: epics dbpf problem
From: "Shi HaoLi" <[email protected]>
To: "Williams Jr., Ernest L." <[email protected]>, <[email protected]>
Date: Wed, 15 Oct 2008 20:10:45 +0800
Dear Ernest

     first thank you for your answer.

     the database record R4IBT04:CISet is like this 

record(ao,"R4IBT04:CISet") { 
field(DESC, "analog output record") 
field(SCAN, "Passive") 
field(OUT, “#C1 S0 @SPT”) 
field(PINI, "NO") 
field(PHAS, "0") 
field(EVNT, "0") 
field(DTYP, "PSC") 
field(DISV, "1") 
field(SDIS, "0.000000000000000e+00") 
field(DISS, "NO_ALARM") 
field(PRIO, "LOW") 
field(FLNK, "0.000000000000000e+00") 
field(OROC, "0.0000000e+00") 
field(DOL, "0.000000000000000e+00") 
field(OMSL, "supervisory") 
field(OIF, "Full") 
field(PREC, "3") 
field(LINR, "NO CONVERSION") 
field(EGUF, "0.0000000e+00") 
field(EGUL, "0.0000000e+00") 
field(EGU, "amps") 
field(ESLO, "0.0000000e+00") 
field(EOFF, "0.0000000e+00") 
field(ASLO, "1.50000000e-04") 
field(AOFF, "-5.1000000e+00") 
field(DRVH, "0.0000000e+00") 
field(DRVL, "0.0000000e+00") 
field(HOPR, "4.500000e+00") 
field(LOPR, "-4.5000000e+00") 
field(HIHI, "5.0000000e+00") 
field(LOLO, "-5.0000000e+00") 
field(HIGH, "0.0000000e+00") 
field(LOW, "0.0000000e+00") 
field(HHSV, "NO_ALARM") 
field(LLSV, "NO_ALARM") 
field(HSV, "NO_ALARM") 
field(LSV, "NO_ALARM") 
field(HYST, "0.000000000000000e+00") 
field(ADEL, "0.000000000000000e+00") 
field(MDEL, "0.000000000000000e+00") 
field(SIOL, "0.000000000000000e+00") 
field(SIML, "0.000000000000000e+00") 
field(SIMS, "NO_ALARM") 
field(IVOA, "Continue normally") 
field(IVOV, "0.000000000000000e+00")} 


I don't know what RTYP refers to. but after I try it like this 
Cexp> dbl("","RTYP")
RTYP could not be created
0x00000000(0)

I wonder whether it's DTYP
but even it DTYP , it gives the same result
 
anywhere is wrong? any help is appreciated, thanks!!


Haoli

Oct 15, 2008



On Tue, 14 Oct 2008 22:41:51 -0700, Williams Jr., Ernest L. wrote
> Hi,
> You syntax looks okay:
> 
> What is your record type for R4IBT04:CISet?
> 
> Cexp>dbl("", "RTYP")
> 
> Thanks,
> Ernest
> 
> ________________________________
> 
> From: [email protected] on behalf of Shi HaoLi
> Sent: Tue 10/14/2008 7:24 PM
> To: [email protected]
> Subject: epics dbpf problem
> 
> Hi, all
> 
>    Now I've built an EPICS (version 3.14.6) application using 
> RTEMS(4.6.0), IOC is MVME5500. The peripheral hardware I/O module is 
> PSC. The device support(devPSC.c) and the driver support(drvPSC.c) 
> have been successfully compiled and can run on RTEMS. Database 
> downloading related to PSC is OK, but when I execute dbpf, something 
> wrong happens as follows:
> 
> Cexp>dbpf ("R4IBT04:CISet", "3.0")
> 0xffffffff (-1)
> filename="../dbTest.c" line number=365
> dbPutField error
> Cexp>dbgf ("R4IBT04:CISet")
> DBR_DOUBLE          3
> Cexp>dbl()
> R4IBT04:CISet
> R4IBT04:I
> R4IBT04:ISet
> ......
> 
> any help is appreciated, thanks a lot!
> 
> Haoli Shi


--
Open WebMail Project (http://openwebmail.org)



Replies:
Re: epics dbpf problem Thomas Birke
References:
epics dbpf problem Shi HaoLi
RE: epics dbpf problem Williams Jr., Ernest L.

Navigate by Date:
Prev: CA client application M.Babai
Next: Re: epics dbpf problem Thomas Birke
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: epics dbpf problem Williams Jr., Ernest L.
Next: Re: epics dbpf problem Thomas Birke
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 ·