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

Subject: Re: Xspress3 INP error
From: Matt Newville via Tech-talk <tech-talk at aps.anl.gov>
To: lynn <lynn0703 at yeah.net>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 13 Jul 2023 13:33:37 -0500
Hi Lynn, 

Hmm, yes as Mark says, I think that both "DeadTime_RBV" and "DTFactor_RBV" should just be an "ai" records.  I will fix that.




On Thu, Jul 13, 2023 at 10:06 AM lynn via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi,
    I met teo question when using xspress of git. https://github.com/epics-modules/xspress3/tree/master/xspress3App/Db
    Could someone give me advice.
    I use ioc_1Channel  st.md,  OS was Rocky 9.0

*************************Error 1***************
Record "XSP3_1Chan:C1:DeadTime_RBV" does not have a field "INP"
Error at or before ")" in path "/home/xspress3/epics/xspress3/db"  file "xspress3ChannelDeadtime.template" line 12
Record "XSP3_1Chan:C1:DTFactor_RBV" does not have a field "INP"
Error#MCAs: create StdArray for Visualization:
NDStdArraysConfigure("MCA1", 5, 0, "CHAN1", 0, 0)

***** xspress3ChannelDeadtime.template *****
# percent deadtime = allevent*event width + time in reset
record(ao, "$(P)C$(CHAN):DeadTime_RBV") {
    field(DTYP, "asynFloat64")
    field(INP,  "@asyn($(PORT),$(ADDR),$(TIMEOUT))XSP3_CHAN_DTPERCENT")   #  line 12
    field(VAL,  "0")
    field(PREC, "5")
}
I don't know how to solve it.

****************** Error 2 *******************************
############################################################################
## EPICS R7.0.3.1
## EPICS Base built Jun 26 2023
############################################################################
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 6 (before record/device init) ***
reboot_restore: done with file 'auto_settings.sav'

XSP3_1Chan:C1:DeadTime_RBV devAsynFloat64::initCommon invalid INST_IO Must be asyn(<port> <addr> <timeout>)userParams
Error (514,514) PV: XSP3_1Chan:C1:DeadTime_RBV ao: init_record

XSP3_1Chan:C1:DTFactor_RBV devAsynFloat64::initCommon invalid INST_IO Must be asyn(<port> <addr> <timeout>)userParams
Error (514,514) PV: XSP3_1Chan:C1:DTFactor_RBV ao: init_record

reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 7 (after record/device init) ***
reboot_restore: done with file 'auto_settings.sav'


Regards,
Lynn




--
--Matt Newville <newville at cars.uchicago.edu> 630-327-7411

References:
Xspress3 INP error lynn via Tech-talk

Navigate by Date:
Prev: RE: Xspress3 INP error Mark Rivers via Tech-talk
Next: LINK_ALARM in records Florian Feldbauer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: RE: Xspress3 INP error Mark Rivers via Tech-talk
Next: Re:Re: Re: Re: Xspress3 INP error lynn via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 19 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·