From b16437a67829ac11bbf550b1e4eccec75df788bb Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 31 May 2011 15:14:46 +0000 Subject: [PATCH] Total errbit statistics. Sergey. --- ebctrl/ioc/ebctrlApp/Db/errbitstat.db | 14 ++++- ebctrl/ioc/ebctrlApp/Db/totalevtstat.db | 77 +++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) diff --git a/ebctrl/ioc/ebctrlApp/Db/errbitstat.db b/ebctrl/ioc/ebctrlApp/Db/errbitstat.db index 5228552..987233e 100644 --- a/ebctrl/ioc/ebctrlApp/Db/errbitstat.db +++ b/ebctrl/ioc/ebctrlApp/Db/errbitstat.db @@ -25,6 +25,7 @@ record(genSub,"HAD:$(eb):stat") { field(FTH,"LONG") field(FTI,"LONG") field(FTJ,"LONG") + field(FTK,"LONG") field(FTVA,"LONG") field(FTVB,"LONG") field(FTVC,"LONG") @@ -35,6 +36,7 @@ record(genSub,"HAD:$(eb):stat") { field(FTVH,"LONG") field(FTVI,"LONG") field(FTVJ,"LONG") + field(FTVK,"LONG") field(NOA,"50") field(NOB,"50") field(NOC,"50") @@ -45,6 +47,7 @@ record(genSub,"HAD:$(eb):stat") { field(NOH,"50") field(NOI,"50") field(NOJ,"50") + field(NOK,"50") field(NOVA,"1") field(NOVB,"1") field(NOVC,"1") @@ -55,6 +58,7 @@ record(genSub,"HAD:$(eb):stat") { field(NOVH,"100") field(NOVI,"100") field(NOVJ,"100") + field(NOVK,"1") field(OUTA,"HAD:$(eb):stat:errBitPtrn0 PP NMS") field(OUTB,"HAD:$(eb):stat:errBitPtrn1 PP NMS") field(OUTC,"HAD:$(eb):stat:errBitPtrn2 PP NMS") @@ -64,7 +68,8 @@ record(genSub,"HAD:$(eb):stat") { field(OUTG,"HAD:$(eb):stat:errBitStat1 PP NMS") field(OUTH,"HAD:$(eb):stat:errBitStat2 PP NMS") field(OUTI,"HAD:$(eb):stat:errBitStat3 PP NMS") - field(OUTJ,"HAD:$(eb):stat:errBitStat4 PP NMS") + field(OUTJ,"HAD:$(eb):stat:errBitStat4 PP NMS") + field(OUTK,"HAD:$(eb):stat:totalErrBitStat PP NMS") } record(longin,"HAD:$(eb):stat:errBitPtrn0") @@ -146,3 +151,10 @@ record(waveform,"HAD:$(eb):stat:errBitStat4") field(NELM,"100") field(FTVL,"LONG") } + +record(longin,"HAD:$(eb):stat:totalErrBitStat") +{ + field(DTYP,"Soft Channel") + field(SCAN,"Passive") + field(INP,"Constant") +} diff --git a/ebctrl/ioc/ebctrlApp/Db/totalevtstat.db b/ebctrl/ioc/ebctrlApp/Db/totalevtstat.db index cc99e0d..c4dfd9d 100644 --- a/ebctrl/ioc/ebctrlApp/Db/totalevtstat.db +++ b/ebctrl/ioc/ebctrlApp/Db/totalevtstat.db @@ -75,6 +75,83 @@ record(longout, "HAD:eb:totalEvtsComp") field(OUT, "0") } +record(genSub,"HAD:eb:totalErrBitStatASub") { + field(DESC, "subroutine") + field(SCAN, "5 second") + field(PINI,"NO") + field(PHAS,"0") + field(EVNT,"0") + field(DISV,"1") + field(LFLG,"IGNORE") + field(EFLG,"ALWAYS") + field(SDIS,"0.0000000000000000e+00") + field(DISS,"NO_ALARM") + field(PRIO,"LOW") + field(FLNK,"0.000000000000000e+00") + field(SUBL,"0.0000000000000000e+00") + field(BRSV,"NO_ALARM") + field(INPA, "HAD:eb01:stat:totalErrBitStat") + field(INPB, "HAD:eb02:stat:totalErrBitStat") + field(INPC, "HAD:eb03:stat:totalErrBitStat") + field(INPD, "HAD:eb04:stat:totalErrBitStat") + field(INPE, "HAD:eb05:stat:totalErrBitStat") + field(INPF, "HAD:eb06:stat:totalErrBitStat") + field(INPG, "HAD:eb07:stat:totalErrBitStat") + field(INPH, "HAD:eb08:stat:totalErrBitStat") + field(INPI, "HAD:eb09:stat:totalErrBitStat") + field(INPJ, "HAD:eb10:stat:totalErrBitStat") + field(INPK, "HAD:eb11:stat:totalErrBitStat") + field(INPL, "HAD:eb12:stat:totalErrBitStat") + field(INPM, "HAD:eb13:stat:totalErrBitStat") + field(INPN, "HAD:eb14:stat:totalErrBitStat") + field(INPO, "HAD:eb15:stat:totalErrBitStat") + field(INPP, "HAD:eb16:stat:totalErrBitStat") + field(INAM, "totalErrBitStat_init") + field(SNAM, "totalErrBitStat_proc") + field(FTA,"LONG") + field(FTB,"LONG") + field(FTC,"LONG") + field(FTD,"LONG") + field(FTE,"LONG") + field(FTF,"LONG") + field(FTG,"LONG") + field(FTH,"LONG") + field(FTI,"LONG") + field(FTJ,"LONG") + field(FTK,"LONG") + field(FTL,"LONG") + field(FTM,"LONG") + field(FTN,"LONG") + field(FTO,"LONG") + field(FTP,"LONG") + field(NOA,"1") + field(NOB,"1") + field(NOC,"1") + field(NOD,"1") + field(NOE,"1") + field(NOF,"1") + field(NOG,"1") + field(NOH,"1") + field(NOI,"1") + field(NOJ,"1") + field(NOK,"1") + field(NOL,"1") + field(NOM,"1") + field(NON,"1") + field(NOO,"1") + field(NOP,"1") + field(OUTA,"HAD:eb:totalErrBitStat PP NMS") + field(FTVA,"LONG") + field(NOVA,"1") +} + +record(longout, "HAD:eb:totalErrBitStat") +{ + field(DESC, "Addr") + field(SCAN,"Passive") + field(OUT, "0") +} + record(genSub,"HAD:eb:totalEvtCRateASub") { field(DESC, "subroutine") field(SCAN, "1 second") -- 2.43.0