diff --git a/db/daq_soft_proton.db b/db/daq_soft_proton.db index f667c0c..d974f9d 100644 --- a/db/daq_soft_proton.db +++ b/db/daq_soft_proton.db @@ -155,21 +155,6 @@ record(seq, "$(INSTR)$(NAME):RESET") # Poll Loop ################################################################################ -record(dfanout, "$(INSTR)$(NAME):DB_POLL") -{ - field(SELM, "All") - field(OMSL, "closed_loop") - field(DOL, 1) - # This order is important, to ensure that the status - # can't change whichout having first updated the time - # and count records to their final values - field(OUTA, "$(INSTR)$(NAME):T_STS_RAW.PROC") - field(OUTB, "$(INSTR)$(NAME):CH1_STS_RAW.PROC") - field(OUTC, "$(INSTR)$(NAME):STATUS.PROC") - field(OUTD, "$(INSTR)$(NAME):T_PRESET_CLEAR.PROC") - field(OUTE, "$(INSTR)$(NAME):PRESET_CLEAR.PROC") -} - # Array Subroutine record which emulates the counterbox functionality # Use an aSub because it allows specifying the type. record(aSub, "$(INSTR)$(NAME):EMULATION") @@ -223,7 +208,7 @@ record(aSub, "$(INSTR)$(NAME):EMULATION") field(FTVG, "CHAR") field(NOVG, 40) - field(FLNK, "$(INSTR)$(NAME):DB_POLL") + field(FLNK, "$(INSTR)$(NAME):T_STS_RAW") } record(mbbi, "$(INSTR)$(NAME):RAW_STATUS") @@ -248,6 +233,7 @@ record(mbbi, "$(INSTR)$(NAME):STATUS") field(FRST, "INVALID") # We start in idle field(VAL, 0) + field(FLNK, "$(INSTR)$(NAME):T_PRESET_CLEAR") } ################################################################################ @@ -269,6 +255,7 @@ record(calcout, "$(INSTR)$(NAME):T_PRESET_CLEAR") field(DOPT, "Use OCAL") field(OCAL, "0") field(OUT, "$(INSTR)$(NAME):T_PRESET PP") + field(FLNK, "$(INSTR)$(NAME):PRESET_CLEAR") } record(ai, "$(INSTR)$(NAME):T_PRESET") @@ -293,6 +280,7 @@ record(bi, "$(INSTR)$(NAME):T_STS") field(INP, "$(INSTR)$(NAME):T_STS_RAW NPP MS") field(ZNAM, "Idle") field(ONAM, "Busy") + field(FLNK, "$(INSTR)$(NAME):CH1_STS_RAW") } record(bi, "$(INSTR)$(NAME):T_CLEARED") @@ -405,6 +393,7 @@ record(bi, "$(INSTR)$(NAME):CH1_STS") field(INP, "$(INSTR)$(NAME):CH1_STS_RAW NPP MS") field(ZNAM, "Idle") field(ONAM, "Busy") + field(FLNK, "$(INSTR)$(NAME):STATUS") } record(bi, "$(INSTR)$(NAME):CH1_CLEARED")