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 <2023> 2024 | 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 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Xspress3 INP error |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | lynn <lynn0703 at yeah.net>, tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 13 Jul 2023 18:27:50 +0000 |
Hi Lynn, There is an error in that file, made in this commit: corvette:xspress3/xspress3App/Db>git diff b3391a97e39947744ef7d69c84c3a9abf8d4323c xspress3ChannelDeadtime.template diff --git a/xspress3App/Db/xspress3ChannelDeadtime.template b/xspress3App/Db/xspress3ChannelDeadtime.template index b34380f..bc470cb 100755 --- a/xspress3App/Db/xspress3ChannelDeadtime.template +++ b/xspress3App/Db/xspress3ChannelDeadtime.template @@ -7,19 +7,17 @@ record(ao, "$(P)C$(CHAN):EventWidth") { } # percent deadtime = allevent*event width + time in reset -record(ai, "$(P)C$(CHAN):DeadTime_RBV") { +record(ao, "$(P)C$(CHAN):DeadTime_RBV") { field(DTYP, "asynFloat64") field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))XSP3_CHAN_DTPERCENT") - field(SCAN, "I/O Intr") field(VAL, "0") field(PREC, "5") } # deadtime correction factor -record(ai, "$(P)C$(CHAN):DTFactor_RBV") { +record(ao, "$(P)C$(CHAN):DTFactor_RBV") { field(DTYP, "asynFloat64") field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))XSP3_CHAN_DTFACTOR") - field(SCAN, "I/O Intr") field(VAL, "1") field(PREC, "5") } When the records were changed from ai to ao the links should have been changed from INP to OUT. Since they are readbacks perhaps they should still be ai, but without SCAN=I/O
Intr? Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
lynn via Tech-talk 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" ***** xspress3ChannelDeadtime.template ***** # percent deadtime = allevent*event width + time in reset I don't know how to solve it. ****************** Error 2 ******************************* ############################################################################
Lynn --
|