record(ai, "$(ALIAS,recursive)") { field(DESC, "$(D,recursive)") field(DTYP, "Soft Channel") field(INP, "$(APC,recursive):M$(SLOT,recursive)_CH$(CH,recursive)_EGU NPP MS") field(PREC, "$(P,recursive)") field(EGU, "$(EGU,recursive)") field(HOPR, "$(H,recursive)") field(LOPR, "$(L,recursive)") field(HIHI, "$(HH,recursive)") field(LOLO, "$(LL,recursive)") field(HIGH, "$(HI,recursive)") field(LOW, "$(LO,recursive)") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") field(HYST, "$(HY,recursive)") field(ADEL, "$(AD,recursive)") field(MDEL, "$(MD,recursive)") } # Subroutine record that performs calculation for # these analog signal types: # 1 = linear analog in # 2 = log analog in # 3 = phase mixer record(sub, "$(APC,recursive):M$(SLOT,recursive)_CH$(CH,recursive)_EGU") { field(DESC, "$(D,recursive)") field(INAM, "InitAnalogCalc") field(SNAM, "AnalogCalc") #Signal type (see comments above) field(A, "$(TYPE,recursive)") #Raw signal field(INPB, "$(APC,recursive):M$(SLOT,recursive)_CH$(CH,recursive)_SIG NPP MS") field(C, "$(OFFS,recursive)") field(D, "$(COEF,recursive)") #Associated device, used by phase mixer field(INPE, "$(ASSOC,recursive)") #1/-1 determined by ASSOC, used by phase mixer field(F, "$(SIGN,recursive)") field(PREC, "$(P,recursive)") field(EGU, "$(EGU,recursive)") field(HOPR, "$(H,recursive)") field(LOPR, "$(L,recursive)") field(HIHI, "$(HH,recursive)") field(LOLO, "$(LL,recursive)") field(HIGH, "$(HI,recursive)") field(LOW, "$(LO,recursive)") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") field(HYST, "$(HY,recursive)") field(ADEL, "$(AD,recursive)") field(MDEL, "$(MD,recursive)") field(FLNK, "$(ALIAS,recursive)") } record(ai, "$(ALIAS,recursive)") { field(INP, "$(APC,undefined):M$(SLOT,undefined)_CH$(CH,undefined)_EGU NPP MSI") info(autosaveFields,"LOLO LOW HIGH HIHI") }