#================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)10:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)10:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)10:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C1") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)10:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)10:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C1") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)10:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)10:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)10:REV:ENABLE PP") field(OUTD, "$(CM,recursive)10:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)10:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)10:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)10:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)10:CAV:NORD CPP") field(INPB, "$(CM,recursive)10:FWD:NORD CPP") field(INPC, "$(CM,recursive)10:REV:NORD CPP") field(INPD, "$(CM,recursive)10:DRV:NORD CPP") field(INPE, "$(CM,recursive)10:DAC:NORD CPP") field(INPF, "$(CM,recursive)10:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)10:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)10:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)10:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)10:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)10:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)10:FRHOPR") field(LNK2, "$(CM,recursive)10:FRLOPR") field(LNK3, "$(CM,recursive)10:CAV:ALOPR") field(LNK4, "$(CM,recursive)10:CAV:AHOPR") field(LNK5, "$(CM,recursive)10:DRV:ALOPR") field(LNK6, "$(CM,recursive)10:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)10:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)10:DRV:AHOPR") field(LNK2, "$(CM,recursive)10:DAC:ALOPR") field(LNK3, "$(CM,recursive)10:DAC:AHOPR") field(LNK4, "$(CM,recursive)10:DF:ALOPR") field(LNK5, "$(CM,recursive)10:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)10:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)10:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)10:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)10:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)10:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)10:REV:ALOPR PP") } record(bo, "$(CM,recursive)10:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)10:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)10:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)10:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)10:CAV:ENABLE CP") field(INPB, "$(CM,recursive)10:FWD:ENABLE CP") field(INPC, "$(CM,recursive)10:REV:ENABLE CP") field(INPD, "$(CM,recursive)10:DRV:ENABLE CP") field(INPE, "$(CM,recursive)10:DAC:ENABLE CP") field(INPF, "$(CM,recursive)10:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)10:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)10:ACQ_NORD1_") field(FLNK, "$(CM,recursive)10:ACQ_NORD") } record(longin, "$(CM,recursive)10:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)10:ACQ_NORD2_") field(FLNK, "$(CM,recursive)10:ACQ_PERIOD") } record(calcout, "$(CM,recursive)10:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)10:ACQ_NORD") field(INPB, "$(CM,recursive)10:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)10:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)10:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)10:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)10:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)10:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:CAV:SCALE") field(OUTA, "$(CM,recursive)10:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)10:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_CAV:SCALE") info(feed:info:input, "$(CM,recursive)10:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)10:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)10:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:CAV:AHOPR") field(FLNK, "$(CM,recursive)10:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)10:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:CAV:AHOPR") field(LNK1, "$(CM,recursive)10:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:CAV:AHOPR") field(LNK2, "$(CM,recursive)10:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:CAV:AHOPR") field(LNK3, "$(CM,recursive)10:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:FWD:SCALE") field(OUTA, "$(CM,recursive)10:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)10:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_FWD:SCALE") info(feed:info:input, "$(CM,recursive)10:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)10:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)10:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:FWD:AHOPR") field(FLNK, "$(CM,recursive)10:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)10:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:FWD:AHOPR") field(LNK1, "$(CM,recursive)10:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:FWD:AHOPR") field(LNK2, "$(CM,recursive)10:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:FWD:AHOPR") field(LNK3, "$(CM,recursive)10:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:REV:SCALE") field(OUTA, "$(CM,recursive)10:REV:ISCALE PP") field(OUTB, "$(CM,recursive)10:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_REV:SCALE") info(feed:info:input, "$(CM,recursive)10:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)10:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)10:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:REV:AHOPR") field(FLNK, "$(CM,recursive)10:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)10:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:REV:AHOPR") field(LNK1, "$(CM,recursive)10:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:REV:AHOPR") field(LNK2, "$(CM,recursive)10:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:REV:AHOPR") field(LNK3, "$(CM,recursive)10:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DRV:SCALE") field(OUTA, "$(CM,recursive)10:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)10:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DRV:SCALE") info(feed:info:input, "$(CM,recursive)10:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)10:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)10:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:DRV:AHOPR") field(FLNK, "$(CM,recursive)10:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)10:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:DRV:AHOPR") field(LNK1, "$(CM,recursive)10:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:DRV:AHOPR") field(LNK2, "$(CM,recursive)10:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:DRV:AHOPR") field(LNK3, "$(CM,recursive)10:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DAC:SCALE") field(OUTA, "$(CM,recursive)10:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)10:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DAC:SCALE") info(feed:info:input, "$(CM,recursive)10:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)10:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)10:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:DAC:AHOPR") field(FLNK, "$(CM,recursive)10:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)10:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:DAC:AHOPR") field(LNK1, "$(CM,recursive)10:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:DAC:AHOPR") field(LNK2, "$(CM,recursive)10:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:DAC:AHOPR") field(LNK3, "$(CM,recursive)10:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)10:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)10:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:DF:SCALE") field(OUTA, "$(CM,recursive)10:DF:ISCALE PP") field(OUTB, "$(CM,recursive)10:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DF:SCALE") info(feed:info:input, "$(CM,recursive)10:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)10:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)10:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)10:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)10:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)10:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)10:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)10:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)10:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)10:SCALE_RESET_GO") } record(ao, "$(CM,recursive)10:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)10:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)10:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)10:DF:AHOPR") field(FLNK, "$(CM,recursive)10:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)10:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)10:DF:AHOPR") field(LNK1, "$(CM,recursive)10:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)10:DF:AHOPR") field(LNK2, "$(CM,recursive)10:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)10:DF:AHOPR") field(LNK3, "$(CM,recursive)10:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)10:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)10:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)10:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)10:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)20:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)20:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)20:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C2") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)20:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)20:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C2") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)20:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)20:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)20:REV:ENABLE PP") field(OUTD, "$(CM,recursive)20:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)20:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)20:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)20:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)20:CAV:NORD CPP") field(INPB, "$(CM,recursive)20:FWD:NORD CPP") field(INPC, "$(CM,recursive)20:REV:NORD CPP") field(INPD, "$(CM,recursive)20:DRV:NORD CPP") field(INPE, "$(CM,recursive)20:DAC:NORD CPP") field(INPF, "$(CM,recursive)20:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)20:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)20:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)20:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)20:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)20:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)20:FRHOPR") field(LNK2, "$(CM,recursive)20:FRLOPR") field(LNK3, "$(CM,recursive)20:CAV:ALOPR") field(LNK4, "$(CM,recursive)20:CAV:AHOPR") field(LNK5, "$(CM,recursive)20:DRV:ALOPR") field(LNK6, "$(CM,recursive)20:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)20:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)20:DRV:AHOPR") field(LNK2, "$(CM,recursive)20:DAC:ALOPR") field(LNK3, "$(CM,recursive)20:DAC:AHOPR") field(LNK4, "$(CM,recursive)20:DF:ALOPR") field(LNK5, "$(CM,recursive)20:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)20:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)20:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)20:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)20:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)20:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)20:REV:ALOPR PP") } record(bo, "$(CM,recursive)20:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)20:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)20:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)20:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)20:CAV:ENABLE CP") field(INPB, "$(CM,recursive)20:FWD:ENABLE CP") field(INPC, "$(CM,recursive)20:REV:ENABLE CP") field(INPD, "$(CM,recursive)20:DRV:ENABLE CP") field(INPE, "$(CM,recursive)20:DAC:ENABLE CP") field(INPF, "$(CM,recursive)20:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)20:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)20:ACQ_NORD1_") field(FLNK, "$(CM,recursive)20:ACQ_NORD") } record(longin, "$(CM,recursive)20:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)20:ACQ_NORD2_") field(FLNK, "$(CM,recursive)20:ACQ_PERIOD") } record(calcout, "$(CM,recursive)20:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)20:ACQ_NORD") field(INPB, "$(CM,recursive)20:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)20:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)20:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)20:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)20:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)20:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:CAV:SCALE") field(OUTA, "$(CM,recursive)20:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)20:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_CAV:SCALE") info(feed:info:input, "$(CM,recursive)20:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)20:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)20:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:CAV:AHOPR") field(FLNK, "$(CM,recursive)20:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)20:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:CAV:AHOPR") field(LNK1, "$(CM,recursive)20:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:CAV:AHOPR") field(LNK2, "$(CM,recursive)20:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:CAV:AHOPR") field(LNK3, "$(CM,recursive)20:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:FWD:SCALE") field(OUTA, "$(CM,recursive)20:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)20:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_FWD:SCALE") info(feed:info:input, "$(CM,recursive)20:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)20:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)20:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:FWD:AHOPR") field(FLNK, "$(CM,recursive)20:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)20:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:FWD:AHOPR") field(LNK1, "$(CM,recursive)20:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:FWD:AHOPR") field(LNK2, "$(CM,recursive)20:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:FWD:AHOPR") field(LNK3, "$(CM,recursive)20:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:REV:SCALE") field(OUTA, "$(CM,recursive)20:REV:ISCALE PP") field(OUTB, "$(CM,recursive)20:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_REV:SCALE") info(feed:info:input, "$(CM,recursive)20:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)20:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)20:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:REV:AHOPR") field(FLNK, "$(CM,recursive)20:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)20:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:REV:AHOPR") field(LNK1, "$(CM,recursive)20:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:REV:AHOPR") field(LNK2, "$(CM,recursive)20:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:REV:AHOPR") field(LNK3, "$(CM,recursive)20:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DRV:SCALE") field(OUTA, "$(CM,recursive)20:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)20:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DRV:SCALE") info(feed:info:input, "$(CM,recursive)20:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)20:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)20:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:DRV:AHOPR") field(FLNK, "$(CM,recursive)20:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)20:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:DRV:AHOPR") field(LNK1, "$(CM,recursive)20:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:DRV:AHOPR") field(LNK2, "$(CM,recursive)20:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:DRV:AHOPR") field(LNK3, "$(CM,recursive)20:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DAC:SCALE") field(OUTA, "$(CM,recursive)20:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)20:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DAC:SCALE") info(feed:info:input, "$(CM,recursive)20:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)20:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)20:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:DAC:AHOPR") field(FLNK, "$(CM,recursive)20:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)20:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:DAC:AHOPR") field(LNK1, "$(CM,recursive)20:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:DAC:AHOPR") field(LNK2, "$(CM,recursive)20:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:DAC:AHOPR") field(LNK3, "$(CM,recursive)20:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)20:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)20:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:DF:SCALE") field(OUTA, "$(CM,recursive)20:DF:ISCALE PP") field(OUTB, "$(CM,recursive)20:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DF:SCALE") info(feed:info:input, "$(CM,recursive)20:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)20:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)20:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)20:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)20:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)20:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)20:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)20:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)20:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)20:SCALE_RESET_GO") } record(ao, "$(CM,recursive)20:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)20:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)20:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)20:DF:AHOPR") field(FLNK, "$(CM,recursive)20:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)20:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)20:DF:AHOPR") field(LNK1, "$(CM,recursive)20:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)20:DF:AHOPR") field(LNK2, "$(CM,recursive)20:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)20:DF:AHOPR") field(LNK3, "$(CM,recursive)20:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)20:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)20:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)20:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)20:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)30:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)30:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)30:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C3") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)30:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)30:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C3") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)30:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)30:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)30:REV:ENABLE PP") field(OUTD, "$(CM,recursive)30:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)30:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)30:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)30:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)30:CAV:NORD CPP") field(INPB, "$(CM,recursive)30:FWD:NORD CPP") field(INPC, "$(CM,recursive)30:REV:NORD CPP") field(INPD, "$(CM,recursive)30:DRV:NORD CPP") field(INPE, "$(CM,recursive)30:DAC:NORD CPP") field(INPF, "$(CM,recursive)30:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)30:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)30:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)30:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)30:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)30:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)30:FRHOPR") field(LNK2, "$(CM,recursive)30:FRLOPR") field(LNK3, "$(CM,recursive)30:CAV:ALOPR") field(LNK4, "$(CM,recursive)30:CAV:AHOPR") field(LNK5, "$(CM,recursive)30:DRV:ALOPR") field(LNK6, "$(CM,recursive)30:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)30:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)30:DRV:AHOPR") field(LNK2, "$(CM,recursive)30:DAC:ALOPR") field(LNK3, "$(CM,recursive)30:DAC:AHOPR") field(LNK4, "$(CM,recursive)30:DF:ALOPR") field(LNK5, "$(CM,recursive)30:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)30:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)30:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)30:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)30:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)30:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)30:REV:ALOPR PP") } record(bo, "$(CM,recursive)30:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)30:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)30:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)30:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)30:CAV:ENABLE CP") field(INPB, "$(CM,recursive)30:FWD:ENABLE CP") field(INPC, "$(CM,recursive)30:REV:ENABLE CP") field(INPD, "$(CM,recursive)30:DRV:ENABLE CP") field(INPE, "$(CM,recursive)30:DAC:ENABLE CP") field(INPF, "$(CM,recursive)30:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)30:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)30:ACQ_NORD1_") field(FLNK, "$(CM,recursive)30:ACQ_NORD") } record(longin, "$(CM,recursive)30:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)30:ACQ_NORD2_") field(FLNK, "$(CM,recursive)30:ACQ_PERIOD") } record(calcout, "$(CM,recursive)30:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)30:ACQ_NORD") field(INPB, "$(CM,recursive)30:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)30:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)30:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)30:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)30:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)30:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:CAV:SCALE") field(OUTA, "$(CM,recursive)30:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)30:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_CAV:SCALE") info(feed:info:input, "$(CM,recursive)30:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)30:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)30:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:CAV:AHOPR") field(FLNK, "$(CM,recursive)30:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)30:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:CAV:AHOPR") field(LNK1, "$(CM,recursive)30:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:CAV:AHOPR") field(LNK2, "$(CM,recursive)30:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:CAV:AHOPR") field(LNK3, "$(CM,recursive)30:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:FWD:SCALE") field(OUTA, "$(CM,recursive)30:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)30:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_FWD:SCALE") info(feed:info:input, "$(CM,recursive)30:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)30:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)30:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:FWD:AHOPR") field(FLNK, "$(CM,recursive)30:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)30:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:FWD:AHOPR") field(LNK1, "$(CM,recursive)30:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:FWD:AHOPR") field(LNK2, "$(CM,recursive)30:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:FWD:AHOPR") field(LNK3, "$(CM,recursive)30:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:REV:SCALE") field(OUTA, "$(CM,recursive)30:REV:ISCALE PP") field(OUTB, "$(CM,recursive)30:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_REV:SCALE") info(feed:info:input, "$(CM,recursive)30:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)30:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)30:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:REV:AHOPR") field(FLNK, "$(CM,recursive)30:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)30:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:REV:AHOPR") field(LNK1, "$(CM,recursive)30:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:REV:AHOPR") field(LNK2, "$(CM,recursive)30:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:REV:AHOPR") field(LNK3, "$(CM,recursive)30:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DRV:SCALE") field(OUTA, "$(CM,recursive)30:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)30:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DRV:SCALE") info(feed:info:input, "$(CM,recursive)30:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)30:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)30:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:DRV:AHOPR") field(FLNK, "$(CM,recursive)30:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)30:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:DRV:AHOPR") field(LNK1, "$(CM,recursive)30:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:DRV:AHOPR") field(LNK2, "$(CM,recursive)30:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:DRV:AHOPR") field(LNK3, "$(CM,recursive)30:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DAC:SCALE") field(OUTA, "$(CM,recursive)30:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)30:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DAC:SCALE") info(feed:info:input, "$(CM,recursive)30:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)30:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)30:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:DAC:AHOPR") field(FLNK, "$(CM,recursive)30:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)30:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:DAC:AHOPR") field(LNK1, "$(CM,recursive)30:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:DAC:AHOPR") field(LNK2, "$(CM,recursive)30:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:DAC:AHOPR") field(LNK3, "$(CM,recursive)30:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)30:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)30:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:DF:SCALE") field(OUTA, "$(CM,recursive)30:DF:ISCALE PP") field(OUTB, "$(CM,recursive)30:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DF:SCALE") info(feed:info:input, "$(CM,recursive)30:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)30:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)30:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)30:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)30:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)30:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)30:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)30:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)30:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)30:SCALE_RESET_GO") } record(ao, "$(CM,recursive)30:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)30:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)30:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)30:DF:AHOPR") field(FLNK, "$(CM,recursive)30:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)30:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)30:DF:AHOPR") field(LNK1, "$(CM,recursive)30:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)30:DF:AHOPR") field(LNK2, "$(CM,recursive)30:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)30:DF:AHOPR") field(LNK3, "$(CM,recursive)30:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)30:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)30:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)30:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)30:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)40:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)40:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)40:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C4") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)40:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)40:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C4") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)40:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)40:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)40:REV:ENABLE PP") field(OUTD, "$(CM,recursive)40:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)40:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)40:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)40:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)40:CAV:NORD CPP") field(INPB, "$(CM,recursive)40:FWD:NORD CPP") field(INPC, "$(CM,recursive)40:REV:NORD CPP") field(INPD, "$(CM,recursive)40:DRV:NORD CPP") field(INPE, "$(CM,recursive)40:DAC:NORD CPP") field(INPF, "$(CM,recursive)40:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)40:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)40:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)40:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)40:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)40:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)40:FRHOPR") field(LNK2, "$(CM,recursive)40:FRLOPR") field(LNK3, "$(CM,recursive)40:CAV:ALOPR") field(LNK4, "$(CM,recursive)40:CAV:AHOPR") field(LNK5, "$(CM,recursive)40:DRV:ALOPR") field(LNK6, "$(CM,recursive)40:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)40:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)40:DRV:AHOPR") field(LNK2, "$(CM,recursive)40:DAC:ALOPR") field(LNK3, "$(CM,recursive)40:DAC:AHOPR") field(LNK4, "$(CM,recursive)40:DF:ALOPR") field(LNK5, "$(CM,recursive)40:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)40:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)40:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)40:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)40:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)40:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)40:REV:ALOPR PP") } record(bo, "$(CM,recursive)40:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)40:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)40:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)40:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)40:CAV:ENABLE CP") field(INPB, "$(CM,recursive)40:FWD:ENABLE CP") field(INPC, "$(CM,recursive)40:REV:ENABLE CP") field(INPD, "$(CM,recursive)40:DRV:ENABLE CP") field(INPE, "$(CM,recursive)40:DAC:ENABLE CP") field(INPF, "$(CM,recursive)40:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)40:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)40:ACQ_NORD1_") field(FLNK, "$(CM,recursive)40:ACQ_NORD") } record(longin, "$(CM,recursive)40:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)40:ACQ_NORD2_") field(FLNK, "$(CM,recursive)40:ACQ_PERIOD") } record(calcout, "$(CM,recursive)40:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)40:ACQ_NORD") field(INPB, "$(CM,recursive)40:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)40:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)40:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)40:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)40:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)40:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:CAV:SCALE") field(OUTA, "$(CM,recursive)40:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)40:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_CAV:SCALE") info(feed:info:input, "$(CM,recursive)40:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)40:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)40:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:CAV:AHOPR") field(FLNK, "$(CM,recursive)40:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)40:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:CAV:AHOPR") field(LNK1, "$(CM,recursive)40:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:CAV:AHOPR") field(LNK2, "$(CM,recursive)40:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:CAV:AHOPR") field(LNK3, "$(CM,recursive)40:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:FWD:SCALE") field(OUTA, "$(CM,recursive)40:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)40:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_FWD:SCALE") info(feed:info:input, "$(CM,recursive)40:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)40:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)40:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:FWD:AHOPR") field(FLNK, "$(CM,recursive)40:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)40:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:FWD:AHOPR") field(LNK1, "$(CM,recursive)40:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:FWD:AHOPR") field(LNK2, "$(CM,recursive)40:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:FWD:AHOPR") field(LNK3, "$(CM,recursive)40:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:REV:SCALE") field(OUTA, "$(CM,recursive)40:REV:ISCALE PP") field(OUTB, "$(CM,recursive)40:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_REV:SCALE") info(feed:info:input, "$(CM,recursive)40:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)40:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)40:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:REV:AHOPR") field(FLNK, "$(CM,recursive)40:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)40:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:REV:AHOPR") field(LNK1, "$(CM,recursive)40:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:REV:AHOPR") field(LNK2, "$(CM,recursive)40:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:REV:AHOPR") field(LNK3, "$(CM,recursive)40:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DRV:SCALE") field(OUTA, "$(CM,recursive)40:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)40:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DRV:SCALE") info(feed:info:input, "$(CM,recursive)40:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)40:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)40:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:DRV:AHOPR") field(FLNK, "$(CM,recursive)40:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)40:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:DRV:AHOPR") field(LNK1, "$(CM,recursive)40:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:DRV:AHOPR") field(LNK2, "$(CM,recursive)40:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:DRV:AHOPR") field(LNK3, "$(CM,recursive)40:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DAC:SCALE") field(OUTA, "$(CM,recursive)40:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)40:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DAC:SCALE") info(feed:info:input, "$(CM,recursive)40:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)40:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)40:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:DAC:AHOPR") field(FLNK, "$(CM,recursive)40:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)40:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:DAC:AHOPR") field(LNK1, "$(CM,recursive)40:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:DAC:AHOPR") field(LNK2, "$(CM,recursive)40:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:DAC:AHOPR") field(LNK3, "$(CM,recursive)40:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)40:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)40:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:DF:SCALE") field(OUTA, "$(CM,recursive)40:DF:ISCALE PP") field(OUTB, "$(CM,recursive)40:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DF:SCALE") info(feed:info:input, "$(CM,recursive)40:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)40:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)40:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)40:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)40:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)40:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)40:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)40:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)40:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)40:SCALE_RESET_GO") } record(ao, "$(CM,recursive)40:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)40:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)40:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)40:DF:AHOPR") field(FLNK, "$(CM,recursive)40:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)40:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)40:DF:AHOPR") field(LNK1, "$(CM,recursive)40:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)40:DF:AHOPR") field(LNK2, "$(CM,recursive)40:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)40:DF:AHOPR") field(LNK3, "$(CM,recursive)40:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)40:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)40:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)40:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)40:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)50:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)50:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)50:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C5") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)50:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)50:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C5") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)50:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)50:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)50:REV:ENABLE PP") field(OUTD, "$(CM,recursive)50:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)50:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)50:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)50:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)50:CAV:NORD CPP") field(INPB, "$(CM,recursive)50:FWD:NORD CPP") field(INPC, "$(CM,recursive)50:REV:NORD CPP") field(INPD, "$(CM,recursive)50:DRV:NORD CPP") field(INPE, "$(CM,recursive)50:DAC:NORD CPP") field(INPF, "$(CM,recursive)50:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)50:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)50:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)50:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)50:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)50:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)50:FRHOPR") field(LNK2, "$(CM,recursive)50:FRLOPR") field(LNK3, "$(CM,recursive)50:CAV:ALOPR") field(LNK4, "$(CM,recursive)50:CAV:AHOPR") field(LNK5, "$(CM,recursive)50:DRV:ALOPR") field(LNK6, "$(CM,recursive)50:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)50:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)50:DRV:AHOPR") field(LNK2, "$(CM,recursive)50:DAC:ALOPR") field(LNK3, "$(CM,recursive)50:DAC:AHOPR") field(LNK4, "$(CM,recursive)50:DF:ALOPR") field(LNK5, "$(CM,recursive)50:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)50:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)50:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)50:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)50:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)50:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)50:REV:ALOPR PP") } record(bo, "$(CM,recursive)50:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)50:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)50:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)50:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)50:CAV:ENABLE CP") field(INPB, "$(CM,recursive)50:FWD:ENABLE CP") field(INPC, "$(CM,recursive)50:REV:ENABLE CP") field(INPD, "$(CM,recursive)50:DRV:ENABLE CP") field(INPE, "$(CM,recursive)50:DAC:ENABLE CP") field(INPF, "$(CM,recursive)50:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)50:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)50:ACQ_NORD1_") field(FLNK, "$(CM,recursive)50:ACQ_NORD") } record(longin, "$(CM,recursive)50:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)50:ACQ_NORD2_") field(FLNK, "$(CM,recursive)50:ACQ_PERIOD") } record(calcout, "$(CM,recursive)50:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)50:ACQ_NORD") field(INPB, "$(CM,recursive)50:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)50:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)50:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)50:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)50:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)50:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:CAV:SCALE") field(OUTA, "$(CM,recursive)50:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)50:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_CAV:SCALE") info(feed:info:input, "$(CM,recursive)50:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)50:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)50:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:CAV:AHOPR") field(FLNK, "$(CM,recursive)50:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)50:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:CAV:AHOPR") field(LNK1, "$(CM,recursive)50:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:CAV:AHOPR") field(LNK2, "$(CM,recursive)50:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:CAV:AHOPR") field(LNK3, "$(CM,recursive)50:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:FWD:SCALE") field(OUTA, "$(CM,recursive)50:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)50:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_FWD:SCALE") info(feed:info:input, "$(CM,recursive)50:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)50:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)50:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:FWD:AHOPR") field(FLNK, "$(CM,recursive)50:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)50:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:FWD:AHOPR") field(LNK1, "$(CM,recursive)50:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:FWD:AHOPR") field(LNK2, "$(CM,recursive)50:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:FWD:AHOPR") field(LNK3, "$(CM,recursive)50:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:REV:SCALE") field(OUTA, "$(CM,recursive)50:REV:ISCALE PP") field(OUTB, "$(CM,recursive)50:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_REV:SCALE") info(feed:info:input, "$(CM,recursive)50:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)50:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)50:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:REV:AHOPR") field(FLNK, "$(CM,recursive)50:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)50:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:REV:AHOPR") field(LNK1, "$(CM,recursive)50:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:REV:AHOPR") field(LNK2, "$(CM,recursive)50:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:REV:AHOPR") field(LNK3, "$(CM,recursive)50:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DRV:SCALE") field(OUTA, "$(CM,recursive)50:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)50:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DRV:SCALE") info(feed:info:input, "$(CM,recursive)50:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)50:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)50:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:DRV:AHOPR") field(FLNK, "$(CM,recursive)50:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)50:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:DRV:AHOPR") field(LNK1, "$(CM,recursive)50:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:DRV:AHOPR") field(LNK2, "$(CM,recursive)50:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:DRV:AHOPR") field(LNK3, "$(CM,recursive)50:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DAC:SCALE") field(OUTA, "$(CM,recursive)50:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)50:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DAC:SCALE") info(feed:info:input, "$(CM,recursive)50:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)50:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)50:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:DAC:AHOPR") field(FLNK, "$(CM,recursive)50:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)50:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:DAC:AHOPR") field(LNK1, "$(CM,recursive)50:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:DAC:AHOPR") field(LNK2, "$(CM,recursive)50:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:DAC:AHOPR") field(LNK3, "$(CM,recursive)50:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)50:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)50:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:DF:SCALE") field(OUTA, "$(CM,recursive)50:DF:ISCALE PP") field(OUTB, "$(CM,recursive)50:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DF:SCALE") info(feed:info:input, "$(CM,recursive)50:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)50:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)50:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)50:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)50:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)50:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)50:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)50:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)50:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)50:SCALE_RESET_GO") } record(ao, "$(CM,recursive)50:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)50:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)50:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)50:DF:AHOPR") field(FLNK, "$(CM,recursive)50:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)50:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)50:DF:AHOPR") field(LNK1, "$(CM,recursive)50:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)50:DF:AHOPR") field(LNK2, "$(CM,recursive)50:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)50:DF:AHOPR") field(LNK3, "$(CM,recursive)50:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)50:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)50:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)50:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)50:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)60:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)60:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)60:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C6") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)60:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)60:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C6") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)60:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)60:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)60:REV:ENABLE PP") field(OUTD, "$(CM,recursive)60:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)60:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)60:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)60:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)60:CAV:NORD CPP") field(INPB, "$(CM,recursive)60:FWD:NORD CPP") field(INPC, "$(CM,recursive)60:REV:NORD CPP") field(INPD, "$(CM,recursive)60:DRV:NORD CPP") field(INPE, "$(CM,recursive)60:DAC:NORD CPP") field(INPF, "$(CM,recursive)60:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)60:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)60:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)60:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)60:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)60:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)60:FRHOPR") field(LNK2, "$(CM,recursive)60:FRLOPR") field(LNK3, "$(CM,recursive)60:CAV:ALOPR") field(LNK4, "$(CM,recursive)60:CAV:AHOPR") field(LNK5, "$(CM,recursive)60:DRV:ALOPR") field(LNK6, "$(CM,recursive)60:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)60:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)60:DRV:AHOPR") field(LNK2, "$(CM,recursive)60:DAC:ALOPR") field(LNK3, "$(CM,recursive)60:DAC:AHOPR") field(LNK4, "$(CM,recursive)60:DF:ALOPR") field(LNK5, "$(CM,recursive)60:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)60:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)60:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)60:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)60:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)60:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)60:REV:ALOPR PP") } record(bo, "$(CM,recursive)60:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)60:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)60:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)60:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)60:CAV:ENABLE CP") field(INPB, "$(CM,recursive)60:FWD:ENABLE CP") field(INPC, "$(CM,recursive)60:REV:ENABLE CP") field(INPD, "$(CM,recursive)60:DRV:ENABLE CP") field(INPE, "$(CM,recursive)60:DAC:ENABLE CP") field(INPF, "$(CM,recursive)60:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)60:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)60:ACQ_NORD1_") field(FLNK, "$(CM,recursive)60:ACQ_NORD") } record(longin, "$(CM,recursive)60:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)60:ACQ_NORD2_") field(FLNK, "$(CM,recursive)60:ACQ_PERIOD") } record(calcout, "$(CM,recursive)60:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)60:ACQ_NORD") field(INPB, "$(CM,recursive)60:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)60:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)60:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)60:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)60:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)60:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:CAV:SCALE") field(OUTA, "$(CM,recursive)60:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)60:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_CAV:SCALE") info(feed:info:input, "$(CM,recursive)60:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)60:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)60:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:CAV:AHOPR") field(FLNK, "$(CM,recursive)60:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)60:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:CAV:AHOPR") field(LNK1, "$(CM,recursive)60:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:CAV:AHOPR") field(LNK2, "$(CM,recursive)60:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:CAV:AHOPR") field(LNK3, "$(CM,recursive)60:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:FWD:SCALE") field(OUTA, "$(CM,recursive)60:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)60:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_FWD:SCALE") info(feed:info:input, "$(CM,recursive)60:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)60:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)60:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:FWD:AHOPR") field(FLNK, "$(CM,recursive)60:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)60:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:FWD:AHOPR") field(LNK1, "$(CM,recursive)60:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:FWD:AHOPR") field(LNK2, "$(CM,recursive)60:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:FWD:AHOPR") field(LNK3, "$(CM,recursive)60:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:REV:SCALE") field(OUTA, "$(CM,recursive)60:REV:ISCALE PP") field(OUTB, "$(CM,recursive)60:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_REV:SCALE") info(feed:info:input, "$(CM,recursive)60:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)60:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)60:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:REV:AHOPR") field(FLNK, "$(CM,recursive)60:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)60:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:REV:AHOPR") field(LNK1, "$(CM,recursive)60:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:REV:AHOPR") field(LNK2, "$(CM,recursive)60:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:REV:AHOPR") field(LNK3, "$(CM,recursive)60:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DRV:SCALE") field(OUTA, "$(CM,recursive)60:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)60:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DRV:SCALE") info(feed:info:input, "$(CM,recursive)60:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)60:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)60:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:DRV:AHOPR") field(FLNK, "$(CM,recursive)60:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)60:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:DRV:AHOPR") field(LNK1, "$(CM,recursive)60:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:DRV:AHOPR") field(LNK2, "$(CM,recursive)60:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:DRV:AHOPR") field(LNK3, "$(CM,recursive)60:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DAC:SCALE") field(OUTA, "$(CM,recursive)60:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)60:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DAC:SCALE") info(feed:info:input, "$(CM,recursive)60:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)60:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)60:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:DAC:AHOPR") field(FLNK, "$(CM,recursive)60:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)60:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:DAC:AHOPR") field(LNK1, "$(CM,recursive)60:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:DAC:AHOPR") field(LNK2, "$(CM,recursive)60:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:DAC:AHOPR") field(LNK3, "$(CM,recursive)60:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)60:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)60:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:DF:SCALE") field(OUTA, "$(CM,recursive)60:DF:ISCALE PP") field(OUTB, "$(CM,recursive)60:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DF:SCALE") info(feed:info:input, "$(CM,recursive)60:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)60:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)60:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)60:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)60:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)60:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)60:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)60:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)60:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)60:SCALE_RESET_GO") } record(ao, "$(CM,recursive)60:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)60:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)60:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)60:DF:AHOPR") field(FLNK, "$(CM,recursive)60:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)60:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)60:DF:AHOPR") field(LNK1, "$(CM,recursive)60:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)60:DF:AHOPR") field(LNK2, "$(CM,recursive)60:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)60:DF:AHOPR") field(LNK3, "$(CM,recursive)60:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)60:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)60:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)60:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)60:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)70:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)70:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)70:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C7") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)70:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)70:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C7") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)70:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)70:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)70:REV:ENABLE PP") field(OUTD, "$(CM,recursive)70:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)70:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)70:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)70:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)70:CAV:NORD CPP") field(INPB, "$(CM,recursive)70:FWD:NORD CPP") field(INPC, "$(CM,recursive)70:REV:NORD CPP") field(INPD, "$(CM,recursive)70:DRV:NORD CPP") field(INPE, "$(CM,recursive)70:DAC:NORD CPP") field(INPF, "$(CM,recursive)70:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)70:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)70:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)70:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)70:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)70:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)70:FRHOPR") field(LNK2, "$(CM,recursive)70:FRLOPR") field(LNK3, "$(CM,recursive)70:CAV:ALOPR") field(LNK4, "$(CM,recursive)70:CAV:AHOPR") field(LNK5, "$(CM,recursive)70:DRV:ALOPR") field(LNK6, "$(CM,recursive)70:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)70:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)70:DRV:AHOPR") field(LNK2, "$(CM,recursive)70:DAC:ALOPR") field(LNK3, "$(CM,recursive)70:DAC:AHOPR") field(LNK4, "$(CM,recursive)70:DF:ALOPR") field(LNK5, "$(CM,recursive)70:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)70:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)70:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)70:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)70:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)70:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)70:REV:ALOPR PP") } record(bo, "$(CM,recursive)70:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)70:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)70:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)70:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)70:CAV:ENABLE CP") field(INPB, "$(CM,recursive)70:FWD:ENABLE CP") field(INPC, "$(CM,recursive)70:REV:ENABLE CP") field(INPD, "$(CM,recursive)70:DRV:ENABLE CP") field(INPE, "$(CM,recursive)70:DAC:ENABLE CP") field(INPF, "$(CM,recursive)70:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)70:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)70:ACQ_NORD1_") field(FLNK, "$(CM,recursive)70:ACQ_NORD") } record(longin, "$(CM,recursive)70:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)70:ACQ_NORD2_") field(FLNK, "$(CM,recursive)70:ACQ_PERIOD") } record(calcout, "$(CM,recursive)70:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)70:ACQ_NORD") field(INPB, "$(CM,recursive)70:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)70:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)70:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)70:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)70:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)70:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:CAV:SCALE") field(OUTA, "$(CM,recursive)70:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)70:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_CAV:SCALE") info(feed:info:input, "$(CM,recursive)70:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)70:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)70:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:CAV:AHOPR") field(FLNK, "$(CM,recursive)70:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)70:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:CAV:AHOPR") field(LNK1, "$(CM,recursive)70:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:CAV:AHOPR") field(LNK2, "$(CM,recursive)70:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:CAV:AHOPR") field(LNK3, "$(CM,recursive)70:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:FWD:SCALE") field(OUTA, "$(CM,recursive)70:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)70:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_FWD:SCALE") info(feed:info:input, "$(CM,recursive)70:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)70:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)70:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:FWD:AHOPR") field(FLNK, "$(CM,recursive)70:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)70:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:FWD:AHOPR") field(LNK1, "$(CM,recursive)70:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:FWD:AHOPR") field(LNK2, "$(CM,recursive)70:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:FWD:AHOPR") field(LNK3, "$(CM,recursive)70:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:REV:SCALE") field(OUTA, "$(CM,recursive)70:REV:ISCALE PP") field(OUTB, "$(CM,recursive)70:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_REV:SCALE") info(feed:info:input, "$(CM,recursive)70:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)70:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)70:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:REV:AHOPR") field(FLNK, "$(CM,recursive)70:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)70:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:REV:AHOPR") field(LNK1, "$(CM,recursive)70:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:REV:AHOPR") field(LNK2, "$(CM,recursive)70:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:REV:AHOPR") field(LNK3, "$(CM,recursive)70:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DRV:SCALE") field(OUTA, "$(CM,recursive)70:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)70:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DRV:SCALE") info(feed:info:input, "$(CM,recursive)70:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)70:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)70:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:DRV:AHOPR") field(FLNK, "$(CM,recursive)70:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)70:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:DRV:AHOPR") field(LNK1, "$(CM,recursive)70:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:DRV:AHOPR") field(LNK2, "$(CM,recursive)70:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:DRV:AHOPR") field(LNK3, "$(CM,recursive)70:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DAC:SCALE") field(OUTA, "$(CM,recursive)70:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)70:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DAC:SCALE") info(feed:info:input, "$(CM,recursive)70:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)70:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)70:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:DAC:AHOPR") field(FLNK, "$(CM,recursive)70:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)70:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:DAC:AHOPR") field(LNK1, "$(CM,recursive)70:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:DAC:AHOPR") field(LNK2, "$(CM,recursive)70:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:DAC:AHOPR") field(LNK3, "$(CM,recursive)70:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)70:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)70:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:DF:SCALE") field(OUTA, "$(CM,recursive)70:DF:ISCALE PP") field(OUTB, "$(CM,recursive)70:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DF:SCALE") info(feed:info:input, "$(CM,recursive)70:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)70:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)70:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)70:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)70:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)70:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)70:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)70:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)70:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)70:SCALE_RESET_GO") } record(ao, "$(CM,recursive)70:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)70:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)70:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)70:DF:AHOPR") field(FLNK, "$(CM,recursive)70:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)70:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)70:DF:AHOPR") field(LNK1, "$(CM,recursive)70:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)70:DF:AHOPR") field(LNK2, "$(CM,recursive)70:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)70:DF:AHOPR") field(LNK3, "$(CM,recursive)70:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)70:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)70:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)70:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)70:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCav.db: # # Additional waveform acquisition # support for a single cavity #---------------------------------- #================================== #================================== # Set up default configuration # at iocInit. Possible settings: # waveform acq 'normal' mode* # waveform decimation # waveform statistics start/width # # (Only * implemented at this time.) # # FEED includes these in autosave, # so may not need to set these on boot. # Doing so would at least start us # at nominal setup, which may be desirable. #================================== record(seq, "$(CM,recursive)80:ACQ_INIT_SEQ") { field(DESC, "Set up wf acq defaults") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)80:ACQ_MODE PP") field(PINI, "YES") } #================================== # Records to enable/disable acquisition # for all signals for one cavity. # Not processed at iocInit; # wfCmSig enables acquisition of # all signals at iocInit #================================== record(bo, "$(CM,recursive)80:ENABLE_ALL_SIG") { field(DESC, "Enable/disable acq for C8") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)80:ENABLE_ALL_SIG_FO") } record(dfanout, "$(CM,recursive)80:ENABLE_ALL_SIG_FO") { field(DESC, "Enable/disable acq for C8") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:ENABLE_ALL_SIG") field(OUTA, "$(CM,recursive)80:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)80:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)80:REV:ENABLE PP") field(OUTD, "$(CM,recursive)80:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)80:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)80:DF:ENABLE PP") } #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)80:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)80:CAV:NORD CPP") field(INPB, "$(CM,recursive)80:FWD:NORD CPP") field(INPC, "$(CM,recursive)80:REV:NORD CPP") field(INPD, "$(CM,recursive)80:DRV:NORD CPP") field(INPE, "$(CM,recursive)80:DAC:NORD CPP") field(INPF, "$(CM,recursive)80:DF:NORD CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)80:DISP_RESET_GO PP") } record(bo, "$(CM,recursive)80:DISP_RESET_GO") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)80:DISP_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)80:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } #================================== # Set waveform display ranges. # Affects all users. #================================== record(fanout, "$(CM,recursive)80:OPR_INIT") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)80:FRHOPR") field(LNK2, "$(CM,recursive)80:FRLOPR") field(LNK3, "$(CM,recursive)80:CAV:ALOPR") field(LNK4, "$(CM,recursive)80:CAV:AHOPR") field(LNK5, "$(CM,recursive)80:DRV:ALOPR") field(LNK6, "$(CM,recursive)80:OPR_INIT2") field(PINI, "YES") } record(fanout, "$(CM,recursive)80:OPR_INIT2") { field(DESC, "Init wf disp vert ranges") field(SELM, "All") field(LNK1, "$(CM,recursive)80:DRV:AHOPR") field(LNK2, "$(CM,recursive)80:DAC:ALOPR") field(LNK3, "$(CM,recursive)80:DAC:AHOPR") field(LNK4, "$(CM,recursive)80:DF:ALOPR") field(LNK5, "$(CM,recursive)80:DF:AHOPR") field(PINI, "YES") } record(dfanout, "$(CM,recursive)80:FRHOPR") { field(SELM, "All") field(VAL, "60") field(OUTA, "$(CM,recursive)80:FWD:AHOPR PP") field(OUTB, "$(CM,recursive)80:REV:AHOPR PP") } record(dfanout, "$(CM,recursive)80:FRLOPR") { field(SELM, "All") field(VAL, "0") field(OUTA, "$(CM,recursive)80:FWD:ALOPR PP") field(OUTB, "$(CM,recursive)80:REV:ALOPR PP") } record(bo, "$(CM,recursive)80:SCALE_RESET_GO") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "closed_loop") field(DOL, "1") field(OUT, "$(CM,recursive)80:SCALE_RESET PP") field(PINI, "YES") } record(bo, "$(CM,recursive)80:SCALE_RESET") { field(DESC, "Reset vert scale for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") } #================================== # Determine waveform period length # based on number of active waveforms # and decimation factor. Used # by pulse control software. #================================== record(calc, "$(CM,recursive)80:ACQ_NORD1_") { field(DESC, "Calc WF NORD") field(CALC, "A+B+C+D+E+F") field(INPA, "$(CM,recursive)80:CAV:ENABLE CP") field(INPB, "$(CM,recursive)80:FWD:ENABLE CP") field(INPC, "$(CM,recursive)80:REV:ENABLE CP") field(INPD, "$(CM,recursive)80:DRV:ENABLE CP") field(INPE, "$(CM,recursive)80:DAC:ENABLE CP") field(INPF, "$(CM,recursive)80:DF:ENABLE CP") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:ACQ_NORD2_") } # Do our own calculation of NORD instead # of reading from WF NORD PV; it can be # wrong if WFs not updating. record(calc, "$(CM,recursive)80:ACQ_NORD2_") { field(DESC, "Calc WF NORD") field(CALC, "A=0?4096:CEIL(4096/A)") field(INPA, "$(CM,recursive)80:ACQ_NORD1_") field(FLNK, "$(CM,recursive)80:ACQ_NORD") } record(longin, "$(CM,recursive)80:ACQ_NORD") { field(DESC, "nsamples for active wf") field(INP, "$(CM,recursive)80:ACQ_NORD2_") field(FLNK, "$(CM,recursive)80:ACQ_PERIOD") } record(calcout, "$(CM,recursive)80:ACQ_PERIOD") { field(DESC, "WF acquisition length") # Number of samples * sample period field(CALC, "A*B") field(INPA, "$(CM,recursive)80:ACQ_NORD") field(INPB, "$(CM,recursive)80:ACQ_SAMP_PERIOD CP") field(EGU, "s") # Set DOPT to force OCAL to be executed field(DOPT, "Use OCAL") field(OOPT, "Every Time") field(OCAL, "A*B*1000") # OVAL = VAL in ms # field(OUT, "$(CM,recursive)80:PULSE_ONTIME.DRVH NPP") field(FLNK, "$(CM,recursive)80:ACQ_PERIOD_FO") } record(dfanout, "$(CM,recursive)80:ACQ_PERIOD_FO") { field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:ACQ_PERIOD.OVAL") field(OUTA, "$(CM,recursive)80:PULSE_OFFTIME.DRVH NPP") # ONTIME processes OFFTIME field(OUTB, "$(CM,recursive)80:PULSE_ONTIME.DRVH PP") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:CAV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:CAV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:CAV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:CAV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:CAV:SCALE") field(OUTA, "$(CM,recursive)80:CAV:ISCALE PP") field(OUTB, "$(CM,recursive)80:CAV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:CAV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_CAV:SCALE") info(feed:info:input, "$(CM,recursive)80:CAV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:CAV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:CAV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:CAV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:CAV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:CAV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:CAV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:CAV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:CAV:AHOPR") { field(OMSL, "supervisory") field(VAL, "20") field(FLNK, "$(CM,recursive)80:CAV:IQLOPRCALC") } record(calc, "$(CM,recursive)80:CAV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:CAV:AHOPR") field(FLNK, "$(CM,recursive)80:CAV:AHOPRSEQ") } record(seq, "$(CM,recursive)80:CAV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:CAV:AHOPR") field(LNK1, "$(CM,recursive)80:CAV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:CAV:AHOPR") field(LNK2, "$(CM,recursive)80:CAV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:CAV:AHOPR") field(LNK3, "$(CM,recursive)80:CAV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:CAV:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:CAV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:CAV:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:CAV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:FWD:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:FWD:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:FWD:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:FWD:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:FWD:SCALE") field(OUTA, "$(CM,recursive)80:FWD:ISCALE PP") field(OUTB, "$(CM,recursive)80:FWD:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:FWD:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_FWD:SCALE") info(feed:info:input, "$(CM,recursive)80:FWD:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:FWD:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:FWD:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:FWD:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:FWD:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:FWD:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:FWD:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:FWD:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:FWD:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)80:FWD:IQLOPRCALC") } record(calc, "$(CM,recursive)80:FWD:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:FWD:AHOPR") field(FLNK, "$(CM,recursive)80:FWD:AHOPRSEQ") } record(seq, "$(CM,recursive)80:FWD:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:FWD:AHOPR") field(LNK1, "$(CM,recursive)80:FWD:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:FWD:AHOPR") field(LNK2, "$(CM,recursive)80:FWD:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:FWD:AHOPR") field(LNK3, "$(CM,recursive)80:FWD:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:FWD:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:FWD:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:FWD:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:FWD:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:REV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:REV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:REV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:REV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:REV:SCALE") field(OUTA, "$(CM,recursive)80:REV:ISCALE PP") field(OUTB, "$(CM,recursive)80:REV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:REV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_REV:SCALE") info(feed:info:input, "$(CM,recursive)80:REV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:REV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:REV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:REV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:REV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:REV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:REV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:REV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:REV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)80:REV:IQLOPRCALC") } record(calc, "$(CM,recursive)80:REV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:REV:AHOPR") field(FLNK, "$(CM,recursive)80:REV:AHOPRSEQ") } record(seq, "$(CM,recursive)80:REV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:REV:AHOPR") field(LNK1, "$(CM,recursive)80:REV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:REV:AHOPR") field(LNK2, "$(CM,recursive)80:REV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:REV:AHOPR") field(LNK3, "$(CM,recursive)80:REV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:REV:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:REV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:REV:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:REV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:DRV:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DRV:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:DRV:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:DRV:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DRV:SCALE") field(OUTA, "$(CM,recursive)80:DRV:ISCALE PP") field(OUTB, "$(CM,recursive)80:DRV:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DRV:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DRV:SCALE") info(feed:info:input, "$(CM,recursive)80:DRV:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:DRV:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:DRV:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:DRV:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:DRV:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:DRV:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:DRV:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:DRV:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:DRV:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)80:DRV:IQLOPRCALC") } record(calc, "$(CM,recursive)80:DRV:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:DRV:AHOPR") field(FLNK, "$(CM,recursive)80:DRV:AHOPRSEQ") } record(seq, "$(CM,recursive)80:DRV:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:DRV:AHOPR") field(LNK1, "$(CM,recursive)80:DRV:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:DRV:AHOPR") field(LNK2, "$(CM,recursive)80:DRV:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:DRV:AHOPR") field(LNK3, "$(CM,recursive)80:DRV:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:DRV:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:DRV:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:DRV:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:DRV:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:DAC:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DAC:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:DAC:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:DAC:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DAC:SCALE") field(OUTA, "$(CM,recursive)80:DAC:ISCALE PP") field(OUTB, "$(CM,recursive)80:DAC:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DAC:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DAC:SCALE") info(feed:info:input, "$(CM,recursive)80:DAC:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:DAC:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:DAC:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:DAC:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:DAC:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:DAC:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:DAC:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:DAC:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:DAC:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)80:DAC:IQLOPRCALC") } record(calc, "$(CM,recursive)80:DAC:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:DAC:AHOPR") field(FLNK, "$(CM,recursive)80:DAC:AHOPRSEQ") } record(seq, "$(CM,recursive)80:DAC:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:DAC:AHOPR") field(LNK1, "$(CM,recursive)80:DAC:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:DAC:AHOPR") field(LNK2, "$(CM,recursive)80:DAC:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:DAC:AHOPR") field(LNK3, "$(CM,recursive)80:DAC:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:DAC:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:DAC:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:DAC:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:DAC:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCavSig.db: # # Waveform signal support for a # single signal, for a single cavity #---------------------------------- #================================== #================================== # Calibration scale factor for # SRF waveform signals. Fans value # out to corresponding I and Q # waveform scale factors. #================================== record(ao, "$(CM,recursive)80:DF:SCALE") { field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DF:SCALE_CALC") field(PREC, "7") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:DF:SCALE_FO PP") info(autosaveFields, "VAL") } record(dfanout, "$(CM,recursive)80:DF:SCALE_FO") { field(DESC, "Write out WF scale factors") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:DF:SCALE") field(OUTA, "$(CM,recursive)80:DF:ISCALE PP") field(OUTB, "$(CM,recursive)80:DF:QSCALE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DF:SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DF:SCALE") info(feed:info:input, "$(CM,recursive)80:DF:SCALE") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(seq, "$(CM,recursive)80:DF:TIME_RESET") { # field(DESC, "Tasks when WF time base changes") # field(SELM, "All") # field(DOL1, "$(CM,recursive)80:DF:NORD CPP") # field(LNK1, "") # field(DOL2, "1") # field(LNK2, "$(CM,recursive)80:DF:DISP_RESET_GO.PROC PP") #} #record(bo, "$(CM,recursive)80:DF:DISP_RESET_GO") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "closed_loop") # field(DOL, "1") # field(OUT, "$(CM,recursive)80:DF:DISP_RESET PP") # field(PINI, "YES") #} #record(bo, "$(CM,recursive)80:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Set waveform display ranges. # Affects all users. # Setting range upper limit also # sets I/Q range to +/- upper limit. # Sets limits for I/QWFDISP PVs # because those are shown on the # relevant waveform displays. # # On boot, these records are processed # by wfCav(x).template #================================== record(ao, "$(CM,recursive)80:DF:ALOPR") { field(OMSL, "supervisory") field(VAL, "0") field(OUT, "$(CM,recursive)80:DF:AWF.LOPR PP") field(FLNK, "$(CM,recursive)80:SCALE_RESET_GO") } record(ao, "$(CM,recursive)80:DF:AHOPR") { field(OMSL, "supervisory") field(VAL, "0") field(FLNK, "$(CM,recursive)80:DF:IQLOPRCALC") } record(calc, "$(CM,recursive)80:DF:IQLOPRCALC") { field(CALC, "-A") field(INPA, "$(CM,recursive)80:DF:AHOPR") field(FLNK, "$(CM,recursive)80:DF:AHOPRSEQ") } record(seq, "$(CM,recursive)80:DF:AHOPRSEQ") { field(DESC, "") field(SELM, "All") field(DOL1, "$(CM,recursive)80:DF:AHOPR") field(LNK1, "$(CM,recursive)80:DF:AWF.HOPR PP") field(DOL2, "$(CM,recursive)80:DF:AHOPR") field(LNK2, "$(CM,recursive)80:DF:IWFDISP.HOPR PP") field(DOL3, "$(CM,recursive)80:DF:AHOPR") field(LNK3, "$(CM,recursive)80:DF:QWFDISP.HOPR PP") field(DOL4, "$(CM,recursive)80:DF:IQLOPRCALC") field(LNK4, "$(CM,recursive)80:DF:IWFDISP.LOPR PP") field(DOL5, "$(CM,recursive)80:DF:IQLOPRCALC") field(LNK5, "$(CM,recursive)80:DF:QWFDISP.LOPR PP") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:SCALE_RESET_GO.PROC") } #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:CAV:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for CAV") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(FLNK, "$(CM,recursive)00:CAV:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:CAV:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for CAV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:CAV:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:CAV:ENABLE PP") field(OUTB, "$(CM,recursive)20:CAV:ENABLE PP") field(OUTC, "$(CM,recursive)30:CAV:ENABLE PP") field(OUTD, "$(CM,recursive)40:CAV:ENABLE PP") field(OUTE, "$(CM,recursive)50:CAV:ENABLE PP") field(OUTF, "$(CM,recursive)60:CAV:ENABLE PP") field(OUTG, "$(CM,recursive)70:CAV:ENABLE PP") field(OUTH, "$(CM,recursive)80:CAV:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:CAV:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:CAV:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:CAV:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:CAV:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:CAV:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:CAV:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:CAV:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:CAV:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:CAV:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:CAV:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:CAV:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:CAV:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:CAV:DISPMASK") } record(longin, "$(CM,recursive)00:CAV:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:CAV:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:CAV:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:CAV:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:CAV:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:CAV:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:CAV:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:CAV:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:CAV:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:CAV:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:CAV:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:CAV:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:CAV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:DRV:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for DRV") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(FLNK, "$(CM,recursive)00:DRV:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:DRV:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for DRV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:DRV:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:DRV:ENABLE PP") field(OUTB, "$(CM,recursive)20:DRV:ENABLE PP") field(OUTC, "$(CM,recursive)30:DRV:ENABLE PP") field(OUTD, "$(CM,recursive)40:DRV:ENABLE PP") field(OUTE, "$(CM,recursive)50:DRV:ENABLE PP") field(OUTF, "$(CM,recursive)60:DRV:ENABLE PP") field(OUTG, "$(CM,recursive)70:DRV:ENABLE PP") field(OUTH, "$(CM,recursive)80:DRV:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:DRV:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:DRV:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:DRV:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:DRV:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:DRV:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:DRV:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:DRV:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:DRV:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:DRV:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:DRV:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:DRV:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:DRV:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:DRV:DISPMASK") } record(longin, "$(CM,recursive)00:DRV:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:DRV:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:DRV:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:DRV:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:DRV:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:DRV:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:DRV:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:DRV:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:DRV:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:DRV:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:DRV:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:DRV:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:DRV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:FWD:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for FWD") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(FLNK, "$(CM,recursive)00:FWD:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:FWD:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for FWD") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:FWD:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:FWD:ENABLE PP") field(OUTB, "$(CM,recursive)20:FWD:ENABLE PP") field(OUTC, "$(CM,recursive)30:FWD:ENABLE PP") field(OUTD, "$(CM,recursive)40:FWD:ENABLE PP") field(OUTE, "$(CM,recursive)50:FWD:ENABLE PP") field(OUTF, "$(CM,recursive)60:FWD:ENABLE PP") field(OUTG, "$(CM,recursive)70:FWD:ENABLE PP") field(OUTH, "$(CM,recursive)80:FWD:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:FWD:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:FWD:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:FWD:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:FWD:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:FWD:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:FWD:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:FWD:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:FWD:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:FWD:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:FWD:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:FWD:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:FWD:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:FWD:DISPMASK") } record(longin, "$(CM,recursive)00:FWD:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:FWD:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:FWD:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:FWD:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:FWD:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:FWD:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:FWD:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:FWD:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:FWD:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:FWD:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:FWD:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:FWD:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:FWD:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:REV:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for REV") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(FLNK, "$(CM,recursive)00:REV:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:REV:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for REV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:REV:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:REV:ENABLE PP") field(OUTB, "$(CM,recursive)20:REV:ENABLE PP") field(OUTC, "$(CM,recursive)30:REV:ENABLE PP") field(OUTD, "$(CM,recursive)40:REV:ENABLE PP") field(OUTE, "$(CM,recursive)50:REV:ENABLE PP") field(OUTF, "$(CM,recursive)60:REV:ENABLE PP") field(OUTG, "$(CM,recursive)70:REV:ENABLE PP") field(OUTH, "$(CM,recursive)80:REV:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:REV:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:REV:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:REV:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:REV:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:REV:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:REV:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:REV:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:REV:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:REV:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:REV:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:REV:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:REV:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:REV:DISPMASK") } record(longin, "$(CM,recursive)00:REV:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:REV:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:REV:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:REV:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:REV:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:REV:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:REV:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:REV:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:REV:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:REV:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:REV:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:REV:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:REV:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:DAC:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for DAC") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "1") field(FLNK, "$(CM,recursive)00:DAC:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:DAC:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for DAC") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:DAC:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:DAC:ENABLE PP") field(OUTB, "$(CM,recursive)20:DAC:ENABLE PP") field(OUTC, "$(CM,recursive)30:DAC:ENABLE PP") field(OUTD, "$(CM,recursive)40:DAC:ENABLE PP") field(OUTE, "$(CM,recursive)50:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)60:DAC:ENABLE PP") field(OUTG, "$(CM,recursive)70:DAC:ENABLE PP") field(OUTH, "$(CM,recursive)80:DAC:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:DAC:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:DAC:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:DAC:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:DAC:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:DAC:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:DAC:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:DAC:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:DAC:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:DAC:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:DAC:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:DAC:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:DAC:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:DAC:DISPMASK") } record(longin, "$(CM,recursive)00:DAC:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:DAC:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:DAC:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:DAC:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:DAC:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:DAC:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:DAC:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:DAC:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:DAC:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:DAC:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:DAC:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:DAC:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:DAC:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== #---------------------------------- # wfCmSig.db: # # Additional waveform acquisition # support for a single signal # (e.g. CAV, FWD) across one # cryomodule #---------------------------------- #================================== #================================== # Enable acquisition for all signals #================================== record(bo, "$(CM,recursive)00:DF:ENABLE_ALL_CAV") { field(DESC, "Enable/disable acq for DF") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Enable") field(VAL, "0") field(FLNK, "$(CM,recursive)00:DF:ENABLE_ALL_CAV_FO") } record(dfanout, "$(CM,recursive)00:DF:ENABLE_ALL_CAV_FO") { field(DESC, "Enable/disable acq for DF") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:DF:ENABLE_ALL_CAV") field(OUTA, "$(CM,recursive)10:DF:ENABLE PP") field(OUTB, "$(CM,recursive)20:DF:ENABLE PP") field(OUTC, "$(CM,recursive)30:DF:ENABLE PP") field(OUTD, "$(CM,recursive)40:DF:ENABLE PP") field(OUTE, "$(CM,recursive)50:DF:ENABLE PP") field(OUTF, "$(CM,recursive)60:DF:ENABLE PP") field(OUTG, "$(CM,recursive)70:DF:ENABLE PP") field(OUTH, "$(CM,recursive)80:DF:ENABLE PP") } #================================== # Create a bit mask indicating which # waveform signals are active and thus # should be displayed. # EDM xy-graph logic: 1 = disabled # 0 = enabled # so use calc record to perform NOT # (Not currently used) #================================== record(aSub, "$(CM,recursive)00:DF:DISPMASK_SUB") { field(DESC, "Select waveforms to display") field(INAM, "") field(SNAM, "buildMask") field(SCAN, "Passive") # Inputs field(FTA, "USHORT") field(INPA, "$(CM,recursive)10:DF:ENABLE CPP") field(FTB, "USHORT") field(INPB, "$(CM,recursive)20:DF:ENABLE CPP") field(FTC, "USHORT") field(INPC, "$(CM,recursive)30:DF:ENABLE CPP") field(FTD, "USHORT") field(INPD, "$(CM,recursive)40:DF:ENABLE CPP") field(FTE, "USHORT") field(INPE, "$(CM,recursive)50:DF:ENABLE CPP") field(FTF, "USHORT") field(INPF, "$(CM,recursive)60:DF:ENABLE CPP") field(FTG, "USHORT") field(INPG, "$(CM,recursive)70:DF:ENABLE CPP") field(FTH, "USHORT") field(INPH, "$(CM,recursive)80:DF:ENABLE CPP") field(FTI, "USHORT") # Output # VALA is selection bit-mask (enabled = 1) field(FTVA, "LONG") field(FLNK, "$(CM,recursive)00:DF:DISPMASK_CALC PP") } record(calc, "$(CM,recursive)00:DF:DISPMASK_CALC") { field(DESC, "Select waveforms to display") field(CALC, "~A") field(INPA, "$(CM,recursive)00:DF:DISPMASK_SUB.VALA") field(FLNK, "$(CM,recursive)00:DF:DISPMASK") } record(longin, "$(CM,recursive)00:DF:DISPMASK") { field(DESC, "Inverted waveform selection mask") field(INP, "$(CM,recursive)00:DF:DISPMASK_CALC") } #================================== # Reset waveform display plots # when time-base changes #================================== #record(calcout, "$(CM,recursive)00:DF:TIME_RESET") { # field(DESC, "Reset waveform displays") # field(CALC, "1") # field(INPA, "$(CM,recursive)10:DF:DISP_RESET CPP") # field(INPB, "$(CM,recursive)20:DF:DISP_RESET CPP") # field(INPC, "$(CM,recursive)30:DF:DISP_RESET CPP") # field(INPD, "$(CM,recursive)40:DF:DISP_RESET CPP") # field(INPE, "$(CM,recursive)50:DF:DISP_RESET CPP") # field(INPF, "$(CM,recursive)60:DF:DISP_RESET CPP") # field(INPG, "$(CM,recursive)70:DF:DISP_RESET CPP") # field(INPH, "$(CM,recursive)80:DF:DISP_RESET CPP") # field(OOPT, "Every Time") # field(OUT, "$(CM,recursive)00:DF:DISP_RESET PP") #} #record(bo, "$(CM,recursive)00:DF:DISP_RESET") { # field(DESC, "Reset timebase for waveform displays") # field(OMSL, "supervisory") # field(HIGH, "0.2") # field(VAL, "0") # field(PINI, "YES") #} #================================== # Reset waveform display plots # when time-base changes #================================== record(calcout, "$(CM,recursive)00:TIME_RESET") { field(DESC, "Reset waveform displays") field(CALC, "1") field(INPA, "$(CM,recursive)10:DISP_RESET CPP") field(INPB, "$(CM,recursive)20:DISP_RESET CPP") field(INPC, "$(CM,recursive)30:DISP_RESET CPP") field(INPD, "$(CM,recursive)40:DISP_RESET CPP") field(INPE, "$(CM,recursive)50:DISP_RESET CPP") field(INPF, "$(CM,recursive)60:DISP_RESET CPP") field(INPG, "$(CM,recursive)70:DISP_RESET CPP") field(INPH, "$(CM,recursive)80:DISP_RESET CPP") field(OOPT, "Every Time") field(OUT, "$(CM,recursive)00:DISP_RESET PP") } record(bo, "$(CM,recursive)00:DISP_RESET") { field(DESC, "Reset timebase for waveform displays") field(OMSL, "supervisory") field(HIGH, "0.2") field(VAL, "0") field(PINI, "YES") } # Temporary records until # TOD/MODE PVs in place record(stringin, "SIOC:$(CM,recursive):TOD") { field(VAL, "") field(PINI, "YES") } record(stringin, "SIOC:$(CM,recursive):MODE") { field(VAL, "") field(PINI, "YES") } #================================== # Set waveform display acquisition # defaults. Currently this means # enable all but DAC and Detune. # Set at iocInit #================================== record(seq, "$(CM,recursive)00:SET_MASK_DEFAULT") { field(DESC, "Set wf acq mask defaults") field(PINI, "YES") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:ENABLE_DEFAULT_FO.PROC 1") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:DISABLE_DAC_FO.PROC 1") field(DOL3, "1") field(LNK3, "$(CM,recursive)00:DISABLE_DF_FO.PROC 1") } record(dfanout, "$(CM,recursive)00:ENABLE_DEFAULT_FO") { field(DESC, "Enable default acq mask") field(OMSL, "closed_loop") field(DOL, "1") field(OUTA, "$(CM,recursive)10:ENABLE_ALL_SIG PP") field(OUTB, "$(CM,recursive)20:ENABLE_ALL_SIG PP") field(OUTC, "$(CM,recursive)30:ENABLE_ALL_SIG PP") field(OUTD, "$(CM,recursive)40:ENABLE_ALL_SIG PP") field(OUTE, "$(CM,recursive)50:ENABLE_ALL_SIG PP") field(OUTF, "$(CM,recursive)60:ENABLE_ALL_SIG PP") field(OUTG, "$(CM,recursive)70:ENABLE_ALL_SIG PP") field(OUTH, "$(CM,recursive)80:ENABLE_ALL_SIG PP") } record(dfanout, "$(CM,recursive)00:DISABLE_DAC_FO") { field(DESC, "Disable DAC acq") field(OMSL, "closed_loop") field(DOL, "0") field(OUTA, "$(CM,recursive)10:DAC:ENABLE PP") field(OUTB, "$(CM,recursive)20:DAC:ENABLE PP") field(OUTC, "$(CM,recursive)30:DAC:ENABLE PP") field(OUTD, "$(CM,recursive)40:DAC:ENABLE PP") field(OUTE, "$(CM,recursive)50:DAC:ENABLE PP") field(OUTF, "$(CM,recursive)60:DAC:ENABLE PP") field(OUTG, "$(CM,recursive)70:DAC:ENABLE PP") field(OUTH, "$(CM,recursive)80:DAC:ENABLE PP") } record(dfanout, "$(CM,recursive)00:DISABLE_DF_FO") { field(DESC, "Disable detune acq") field(OMSL, "closed_loop") field(DOL, "0") field(OUTA, "$(CM,recursive)10:DF:ENABLE PP") field(OUTB, "$(CM,recursive)20:DF:ENABLE PP") field(OUTC, "$(CM,recursive)30:DF:ENABLE PP") field(OUTD, "$(CM,recursive)40:DF:ENABLE PP") field(OUTE, "$(CM,recursive)50:DF:ENABLE PP") field(OUTF, "$(CM,recursive)60:DF:ENABLE PP") field(OUTG, "$(CM,recursive)70:DF:ENABLE PP") field(OUTH, "$(CM,recursive)80:DF:ENABLE PP") } #================================== # Set waveform acquisition settings # for all cavities to single value. # Do not process on init; start # ioc with default values #================================== record(ao, "$(CM,recursive)00:ACQ_HLDOFF_ALL") { field(DESC, "Set acq period for all cavities") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") field(PINI, "NO") field(FLNK, "$(CM,recursive)00:ACQ_HLDOFF_ALL_FO") } record(dfanout, "$(CM,recursive)00:ACQ_HLDOFF_ALL_FO") { field(DESC, "Set acq period for all cavities") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:ACQ_HLDOFF_ALL") field(OUTA, "$(CM,recursive)10:ACQ_HLDOFF PP") field(OUTB, "$(CM,recursive)20:ACQ_HLDOFF PP") field(OUTC, "$(CM,recursive)30:ACQ_HLDOFF PP") field(OUTD, "$(CM,recursive)40:ACQ_HLDOFF PP") field(OUTE, "$(CM,recursive)50:ACQ_HLDOFF PP") field(OUTF, "$(CM,recursive)60:ACQ_HLDOFF PP") field(OUTG, "$(CM,recursive)70:ACQ_HLDOFF PP") field(OUTH, "$(CM,recursive)80:ACQ_HLDOFF PP") } record(bo, "$(CM,recursive)00:ACQ_MODE_ALL") { field(DESC, "Set acq mode for all cavities") field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)00:ACQ_MODE_ALL_FO") } record(dfanout, "$(CM,recursive)00:ACQ_MODE_ALL_FO") { field(DESC, "Set acq mode for all cavities") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:ACQ_MODE_ALL") field(OUTA, "$(CM,recursive)10:ACQ_MODE PP") field(OUTB, "$(CM,recursive)20:ACQ_MODE PP") field(OUTC, "$(CM,recursive)30:ACQ_MODE PP") field(OUTD, "$(CM,recursive)40:ACQ_MODE PP") field(OUTE, "$(CM,recursive)50:ACQ_MODE PP") field(OUTF, "$(CM,recursive)60:ACQ_MODE PP") field(OUTG, "$(CM,recursive)70:ACQ_MODE PP") field(OUTH, "$(CM,recursive)80:ACQ_MODE PP") } record(longout, "$(CM,recursive)00:ACQ_DECIM_ALL") { field(DESC, "Set decim for all cavities") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)00:ACQ_DECIM_ALL_FO") } record(dfanout, "$(CM,recursive)00:ACQ_DECIM_ALL_FO") { field(DESC, "Set decim for all cavities") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:ACQ_DECIM_ALL") field(OUTA, "$(CM,recursive)10:ACQ_DECIM PP") field(OUTB, "$(CM,recursive)20:ACQ_DECIM PP") field(OUTC, "$(CM,recursive)30:ACQ_DECIM PP") field(OUTD, "$(CM,recursive)40:ACQ_DECIM PP") field(OUTE, "$(CM,recursive)50:ACQ_DECIM PP") field(OUTF, "$(CM,recursive)60:ACQ_DECIM PP") field(OUTG, "$(CM,recursive)70:ACQ_DECIM PP") field(OUTH, "$(CM,recursive)80:ACQ_DECIM PP") } record(ao, "$(CM,recursive)00:ACQ_STAT_START_ALL") { field(PREC, "6") field(VAL, "0") field(PINI, "NO") field(FLNK, "$(CM,recursive)00:ACQ_STAT_START_ALL_FO") } record(dfanout, "$(CM,recursive)00:ACQ_STAT_START_ALL_FO") { field(DESC, "Set decim for all cavities") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:ACQ_STAT_START_ALL") field(OUTA, "$(CM,recursive)10:ACQ_STAT_START PP") field(OUTB, "$(CM,recursive)20:ACQ_STAT_START PP") field(OUTC, "$(CM,recursive)30:ACQ_STAT_START PP") field(OUTD, "$(CM,recursive)40:ACQ_STAT_START PP") field(OUTE, "$(CM,recursive)50:ACQ_STAT_START PP") field(OUTF, "$(CM,recursive)60:ACQ_STAT_START PP") field(OUTG, "$(CM,recursive)70:ACQ_STAT_START PP") field(OUTH, "$(CM,recursive)80:ACQ_STAT_START PP") } record(ao, "$(CM,recursive)00:ACQ_STAT_WIDTH_ALL") { field(PREC, "6") field(VAL , "1") field(PINI, "NO") field(FLNK, "$(CM,recursive)00:ACQ_STAT_WIDTH_ALL_FO") } record(dfanout, "$(CM,recursive)00:ACQ_STAT_WIDTH_ALL_FO") { field(DESC, "Set decim for all cavities") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)00:ACQ_STAT_WIDTH_ALL") field(OUTA, "$(CM,recursive)10:ACQ_STAT_WIDTH PP") field(OUTB, "$(CM,recursive)20:ACQ_STAT_WIDTH PP") field(OUTC, "$(CM,recursive)30:ACQ_STAT_WIDTH PP") field(OUTD, "$(CM,recursive)40:ACQ_STAT_WIDTH PP") field(OUTE, "$(CM,recursive)50:ACQ_STAT_WIDTH PP") field(OUTF, "$(CM,recursive)60:ACQ_STAT_WIDTH PP") field(OUTG, "$(CM,recursive)70:ACQ_STAT_WIDTH PP") field(OUTH, "$(CM,recursive)80:ACQ_STAT_WIDTH PP") } #================================== # Summaries of CM LLRF hardware status # for displays #================================== record(calc, "$(CM,recursive)00:HWSTATSUM") { field(DESC, "CM hardware status sum") field(SCAN, "1 second") field(INPA, "$(CM,recursive)00:RFS1A:STATUS.SEVR MS") field(INPB, "$(CM,recursive)00:RFS2A:STATUS.SEVR MS") field(INPC, "$(CM,recursive)00:RFS1B:STATUS.SEVR MS") field(INPD, "$(CM,recursive)00:RFS2B:STATUS.SEVR MS") # Future # field(INPE, "$(CM,recursive)00:PRCA:STATUS.SEVR MS") # field(INPF, "$(CM,recursive)00:PRCB:STATUS.SEVR MS") # field(INPG, "$(CM,recursive)00:RESA:STATUS.SEVR MS") # field(INPH, "$(CM,recursive)00:RESB:STATUS.SEVR MS") field(INPI, "$(CM,recursive)00:RACKA:HWSTATSUM.SEVR MS") field(INPJ, "$(CM,recursive)00:RACKB:HWSTATSUM.SEVR MS") } record(calc, "$(CM,recursive)00:RACKA:HWSTATSUM") { field(DESC, "CM hardware status sum") field(SCAN, "1 second") field(INPA, "$(CM,recursive)00:RACKA:TESTSTAT.SEVR MS") field(INPB, "$(CM,recursive)00:RFS1A:TESTSTAT.SEVR MS") field(INPC, "$(CM,recursive)00:RFS2A:TESTSTAT.SEVR MS") field(INPD, "$(CM,recursive)00:PRCA:TESTSTAT.SEVR MS") field(INPE, "$(CM,recursive)00:RESA:TESTSTAT.SEVR MS") } record(calc, "$(CM,recursive)00:RACKB:HWSTATSUM") { field(DESC, "CM hardware status sum") field(SCAN, "1 second") field(INPA, "$(CM,recursive)00:RACKB:TESTSTAT.SEVR MS") field(INPB, "$(CM,recursive)00:RFS1B:TESTSTAT.SEVR MS") field(INPC, "$(CM,recursive)00:RFS2B:TESTSTAT.SEVR MS") field(INPD, "$(CM,recursive)00:PRCB:TESTSTAT.SEVR MS") field(INPE, "$(CM,recursive)00:RESB:TESTSTAT.SEVR MS") } record(bo, "$(CM,recursive)00:RFCTRL_ALLOFF") { field(DESC, "Turn off RF drive for 8 cav") field(ZNAM, "Off") field(ONAM, "Off") field(FLNK, "$(CM,recursive)00:RFCTRL_ALLOFFGO") } record(seq, "$(CM,recursive)00:RFCTRL_ALLOFFGO") { field(DESC, "Turn off RF drive for 8 cav") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)10:RFCTRL PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)20:RFCTRL PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)30:RFCTRL PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)40:RFCTRL PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)50:RFCTRL PP") field(DOL6, "0") field(LNK6, "$(CM,recursive)60:RFCTRL PP") field(DOL7, "0") field(LNK7, "$(CM,recursive)70:RFCTRL PP") field(DOL8, "0") field(LNK8, "$(CM,recursive)80:RFCTRL PP") } # Temporary location of rack checkout status # 'mailbox PVs'. Eventually will be # implemented in FEED/src/Db/chas.template record(mbbi, "$(CM,recursive)00:RACKA:TESTSTAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") } record(mbbi, "$(CM,recursive)00:RACKB:TESTSTAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") } # Halt/reset software communication with # all 8 chassis record(bo, "$(CM,recursive)00:CTRL_RECOVER") { field(DESC, "Reset sw-fw comm for CM") field(ZNAM, "Reset") field(ONAM, "Reset") field(FLNK, "$(CM,recursive)00:CTRL_RECOVER_") } record(seq, "$(CM,recursive)00:CTRL_RECOVER_") { field(DESC, "Reset sw-fw comm for CM") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:CTRL_HALT PP") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:CTRL_RESET PP") } record(bo, "$(CM,recursive)00:CTRL_RESET") { field(DESC, "Reset sw-fw comm for CM") field(ZNAM, "Reset") field(ONAM, "Reset") field(FLNK, "$(CM,recursive)00:CTRL_RESET_") } record(seq, "$(CM,recursive)00:CTRL_RESET_") { field(DESC, "Reset sw-fw comm for CM") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:RACKA:CTRL_RESET PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RACKB:CTRL_RESET PP") } record(bo, "$(CM,recursive)00:CTRL_HALT") { field(DESC, "Halt sw-fw comm for CM") field(ZNAM, "Halt") field(ONAM, "Halt") field(FLNK, "$(CM,recursive)00:CTRL_HALT_") } record(seq, "$(CM,recursive)00:CTRL_HALT_") { field(DESC, "Halt sw-fw comm for CM") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:RACKA:CTRL_HALT PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RACKB:CTRL_HALT PP") } record(bo, "$(CM,recursive)00:RACKA:CTRL_HALT") { field(DESC, "Halt sw-fw comm for all rack A") field(ZNAM, "Halt") field(ONAM, "Halt") field(FLNK, "$(CM,recursive)00:RACKA:CTRL_HALT_") } record(seq, "$(CM,recursive)00:RACKA:CTRL_HALT_") { field(DESC, "Halt sw-fw comm for all rack A") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:PRCA:CTRL_HALT PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RFS1A:CTRL_HALT PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)00:RFS2A:CTRL_HALT PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)00:RESA:CTRL_HALT PP") } record(bo, "$(CM,recursive)00:RACKA:CTRL_RESET") { field(DESC, "Halt sw-fw comm for all rack A") field(ZNAM, "Halt") field(ONAM, "Halt") field(FLNK, "$(CM,recursive)00:RACKA:CTRL_RESET_") } record(seq, "$(CM,recursive)00:RACKA:CTRL_RESET_") { field(DESC, "Reset sw-fw comm for all rack A") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:PRCA:CTRL_RESET PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RFS1A:CTRL_RESET PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)00:RFS2A:CTRL_RESET PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)00:RESA:CTRL_RESET PP") } record(bo, "$(CM,recursive)00:RACKB:CTRL_HALT") { field(DESC, "Halt sw-fw comm for all rack B") field(ZNAM, "Halt") field(ONAM, "Halt") field(FLNK, "$(CM,recursive)00:RACKB:CTRL_HALT_") } record(seq, "$(CM,recursive)00:RACKB:CTRL_HALT_") { field(DESC, "Halt sw-fw comm for all rack B") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:PRCB:CTRL_HALT PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RFS1B:CTRL_HALT PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)00:RFS2B:CTRL_HALT PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)00:RESB:CTRL_HALT PP") } record(bo, "$(CM,recursive)00:RACKB:CTRL_RESET") { field(DESC, "Halt sw-fw comm for all rack B") field(ZNAM, "Halt") field(ONAM, "Halt") field(FLNK, "$(CM,recursive)00:RACKB:CTRL_RESET_") } record(seq, "$(CM,recursive)00:RACKB:CTRL_RESET_") { field(DESC, "Reset sw-fw comm for all rack B") field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)00:PRCB:CTRL_RESET PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)00:RFS1B:CTRL_RESET PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)00:RFS2B:CTRL_RESET PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)00:RESB:CTRL_RESET PP") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)10:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QPROBE_NEW") field(OUT, "$(CM,recursive)10:QPROBE PP") } record(ao, "$(CM,recursive)10:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QLOADED_NEW") field(OUT, "$(CM,recursive)10:QLOADED PP") } record(ao, "$(CM,recursive)10:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)10:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)10:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:LFDCOEF_NEW") field(OUT, "$(CM,recursive)10:LFDCOEF PP") } record(seq, "$(CM,recursive)10:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)10:BCOEFM_NEW") field(LNK1, "$(CM,recursive)10:BCOEFM PP") field(DOL2, "$(CM,recursive)10:BCOEFP_NEW") field(LNK2, "$(CM,recursive)10:BCOEFP PP") } record(ao, "$(CM,recursive)10:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)10:SSA:SLOPE PP") } record(ao, "$(CM,recursive)10:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QPROBE_SAVE") field(OUT, "$(CM,recursive)10:QPROBE PP") } record(ao, "$(CM,recursive)10:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QLOADED_SAVE") field(OUT, "$(CM,recursive)10:QLOADED PP") } record(ao, "$(CM,recursive)10:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)10:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)10:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)10:LFDCOEF PP") } record(seq, "$(CM,recursive)10:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)10:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)10:BCOEFM PP") field(DOL2, "$(CM,recursive)10:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)10:BCOEFP PP") } record(ao, "$(CM,recursive)10:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)10:SSA:SLOPE PP") } record(ao, "$(CM,recursive)10:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QPROBE") field(OUT, "$(CM,recursive)10:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)10:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QLOADED") field(OUT, "$(CM,recursive)10:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)10:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)10:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)10:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:LFDCOEF") field(OUT, "$(CM,recursive)10:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)10:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)10:BCOEFM") field(LNK1, "$(CM,recursive)10:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)10:BCOEFP") field(LNK2, "$(CM,recursive)10:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)10:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:SSA:SLOPE") field(OUT, "$(CM,recursive)10:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)10:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_QPROBE") info(feed:info:input, "$(CM,recursive)10:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)10:QPROBE_NEW") } record(ai, "$(CM,recursive)10:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_QLOADED") info(feed:info:input, "$(CM,recursive)10:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)10:QLOADED_NEW") } record(ai, "$(CM,recursive)10:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_LFDCOEF") info(feed:info:input, "$(CM,recursive)10:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)10:LFDCOEF_NEW") } record(ai, "$(CM,recursive)10:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_BCOEFM") info(feed:info:input, "$(CM,recursive)10:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)10:BCOEFM_NEW") } record(ai, "$(CM,recursive)10:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_BCOEFP") info(feed:info:input, "$(CM,recursive)10:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)10:BCOEFP_NEW") } record(ai, "$(CM,recursive)10:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)10:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)10:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)10:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)10:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)10:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)10:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)10:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)10:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)10:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:PED") info(feed:info:input, "$(CM,recursive)10:SSA:PED") info(feed:info:output, "$(CM,recursive)10:SSA:PED") } record(ao, "$(CM,recursive)10:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:MINX") info(feed:info:input, "$(CM,recursive)10:SSA:MINX") info(feed:info:output, "$(CM,recursive)10:SSA:MINX") } record(ao, "$(CM,recursive)10:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)10:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)10:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)10:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)10:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)10:SSA:CALMSG1") } record(stringin, "$(CM,recursive)10:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)10:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)10:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)10:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)10:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)10:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DFDELTA") info(feed:info:input, "$(CM,recursive)10:DFDELTA") info(feed:info:output, "$(CM,recursive)10:DFDELTA") } record(ai, "$(CM,recursive)10:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DFSCANAMP") info(feed:info:input, "$(CM,recursive)10:DFSCANAMP") info(feed:info:output, "$(CM,recursive)10:DFSCANAMP") } record(ai, "$(CM,recursive)10:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)10:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)10:DFSCANAMP") field(INPB, "$(CM,recursive)10:CAV:SCALE") field(FLNK, "$(CM,recursive)10:DFAMP") } record(ai, "$(CM,recursive)10:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)10:DFAMPCALC") } record(ai, "$(CM,recursive)10:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)10:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)10:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)10:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)10:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)10:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)10:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS1A:") field(PINI, "YES") } record(longin, "$(CM,recursive)10:RFS_ZONE") { field(VAL, "0") field(PINI, "YES") } record(ai, "$(CM,recursive)10:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)10:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_CAV_GOAL") info(feed:info:input, "$(CM,recursive)10:CAV_GOAL") info(feed:info:output, "$(CM,recursive)10:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)10:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)10:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)10:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:ANGFREQCALC") } record(calc, "$(CM,recursive)10:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)10:FREQ") field(FLNK, "$(CM,recursive)10:ANGFREQ") } record(ao, "$(CM,recursive)10:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)10:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cct1_cavity0_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)10:DFVALID_") info(feed:info:setting, "$(CM,recursive)10:DFVALID") } record(bi, "$(CM,recursive)10:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)10:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)10:DF") } record(ai, "$(CM,recursive)10:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cavity0_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)10:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)10:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_DFSCALE") info(feed:info:input, "$(CM,recursive)10:DF.ASLO") info(feed:info:output, "$(CM,recursive)10:DF.ASLO") } record(mbbi, "$(CM,recursive)10:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cct1_cavity0_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)10:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cfreq_0_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)10:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)10:DF_FCVALID") } record(bi, "$(CM,recursive)10:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)10:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)10:DF_FC") } record(ai, "$(CM,recursive)10:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_0_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)10:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)10:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)10:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)10:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)10:DF_FC.ASLO") } record(ai, "$(CM,recursive)10:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_0_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)10:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)10:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)10:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)10:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_0_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)10:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)10:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)10:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:GTOACALC") } record(calc, "$(CM,recursive)10:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)10:GTOA") field(INPB, "$(CM,recursive)10:L") field(EGU, "MV") } record(ao, "$(CM,recursive)10:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:ATOGCALC") } record(calc, "$(CM,recursive)10:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)10:ATOG") field(INPB, "$(CM,recursive)10:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_ADES") info(feed:info:input, "$(CM,recursive)10:ADES") info(feed:info:output, "$(CM,recursive)10:ADES") } record(ao, "$(CM,recursive)10:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)10:AACTACALC PP") field(FLNK, "$(CM,recursive)10:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)10:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)10:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)10:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)10:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)10:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)10:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)10:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)10:AACTACALC") field(LNK1, "$(CM,recursive)10:AACT.HIHI") field(DOL2, "$(CM,recursive)10:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)10:AACT.LOLO") field(DOL3, "$(CM,recursive)10:AACTWCALC") field(LNK3, "$(CM,recursive)10:AACT.HIGH") field(DOL4, "$(CM,recursive)10:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)10:AACT.LOW PP") field(FLNK, "$(CM,recursive)10:ATOGDESCALC") } record(calc, "$(CM,recursive)10:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)10:ADES MS") field(INPB, "$(CM,recursive)10:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)10:GDES") } record(ai, "$(CM,recursive)10:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)10:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)10:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)10:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)10:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)10:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)10:ATOGACTCALC") } record(calc, "$(CM,recursive)10:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)10:AACT MS") field(INPB, "$(CM,recursive)10:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)10:GACT") } record(ai, "$(CM,recursive)10:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)10:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)10:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)10:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)10:INIT2_") } record(seq, "$(CM,recursive)10:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)10:RFSTATE MS") field(LNK1, "$(CM,recursive)10:RFCTRL PP") field(DOL2, "$(CM,recursive)10:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)10:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)10:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_RFMODECTRL") info(feed:info:input, "$(CM,recursive)10:RFMODECTRL") info(feed:info:output, "$(CM,recursive)10:RFMODECTRL") } record(mbbo, "$(CM,recursive)10:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)10:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)10:RFMODECTRL") field(FLNK, "$(CM,recursive)10:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)10:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)10:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)10:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)10:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)10:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)10:PHAFB PP") field(FLNK, "$(CM,recursive)10:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)10:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)10:RFMODECTRL") field(INPB, "$(CM,recursive)10:PULSE_STATUS") field(FLNK, "$(CM,recursive)10:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)10:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)10:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)10:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)10:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)10:ASETSUB.PROC") } record(bi, "$(CM,recursive)10:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)10:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)10:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)10:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)10:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)10:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)10:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)10:RFMODECTRL") } record(calc, "$(CM,recursive)10:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)10:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)10:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)10:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)10:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)10:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)10:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)10:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)10:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)10:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)10:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)10:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)10:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)10:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)10:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)10:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)10:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)10:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)10:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)10:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)10:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)10:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)10:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SSA:MAXR") info(feed:info:input, "$(CM,recursive)10:SSA:MAXR") info(feed:info:output, "$(CM,recursive)10:SSA:MAXR") } record(ao, "$(CM,recursive)10:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)10:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SINTHETA") info(feed:info:input, "$(CM,recursive)10:SINTHETA") info(feed:info:output, "$(CM,recursive)10:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)10:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)10:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)10:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)10:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)10:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)10:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)10:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)10:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)10:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)10:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)10:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)10:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)10:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)10:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)10:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)10:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)10:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)10:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)10:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)10:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)10:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)10:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)10:ASETSUB.VALR") field(DOL1, "$(CM,recursive)10:ASETSUB.VALE") field(LNK1, "$(CM,recursive)10:REGMAG PP") field(DOL2, "$(CM,recursive)10:ASETSUB.VALL") field(LNK2, "$(CM,recursive)10:REGLIM0 PP") field(DOL3, "$(CM,recursive)10:ASETSUB.VALP") field(LNK3, "$(CM,recursive)10:REGLIM1 PP") field(DOL4, "$(CM,recursive)10:ASETSUB.VALK") field(LNK4, "$(CM,recursive)10:REGLIM2 PP") field(DOL5, "$(CM,recursive)10:ASETSUB.VALO") field(LNK5, "$(CM,recursive)10:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_RFCTRL") info(feed:info:input, "$(CM,recursive)10:RFCTRL") info(feed:info:output, "$(CM,recursive)10:RFCTRL") } record(bo, "$(CM,recursive)10:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)10:RFCTRLCALC") } record(calc, "$(CM,recursive)10:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)10:RFCTRL") field(FLNK, "$(CM,recursive)10:RFCTRLSEQ") } record(seq, "$(CM,recursive)10:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)10:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)10:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)10:RFONSEQ PP") } record(seq, "$(CM,recursive)10:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)10:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)10:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)10:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)10:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)10:REGLIM3 PP") field(FLNK, "$(CM,recursive)10:RFOFFSEQ2") } record(calcout, "$(CM,recursive)10:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)10:RFCTRL") field(INPB, "$(CM,recursive)10:PULSE_STATUS") field(OUT, "$(CM,recursive)10:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)10:ASETSUB") } record(seq, "$(CM,recursive)10:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)10:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)10:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)10:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)10:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)10:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)10:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)10:TGEN_STAT PP") field(FLNK, "$(CM,recursive)10:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)10:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)10:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)10:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)10:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)10:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)10:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)10:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)10:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)10:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_0_PDES") info(feed:info:input, "$(CM,recursive)10:PDES") info(feed:info:output, "$(CM,recursive)10:PDES") } record(ao, "$(CM,recursive)10:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)10:PSETCALC PP") field(OUT, "$(CM,recursive)10:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)10:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)10:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)10:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)10:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)10:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)10:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)10:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)10:PACTACALC") field(LNK1, "$(CM,recursive)10:PACT.HIHI") field(DOL2, "$(CM,recursive)10:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)10:PACT.LOLO") field(DOL3, "$(CM,recursive)10:PACTWCALC") field(LNK3, "$(CM,recursive)10:PACT.HIGH") field(DOL4, "$(CM,recursive)10:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)10:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)10:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)10:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)10:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)10:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)10:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)10:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)10:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:PSETROUND.VALA") field(OUT, "$(CM,recursive)10:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)10:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)10:REGMAG") } record(longin, "$(CM,recursive)10:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGMAG_RBV") } record(longout, "$(CM,recursive)10:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)10:REGPHA") } record(longin, "$(CM,recursive)10:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGPHA_RBV") } record(longout, "$(CM,recursive)10:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)10:REGLIM0") } record(longin, "$(CM,recursive)10:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGLIM0_RBV") } record(longout, "$(CM,recursive)10:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)10:REGLIM1") } record(longin, "$(CM,recursive)10:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGLIM1_RBV") } record(longout, "$(CM,recursive)10:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)10:REGLIM2") } record(longin, "$(CM,recursive)10:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGLIM2_RBV") } record(longout, "$(CM,recursive)10:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)10:REGLIM3") } record(longin, "$(CM,recursive)10:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SEL_ASET") info(feed:info:input, "$(CM,recursive)10:SEL_ASET") info(feed:info:output, "$(CM,recursive)10:SEL_ASET") } record(ao, "$(CM,recursive)10:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)10:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)10:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)10:SEL_ALIMFO") { field(DOL, "$(CM,recursive)10:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)10:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)10:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)10:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)10:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_SEL_POFF") info(feed:info:input, "$(CM,recursive)10:SEL_POFF") info(feed:info:output, "$(CM,recursive)10:SEL_POFF") } record(ao, "$(CM,recursive)10:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)10:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)10:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)10:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)10:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)10:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)10:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)10:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)10:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)10:REGSEL_POFF PP") } record(longout, "$(CM,recursive)10:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)10:REGSEL_POFF") } record(longin, "$(CM,recursive)10:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)10:SEL_POFFCALC") } record(calc, "$(CM,recursive)10:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)10:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)10:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)10:SEL_POFF_RBV") } record(ai, "$(CM,recursive)10:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)10:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)10:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)10:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)10:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)10:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS1A:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)10:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)10:SEL_ENABLE") } record(mbbi, "$(CM,recursive)10:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)10:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)10:SEL_THRESH") } record(longin, "$(CM,recursive)10:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)10:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs1a reg=shell_0_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)10:FB_SOURCE") } record(mbbi, "$(CM,recursive)10:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)10:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs1a reg=tgen_0_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)10:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)10:REGTGEN_STAT") } record(calc, "$(CM,recursive)10:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)10:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)10:TGEN_STAT") } record(bi, "$(CM,recursive)10:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)10:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)10:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)10:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)10:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)10:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)10:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)10:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)10:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)10:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)10:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)10:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)10:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)10:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)10:PHAFB_KP") } record(longin, "$(CM,recursive)10:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)10:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)10:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)10:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)10:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)10:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=cav0_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)10:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)10:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cav0_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)10:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)10:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)10:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS1A:CCR1_STAT") field(FLNK, "$(CM,recursive)10:RESLINK") } record(bi, "$(CM,recursive)10:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)10:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)10:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)10:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS1A:CCR1_CAV0_STAT") field(FLNK, "$(CM,recursive)10:INTLKPERMIT") } record(bi, "$(CM,recursive)10:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)10:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)10:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)10:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)10:RESLINK") field(INPB, "$(CM,recursive)10:INTLKPERMIT") field(FLNK, "$(CM,recursive)10:RFPERMIT_CALC") } record(calc, "$(CM,recursive)10:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)10:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)10:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)10:RFPERMIT") } record(bi, "$(CM,recursive)10:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)10:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)10:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)10:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)10:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)10:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)10:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)10:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)10:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)10:AMPFB_HLIM") } record(bi, "$(CM,recursive)10:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)10:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)10:AMPFB_LLIM") } record(bi, "$(CM,recursive)10:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)10:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)10:AMPFB_SUM") } record(calc, "$(CM,recursive)10:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)10:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)10:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)10:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)10:PHAFB_HLIM") } record(bi, "$(CM,recursive)10:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)10:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)10:PHAFB_LLIM") } record(bi, "$(CM,recursive)10:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)10:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)10:PHAFB_SUM") } record(calc, "$(CM,recursive)10:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)10:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)10:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)10:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)10:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)10:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)10:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)10:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)10:L") field(INPC, "$(CM,recursive)10:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)10:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)10:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)10:GCALC2_ PP") field(FLNK, "$(CM,recursive)10:GCALC_") } record(calc, "$(CM,recursive)10:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)10:GCALC1") field(INPB, "$(CM,recursive)10:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)10:GCALC") } record(ai, "$(CM,recursive)10:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)10:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)10:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)10:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)10:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)10:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)10:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)10:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)10:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)10:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)10:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:QPROBE_CALC2") field(OUT, "$(CM,recursive)10:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)10:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)10:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)10:QUENCH_BYP") field(INPB, "$(CM,recursive)10:GCALC1") field(INPC, "$(CM,recursive)10:GACT") field(INPD, "$(CM,recursive)10:RFCTRL") field(INPE, "$(CM,recursive)10:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)10:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)10:QUENCH_FLT PP") } record(bi, "$(CM,recursive)10:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)10:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)10:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)10:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)10:RFCTRL PP") } record(bo, "$(CM,recursive)10:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)10:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)20:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QPROBE_NEW") field(OUT, "$(CM,recursive)20:QPROBE PP") } record(ao, "$(CM,recursive)20:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QLOADED_NEW") field(OUT, "$(CM,recursive)20:QLOADED PP") } record(ao, "$(CM,recursive)20:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)20:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)20:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:LFDCOEF_NEW") field(OUT, "$(CM,recursive)20:LFDCOEF PP") } record(seq, "$(CM,recursive)20:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)20:BCOEFM_NEW") field(LNK1, "$(CM,recursive)20:BCOEFM PP") field(DOL2, "$(CM,recursive)20:BCOEFP_NEW") field(LNK2, "$(CM,recursive)20:BCOEFP PP") } record(ao, "$(CM,recursive)20:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)20:SSA:SLOPE PP") } record(ao, "$(CM,recursive)20:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QPROBE_SAVE") field(OUT, "$(CM,recursive)20:QPROBE PP") } record(ao, "$(CM,recursive)20:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QLOADED_SAVE") field(OUT, "$(CM,recursive)20:QLOADED PP") } record(ao, "$(CM,recursive)20:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)20:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)20:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)20:LFDCOEF PP") } record(seq, "$(CM,recursive)20:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)20:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)20:BCOEFM PP") field(DOL2, "$(CM,recursive)20:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)20:BCOEFP PP") } record(ao, "$(CM,recursive)20:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)20:SSA:SLOPE PP") } record(ao, "$(CM,recursive)20:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QPROBE") field(OUT, "$(CM,recursive)20:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)20:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QLOADED") field(OUT, "$(CM,recursive)20:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)20:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)20:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)20:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:LFDCOEF") field(OUT, "$(CM,recursive)20:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)20:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)20:BCOEFM") field(LNK1, "$(CM,recursive)20:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)20:BCOEFP") field(LNK2, "$(CM,recursive)20:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)20:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:SSA:SLOPE") field(OUT, "$(CM,recursive)20:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)20:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_QPROBE") info(feed:info:input, "$(CM,recursive)20:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)20:QPROBE_NEW") } record(ai, "$(CM,recursive)20:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_QLOADED") info(feed:info:input, "$(CM,recursive)20:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)20:QLOADED_NEW") } record(ai, "$(CM,recursive)20:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_LFDCOEF") info(feed:info:input, "$(CM,recursive)20:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)20:LFDCOEF_NEW") } record(ai, "$(CM,recursive)20:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_BCOEFM") info(feed:info:input, "$(CM,recursive)20:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)20:BCOEFM_NEW") } record(ai, "$(CM,recursive)20:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_BCOEFP") info(feed:info:input, "$(CM,recursive)20:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)20:BCOEFP_NEW") } record(ai, "$(CM,recursive)20:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)20:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)20:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)20:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)20:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)20:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)20:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)20:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)20:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)20:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:PED") info(feed:info:input, "$(CM,recursive)20:SSA:PED") info(feed:info:output, "$(CM,recursive)20:SSA:PED") } record(ao, "$(CM,recursive)20:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:MINX") info(feed:info:input, "$(CM,recursive)20:SSA:MINX") info(feed:info:output, "$(CM,recursive)20:SSA:MINX") } record(ao, "$(CM,recursive)20:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)20:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)20:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)20:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)20:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)20:SSA:CALMSG1") } record(stringin, "$(CM,recursive)20:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)20:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)20:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)20:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)20:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)20:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DFDELTA") info(feed:info:input, "$(CM,recursive)20:DFDELTA") info(feed:info:output, "$(CM,recursive)20:DFDELTA") } record(ai, "$(CM,recursive)20:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DFSCANAMP") info(feed:info:input, "$(CM,recursive)20:DFSCANAMP") info(feed:info:output, "$(CM,recursive)20:DFSCANAMP") } record(ai, "$(CM,recursive)20:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)20:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)20:DFSCANAMP") field(INPB, "$(CM,recursive)20:CAV:SCALE") field(FLNK, "$(CM,recursive)20:DFAMP") } record(ai, "$(CM,recursive)20:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)20:DFAMPCALC") } record(ai, "$(CM,recursive)20:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)20:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)20:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)20:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)20:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)20:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)20:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS1A:") field(PINI, "YES") } record(longin, "$(CM,recursive)20:RFS_ZONE") { field(VAL, "1") field(PINI, "YES") } record(ai, "$(CM,recursive)20:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)20:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_CAV_GOAL") info(feed:info:input, "$(CM,recursive)20:CAV_GOAL") info(feed:info:output, "$(CM,recursive)20:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)20:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)20:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)20:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:ANGFREQCALC") } record(calc, "$(CM,recursive)20:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)20:FREQ") field(FLNK, "$(CM,recursive)20:ANGFREQ") } record(ao, "$(CM,recursive)20:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)20:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cct1_cavity1_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)20:DFVALID_") info(feed:info:setting, "$(CM,recursive)20:DFVALID") } record(bi, "$(CM,recursive)20:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)20:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)20:DF") } record(ai, "$(CM,recursive)20:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cavity1_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)20:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)20:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_DFSCALE") info(feed:info:input, "$(CM,recursive)20:DF.ASLO") info(feed:info:output, "$(CM,recursive)20:DF.ASLO") } record(mbbi, "$(CM,recursive)20:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cct1_cavity1_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)20:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cfreq_1_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)20:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)20:DF_FCVALID") } record(bi, "$(CM,recursive)20:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)20:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)20:DF_FC") } record(ai, "$(CM,recursive)20:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_1_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)20:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)20:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)20:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)20:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)20:DF_FC.ASLO") } record(ai, "$(CM,recursive)20:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_1_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)20:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)20:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)20:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)20:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=cfreq_1_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)20:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)20:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)20:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:GTOACALC") } record(calc, "$(CM,recursive)20:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)20:GTOA") field(INPB, "$(CM,recursive)20:L") field(EGU, "MV") } record(ao, "$(CM,recursive)20:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:ATOGCALC") } record(calc, "$(CM,recursive)20:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)20:ATOG") field(INPB, "$(CM,recursive)20:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_ADES") info(feed:info:input, "$(CM,recursive)20:ADES") info(feed:info:output, "$(CM,recursive)20:ADES") } record(ao, "$(CM,recursive)20:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)20:AACTACALC PP") field(FLNK, "$(CM,recursive)20:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)20:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)20:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)20:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)20:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)20:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)20:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)20:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)20:AACTACALC") field(LNK1, "$(CM,recursive)20:AACT.HIHI") field(DOL2, "$(CM,recursive)20:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)20:AACT.LOLO") field(DOL3, "$(CM,recursive)20:AACTWCALC") field(LNK3, "$(CM,recursive)20:AACT.HIGH") field(DOL4, "$(CM,recursive)20:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)20:AACT.LOW PP") field(FLNK, "$(CM,recursive)20:ATOGDESCALC") } record(calc, "$(CM,recursive)20:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)20:ADES MS") field(INPB, "$(CM,recursive)20:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)20:GDES") } record(ai, "$(CM,recursive)20:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)20:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)20:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)20:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)20:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)20:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)20:ATOGACTCALC") } record(calc, "$(CM,recursive)20:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)20:AACT MS") field(INPB, "$(CM,recursive)20:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)20:GACT") } record(ai, "$(CM,recursive)20:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)20:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)20:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)20:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)20:INIT2_") } record(seq, "$(CM,recursive)20:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)20:RFSTATE MS") field(LNK1, "$(CM,recursive)20:RFCTRL PP") field(DOL2, "$(CM,recursive)20:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)20:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)20:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_RFMODECTRL") info(feed:info:input, "$(CM,recursive)20:RFMODECTRL") info(feed:info:output, "$(CM,recursive)20:RFMODECTRL") } record(mbbo, "$(CM,recursive)20:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)20:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)20:RFMODECTRL") field(FLNK, "$(CM,recursive)20:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)20:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)20:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)20:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)20:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)20:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)20:PHAFB PP") field(FLNK, "$(CM,recursive)20:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)20:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)20:RFMODECTRL") field(INPB, "$(CM,recursive)20:PULSE_STATUS") field(FLNK, "$(CM,recursive)20:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)20:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)20:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)20:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)20:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)20:ASETSUB.PROC") } record(bi, "$(CM,recursive)20:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)20:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)20:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)20:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)20:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)20:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)20:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)20:RFMODECTRL") } record(calc, "$(CM,recursive)20:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)20:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)20:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)20:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)20:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)20:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)20:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)20:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)20:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)20:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)20:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)20:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)20:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)20:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)20:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)20:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)20:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)20:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)20:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)20:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)20:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)20:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)20:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SSA:MAXR") info(feed:info:input, "$(CM,recursive)20:SSA:MAXR") info(feed:info:output, "$(CM,recursive)20:SSA:MAXR") } record(ao, "$(CM,recursive)20:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)20:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SINTHETA") info(feed:info:input, "$(CM,recursive)20:SINTHETA") info(feed:info:output, "$(CM,recursive)20:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)20:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)20:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)20:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)20:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)20:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)20:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)20:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)20:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)20:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)20:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)20:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)20:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)20:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)20:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)20:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)20:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)20:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)20:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)20:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)20:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)20:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)20:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)20:ASETSUB.VALR") field(DOL1, "$(CM,recursive)20:ASETSUB.VALE") field(LNK1, "$(CM,recursive)20:REGMAG PP") field(DOL2, "$(CM,recursive)20:ASETSUB.VALL") field(LNK2, "$(CM,recursive)20:REGLIM0 PP") field(DOL3, "$(CM,recursive)20:ASETSUB.VALP") field(LNK3, "$(CM,recursive)20:REGLIM1 PP") field(DOL4, "$(CM,recursive)20:ASETSUB.VALK") field(LNK4, "$(CM,recursive)20:REGLIM2 PP") field(DOL5, "$(CM,recursive)20:ASETSUB.VALO") field(LNK5, "$(CM,recursive)20:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_RFCTRL") info(feed:info:input, "$(CM,recursive)20:RFCTRL") info(feed:info:output, "$(CM,recursive)20:RFCTRL") } record(bo, "$(CM,recursive)20:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)20:RFCTRLCALC") } record(calc, "$(CM,recursive)20:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)20:RFCTRL") field(FLNK, "$(CM,recursive)20:RFCTRLSEQ") } record(seq, "$(CM,recursive)20:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)20:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)20:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)20:RFONSEQ PP") } record(seq, "$(CM,recursive)20:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)20:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)20:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)20:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)20:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)20:REGLIM3 PP") field(FLNK, "$(CM,recursive)20:RFOFFSEQ2") } record(calcout, "$(CM,recursive)20:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)20:RFCTRL") field(INPB, "$(CM,recursive)20:PULSE_STATUS") field(OUT, "$(CM,recursive)20:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)20:ASETSUB") } record(seq, "$(CM,recursive)20:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)20:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)20:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)20:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)20:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)20:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)20:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)20:TGEN_STAT PP") field(FLNK, "$(CM,recursive)20:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)20:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)20:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)20:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)20:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)20:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)20:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)20:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)20:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)20:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=dummy_1_PDES") info(feed:info:input, "$(CM,recursive)20:PDES") info(feed:info:output, "$(CM,recursive)20:PDES") } record(ao, "$(CM,recursive)20:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)20:PSETCALC PP") field(OUT, "$(CM,recursive)20:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)20:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)20:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)20:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)20:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)20:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)20:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)20:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)20:PACTACALC") field(LNK1, "$(CM,recursive)20:PACT.HIHI") field(DOL2, "$(CM,recursive)20:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)20:PACT.LOLO") field(DOL3, "$(CM,recursive)20:PACTWCALC") field(LNK3, "$(CM,recursive)20:PACT.HIGH") field(DOL4, "$(CM,recursive)20:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)20:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)20:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)20:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)20:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)20:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)20:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)20:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)20:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:PSETROUND.VALA") field(OUT, "$(CM,recursive)20:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)20:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)20:REGMAG") } record(longin, "$(CM,recursive)20:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGMAG_RBV") } record(longout, "$(CM,recursive)20:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)20:REGPHA") } record(longin, "$(CM,recursive)20:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGPHA_RBV") } record(longout, "$(CM,recursive)20:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)20:REGLIM0") } record(longin, "$(CM,recursive)20:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGLIM0_RBV") } record(longout, "$(CM,recursive)20:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)20:REGLIM1") } record(longin, "$(CM,recursive)20:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGLIM1_RBV") } record(longout, "$(CM,recursive)20:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)20:REGLIM2") } record(longin, "$(CM,recursive)20:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGLIM2_RBV") } record(longout, "$(CM,recursive)20:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)20:REGLIM3") } record(longin, "$(CM,recursive)20:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SEL_ASET") info(feed:info:input, "$(CM,recursive)20:SEL_ASET") info(feed:info:output, "$(CM,recursive)20:SEL_ASET") } record(ao, "$(CM,recursive)20:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)20:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)20:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)20:SEL_ALIMFO") { field(DOL, "$(CM,recursive)20:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)20:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)20:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)20:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)20:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_SEL_POFF") info(feed:info:input, "$(CM,recursive)20:SEL_POFF") info(feed:info:output, "$(CM,recursive)20:SEL_POFF") } record(ao, "$(CM,recursive)20:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)20:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)20:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)20:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)20:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)20:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)20:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)20:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)20:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)20:REGSEL_POFF PP") } record(longout, "$(CM,recursive)20:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)20:REGSEL_POFF") } record(longin, "$(CM,recursive)20:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)20:SEL_POFFCALC") } record(calc, "$(CM,recursive)20:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)20:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)20:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)20:SEL_POFF_RBV") } record(ai, "$(CM,recursive)20:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)20:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)20:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)20:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)20:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)20:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS1A:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)20:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)20:SEL_ENABLE") } record(mbbi, "$(CM,recursive)20:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)20:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)20:SEL_THRESH") } record(longin, "$(CM,recursive)20:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)20:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs1a reg=shell_1_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)20:FB_SOURCE") } record(mbbi, "$(CM,recursive)20:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)20:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs1a reg=tgen_1_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)20:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)20:REGTGEN_STAT") } record(calc, "$(CM,recursive)20:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)20:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)20:TGEN_STAT") } record(bi, "$(CM,recursive)20:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)20:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)20:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)20:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)20:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)20:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)20:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)20:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)20:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)20:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)20:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)20:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)20:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)20:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)20:PHAFB_KP") } record(longin, "$(CM,recursive)20:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)20:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)20:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)20:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)20:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)20:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=cav1_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)20:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)20:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cav1_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)20:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)20:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)20:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS1A:CCR1_STAT") field(FLNK, "$(CM,recursive)20:RESLINK") } record(bi, "$(CM,recursive)20:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)20:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)20:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)20:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS1A:CCR1_CAV1_STAT") field(FLNK, "$(CM,recursive)20:INTLKPERMIT") } record(bi, "$(CM,recursive)20:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)20:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)20:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)20:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)20:RESLINK") field(INPB, "$(CM,recursive)20:INTLKPERMIT") field(FLNK, "$(CM,recursive)20:RFPERMIT_CALC") } record(calc, "$(CM,recursive)20:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)20:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)20:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)20:RFPERMIT") } record(bi, "$(CM,recursive)20:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)20:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)20:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)20:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)20:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)20:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)20:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)20:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)20:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)20:AMPFB_HLIM") } record(bi, "$(CM,recursive)20:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)20:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)20:AMPFB_LLIM") } record(bi, "$(CM,recursive)20:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)20:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)20:AMPFB_SUM") } record(calc, "$(CM,recursive)20:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)20:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)20:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)20:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)20:PHAFB_HLIM") } record(bi, "$(CM,recursive)20:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)20:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)20:PHAFB_LLIM") } record(bi, "$(CM,recursive)20:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)20:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)20:PHAFB_SUM") } record(calc, "$(CM,recursive)20:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)20:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)20:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)20:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)20:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)20:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)20:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)20:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)20:L") field(INPC, "$(CM,recursive)20:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)20:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)20:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)20:GCALC2_ PP") field(FLNK, "$(CM,recursive)20:GCALC_") } record(calc, "$(CM,recursive)20:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)20:GCALC1") field(INPB, "$(CM,recursive)20:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)20:GCALC") } record(ai, "$(CM,recursive)20:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)20:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)20:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)20:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)20:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)20:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)20:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)20:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)20:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)20:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)20:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:QPROBE_CALC2") field(OUT, "$(CM,recursive)20:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)20:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)20:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)20:QUENCH_BYP") field(INPB, "$(CM,recursive)20:GCALC1") field(INPC, "$(CM,recursive)20:GACT") field(INPD, "$(CM,recursive)20:RFCTRL") field(INPE, "$(CM,recursive)20:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)20:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)20:QUENCH_FLT PP") } record(bi, "$(CM,recursive)20:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)20:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)20:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)20:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)20:RFCTRL PP") } record(bo, "$(CM,recursive)20:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)20:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)30:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QPROBE_NEW") field(OUT, "$(CM,recursive)30:QPROBE PP") } record(ao, "$(CM,recursive)30:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QLOADED_NEW") field(OUT, "$(CM,recursive)30:QLOADED PP") } record(ao, "$(CM,recursive)30:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)30:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)30:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:LFDCOEF_NEW") field(OUT, "$(CM,recursive)30:LFDCOEF PP") } record(seq, "$(CM,recursive)30:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)30:BCOEFM_NEW") field(LNK1, "$(CM,recursive)30:BCOEFM PP") field(DOL2, "$(CM,recursive)30:BCOEFP_NEW") field(LNK2, "$(CM,recursive)30:BCOEFP PP") } record(ao, "$(CM,recursive)30:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)30:SSA:SLOPE PP") } record(ao, "$(CM,recursive)30:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QPROBE_SAVE") field(OUT, "$(CM,recursive)30:QPROBE PP") } record(ao, "$(CM,recursive)30:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QLOADED_SAVE") field(OUT, "$(CM,recursive)30:QLOADED PP") } record(ao, "$(CM,recursive)30:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)30:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)30:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)30:LFDCOEF PP") } record(seq, "$(CM,recursive)30:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)30:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)30:BCOEFM PP") field(DOL2, "$(CM,recursive)30:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)30:BCOEFP PP") } record(ao, "$(CM,recursive)30:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)30:SSA:SLOPE PP") } record(ao, "$(CM,recursive)30:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QPROBE") field(OUT, "$(CM,recursive)30:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)30:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QLOADED") field(OUT, "$(CM,recursive)30:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)30:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)30:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)30:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:LFDCOEF") field(OUT, "$(CM,recursive)30:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)30:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)30:BCOEFM") field(LNK1, "$(CM,recursive)30:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)30:BCOEFP") field(LNK2, "$(CM,recursive)30:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)30:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:SSA:SLOPE") field(OUT, "$(CM,recursive)30:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)30:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_QPROBE") info(feed:info:input, "$(CM,recursive)30:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)30:QPROBE_NEW") } record(ai, "$(CM,recursive)30:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_QLOADED") info(feed:info:input, "$(CM,recursive)30:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)30:QLOADED_NEW") } record(ai, "$(CM,recursive)30:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_LFDCOEF") info(feed:info:input, "$(CM,recursive)30:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)30:LFDCOEF_NEW") } record(ai, "$(CM,recursive)30:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_BCOEFM") info(feed:info:input, "$(CM,recursive)30:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)30:BCOEFM_NEW") } record(ai, "$(CM,recursive)30:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_BCOEFP") info(feed:info:input, "$(CM,recursive)30:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)30:BCOEFP_NEW") } record(ai, "$(CM,recursive)30:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)30:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)30:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)30:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)30:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)30:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)30:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)30:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)30:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)30:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:PED") info(feed:info:input, "$(CM,recursive)30:SSA:PED") info(feed:info:output, "$(CM,recursive)30:SSA:PED") } record(ao, "$(CM,recursive)30:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:MINX") info(feed:info:input, "$(CM,recursive)30:SSA:MINX") info(feed:info:output, "$(CM,recursive)30:SSA:MINX") } record(ao, "$(CM,recursive)30:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)30:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)30:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)30:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)30:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)30:SSA:CALMSG1") } record(stringin, "$(CM,recursive)30:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)30:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)30:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)30:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)30:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)30:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DFDELTA") info(feed:info:input, "$(CM,recursive)30:DFDELTA") info(feed:info:output, "$(CM,recursive)30:DFDELTA") } record(ai, "$(CM,recursive)30:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DFSCANAMP") info(feed:info:input, "$(CM,recursive)30:DFSCANAMP") info(feed:info:output, "$(CM,recursive)30:DFSCANAMP") } record(ai, "$(CM,recursive)30:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)30:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)30:DFSCANAMP") field(INPB, "$(CM,recursive)30:CAV:SCALE") field(FLNK, "$(CM,recursive)30:DFAMP") } record(ai, "$(CM,recursive)30:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)30:DFAMPCALC") } record(ai, "$(CM,recursive)30:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)30:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)30:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)30:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)30:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)30:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)30:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS2A:") field(PINI, "YES") } record(longin, "$(CM,recursive)30:RFS_ZONE") { field(VAL, "0") field(PINI, "YES") } record(ai, "$(CM,recursive)30:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)30:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_CAV_GOAL") info(feed:info:input, "$(CM,recursive)30:CAV_GOAL") info(feed:info:output, "$(CM,recursive)30:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)30:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)30:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)30:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:ANGFREQCALC") } record(calc, "$(CM,recursive)30:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)30:FREQ") field(FLNK, "$(CM,recursive)30:ANGFREQ") } record(ao, "$(CM,recursive)30:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)30:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cct1_cavity0_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)30:DFVALID_") info(feed:info:setting, "$(CM,recursive)30:DFVALID") } record(bi, "$(CM,recursive)30:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)30:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)30:DF") } record(ai, "$(CM,recursive)30:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity0_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)30:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)30:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_DFSCALE") info(feed:info:input, "$(CM,recursive)30:DF.ASLO") info(feed:info:output, "$(CM,recursive)30:DF.ASLO") } record(mbbi, "$(CM,recursive)30:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity0_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)30:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cfreq_0_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)30:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)30:DF_FCVALID") } record(bi, "$(CM,recursive)30:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)30:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)30:DF_FC") } record(ai, "$(CM,recursive)30:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)30:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)30:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)30:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)30:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)30:DF_FC.ASLO") } record(ai, "$(CM,recursive)30:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)30:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)30:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)30:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)30:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)30:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)30:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)30:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:GTOACALC") } record(calc, "$(CM,recursive)30:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)30:GTOA") field(INPB, "$(CM,recursive)30:L") field(EGU, "MV") } record(ao, "$(CM,recursive)30:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:ATOGCALC") } record(calc, "$(CM,recursive)30:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)30:ATOG") field(INPB, "$(CM,recursive)30:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_ADES") info(feed:info:input, "$(CM,recursive)30:ADES") info(feed:info:output, "$(CM,recursive)30:ADES") } record(ao, "$(CM,recursive)30:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)30:AACTACALC PP") field(FLNK, "$(CM,recursive)30:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)30:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)30:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)30:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)30:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)30:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)30:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)30:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)30:AACTACALC") field(LNK1, "$(CM,recursive)30:AACT.HIHI") field(DOL2, "$(CM,recursive)30:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)30:AACT.LOLO") field(DOL3, "$(CM,recursive)30:AACTWCALC") field(LNK3, "$(CM,recursive)30:AACT.HIGH") field(DOL4, "$(CM,recursive)30:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)30:AACT.LOW PP") field(FLNK, "$(CM,recursive)30:ATOGDESCALC") } record(calc, "$(CM,recursive)30:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)30:ADES MS") field(INPB, "$(CM,recursive)30:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)30:GDES") } record(ai, "$(CM,recursive)30:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)30:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)30:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)30:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)30:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)30:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)30:ATOGACTCALC") } record(calc, "$(CM,recursive)30:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)30:AACT MS") field(INPB, "$(CM,recursive)30:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)30:GACT") } record(ai, "$(CM,recursive)30:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)30:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)30:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)30:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)30:INIT2_") } record(seq, "$(CM,recursive)30:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)30:RFSTATE MS") field(LNK1, "$(CM,recursive)30:RFCTRL PP") field(DOL2, "$(CM,recursive)30:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)30:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)30:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_RFMODECTRL") info(feed:info:input, "$(CM,recursive)30:RFMODECTRL") info(feed:info:output, "$(CM,recursive)30:RFMODECTRL") } record(mbbo, "$(CM,recursive)30:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)30:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)30:RFMODECTRL") field(FLNK, "$(CM,recursive)30:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)30:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)30:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)30:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)30:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)30:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)30:PHAFB PP") field(FLNK, "$(CM,recursive)30:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)30:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)30:RFMODECTRL") field(INPB, "$(CM,recursive)30:PULSE_STATUS") field(FLNK, "$(CM,recursive)30:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)30:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)30:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)30:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)30:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)30:ASETSUB.PROC") } record(bi, "$(CM,recursive)30:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)30:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)30:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)30:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)30:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)30:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)30:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)30:RFMODECTRL") } record(calc, "$(CM,recursive)30:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)30:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)30:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)30:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)30:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)30:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)30:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)30:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)30:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)30:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)30:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)30:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)30:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)30:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)30:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)30:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)30:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)30:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)30:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)30:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)30:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)30:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)30:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SSA:MAXR") info(feed:info:input, "$(CM,recursive)30:SSA:MAXR") info(feed:info:output, "$(CM,recursive)30:SSA:MAXR") } record(ao, "$(CM,recursive)30:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)30:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SINTHETA") info(feed:info:input, "$(CM,recursive)30:SINTHETA") info(feed:info:output, "$(CM,recursive)30:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)30:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)30:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)30:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)30:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)30:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)30:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)30:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)30:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)30:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)30:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)30:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)30:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)30:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)30:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)30:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)30:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)30:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)30:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)30:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)30:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)30:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)30:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)30:ASETSUB.VALR") field(DOL1, "$(CM,recursive)30:ASETSUB.VALE") field(LNK1, "$(CM,recursive)30:REGMAG PP") field(DOL2, "$(CM,recursive)30:ASETSUB.VALL") field(LNK2, "$(CM,recursive)30:REGLIM0 PP") field(DOL3, "$(CM,recursive)30:ASETSUB.VALP") field(LNK3, "$(CM,recursive)30:REGLIM1 PP") field(DOL4, "$(CM,recursive)30:ASETSUB.VALK") field(LNK4, "$(CM,recursive)30:REGLIM2 PP") field(DOL5, "$(CM,recursive)30:ASETSUB.VALO") field(LNK5, "$(CM,recursive)30:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_RFCTRL") info(feed:info:input, "$(CM,recursive)30:RFCTRL") info(feed:info:output, "$(CM,recursive)30:RFCTRL") } record(bo, "$(CM,recursive)30:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)30:RFCTRLCALC") } record(calc, "$(CM,recursive)30:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)30:RFCTRL") field(FLNK, "$(CM,recursive)30:RFCTRLSEQ") } record(seq, "$(CM,recursive)30:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)30:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)30:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)30:RFONSEQ PP") } record(seq, "$(CM,recursive)30:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)30:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)30:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)30:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)30:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)30:REGLIM3 PP") field(FLNK, "$(CM,recursive)30:RFOFFSEQ2") } record(calcout, "$(CM,recursive)30:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)30:RFCTRL") field(INPB, "$(CM,recursive)30:PULSE_STATUS") field(OUT, "$(CM,recursive)30:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)30:ASETSUB") } record(seq, "$(CM,recursive)30:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)30:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)30:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)30:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)30:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)30:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)30:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)30:TGEN_STAT PP") field(FLNK, "$(CM,recursive)30:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)30:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)30:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)30:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)30:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)30:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)30:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)30:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)30:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)30:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_0_PDES") info(feed:info:input, "$(CM,recursive)30:PDES") info(feed:info:output, "$(CM,recursive)30:PDES") } record(ao, "$(CM,recursive)30:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)30:PSETCALC PP") field(OUT, "$(CM,recursive)30:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)30:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)30:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)30:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)30:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)30:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)30:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)30:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)30:PACTACALC") field(LNK1, "$(CM,recursive)30:PACT.HIHI") field(DOL2, "$(CM,recursive)30:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)30:PACT.LOLO") field(DOL3, "$(CM,recursive)30:PACTWCALC") field(LNK3, "$(CM,recursive)30:PACT.HIGH") field(DOL4, "$(CM,recursive)30:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)30:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)30:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)30:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)30:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)30:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)30:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)30:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)30:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:PSETROUND.VALA") field(OUT, "$(CM,recursive)30:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)30:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)30:REGMAG") } record(longin, "$(CM,recursive)30:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGMAG_RBV") } record(longout, "$(CM,recursive)30:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)30:REGPHA") } record(longin, "$(CM,recursive)30:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGPHA_RBV") } record(longout, "$(CM,recursive)30:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)30:REGLIM0") } record(longin, "$(CM,recursive)30:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGLIM0_RBV") } record(longout, "$(CM,recursive)30:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)30:REGLIM1") } record(longin, "$(CM,recursive)30:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGLIM1_RBV") } record(longout, "$(CM,recursive)30:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)30:REGLIM2") } record(longin, "$(CM,recursive)30:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGLIM2_RBV") } record(longout, "$(CM,recursive)30:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)30:REGLIM3") } record(longin, "$(CM,recursive)30:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SEL_ASET") info(feed:info:input, "$(CM,recursive)30:SEL_ASET") info(feed:info:output, "$(CM,recursive)30:SEL_ASET") } record(ao, "$(CM,recursive)30:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)30:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)30:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)30:SEL_ALIMFO") { field(DOL, "$(CM,recursive)30:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)30:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)30:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)30:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)30:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_SEL_POFF") info(feed:info:input, "$(CM,recursive)30:SEL_POFF") info(feed:info:output, "$(CM,recursive)30:SEL_POFF") } record(ao, "$(CM,recursive)30:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)30:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)30:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)30:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)30:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)30:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)30:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)30:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)30:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)30:REGSEL_POFF PP") } record(longout, "$(CM,recursive)30:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)30:REGSEL_POFF") } record(longin, "$(CM,recursive)30:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)30:SEL_POFFCALC") } record(calc, "$(CM,recursive)30:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)30:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)30:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)30:SEL_POFF_RBV") } record(ai, "$(CM,recursive)30:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)30:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)30:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)30:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)30:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)30:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS2A:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)30:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)30:SEL_ENABLE") } record(mbbi, "$(CM,recursive)30:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)30:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)30:SEL_THRESH") } record(longin, "$(CM,recursive)30:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)30:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs2a reg=shell_0_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)30:FB_SOURCE") } record(mbbi, "$(CM,recursive)30:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)30:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs2a reg=tgen_0_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)30:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)30:REGTGEN_STAT") } record(calc, "$(CM,recursive)30:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)30:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)30:TGEN_STAT") } record(bi, "$(CM,recursive)30:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)30:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)30:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)30:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)30:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)30:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)30:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)30:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)30:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)30:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)30:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)30:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)30:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)30:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)30:PHAFB_KP") } record(longin, "$(CM,recursive)30:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)30:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)30:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)30:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)30:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)30:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cav0_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)30:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)30:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cav0_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)30:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)30:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)30:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS2A:CCR1_STAT") field(FLNK, "$(CM,recursive)30:RESLINK") } record(bi, "$(CM,recursive)30:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)30:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)30:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)30:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS2A:CCR1_CAV0_STAT") field(FLNK, "$(CM,recursive)30:INTLKPERMIT") } record(bi, "$(CM,recursive)30:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)30:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)30:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)30:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)30:RESLINK") field(INPB, "$(CM,recursive)30:INTLKPERMIT") field(FLNK, "$(CM,recursive)30:RFPERMIT_CALC") } record(calc, "$(CM,recursive)30:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)30:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)30:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)30:RFPERMIT") } record(bi, "$(CM,recursive)30:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)30:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)30:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)30:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)30:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)30:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)30:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)30:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)30:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)30:AMPFB_HLIM") } record(bi, "$(CM,recursive)30:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)30:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)30:AMPFB_LLIM") } record(bi, "$(CM,recursive)30:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)30:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)30:AMPFB_SUM") } record(calc, "$(CM,recursive)30:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)30:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)30:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)30:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)30:PHAFB_HLIM") } record(bi, "$(CM,recursive)30:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)30:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)30:PHAFB_LLIM") } record(bi, "$(CM,recursive)30:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)30:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)30:PHAFB_SUM") } record(calc, "$(CM,recursive)30:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)30:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)30:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)30:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)30:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)30:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)30:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)30:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)30:L") field(INPC, "$(CM,recursive)30:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)30:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)30:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)30:GCALC2_ PP") field(FLNK, "$(CM,recursive)30:GCALC_") } record(calc, "$(CM,recursive)30:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)30:GCALC1") field(INPB, "$(CM,recursive)30:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)30:GCALC") } record(ai, "$(CM,recursive)30:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)30:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)30:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)30:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)30:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)30:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)30:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)30:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)30:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)30:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)30:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:QPROBE_CALC2") field(OUT, "$(CM,recursive)30:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)30:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)30:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)30:QUENCH_BYP") field(INPB, "$(CM,recursive)30:GCALC1") field(INPC, "$(CM,recursive)30:GACT") field(INPD, "$(CM,recursive)30:RFCTRL") field(INPE, "$(CM,recursive)30:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)30:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)30:QUENCH_FLT PP") } record(bi, "$(CM,recursive)30:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)30:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)30:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)30:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)30:RFCTRL PP") } record(bo, "$(CM,recursive)30:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)30:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)40:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QPROBE_NEW") field(OUT, "$(CM,recursive)40:QPROBE PP") } record(ao, "$(CM,recursive)40:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QLOADED_NEW") field(OUT, "$(CM,recursive)40:QLOADED PP") } record(ao, "$(CM,recursive)40:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)40:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)40:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:LFDCOEF_NEW") field(OUT, "$(CM,recursive)40:LFDCOEF PP") } record(seq, "$(CM,recursive)40:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)40:BCOEFM_NEW") field(LNK1, "$(CM,recursive)40:BCOEFM PP") field(DOL2, "$(CM,recursive)40:BCOEFP_NEW") field(LNK2, "$(CM,recursive)40:BCOEFP PP") } record(ao, "$(CM,recursive)40:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)40:SSA:SLOPE PP") } record(ao, "$(CM,recursive)40:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QPROBE_SAVE") field(OUT, "$(CM,recursive)40:QPROBE PP") } record(ao, "$(CM,recursive)40:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QLOADED_SAVE") field(OUT, "$(CM,recursive)40:QLOADED PP") } record(ao, "$(CM,recursive)40:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)40:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)40:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)40:LFDCOEF PP") } record(seq, "$(CM,recursive)40:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)40:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)40:BCOEFM PP") field(DOL2, "$(CM,recursive)40:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)40:BCOEFP PP") } record(ao, "$(CM,recursive)40:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)40:SSA:SLOPE PP") } record(ao, "$(CM,recursive)40:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QPROBE") field(OUT, "$(CM,recursive)40:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)40:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QLOADED") field(OUT, "$(CM,recursive)40:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)40:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)40:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)40:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:LFDCOEF") field(OUT, "$(CM,recursive)40:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)40:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)40:BCOEFM") field(LNK1, "$(CM,recursive)40:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)40:BCOEFP") field(LNK2, "$(CM,recursive)40:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)40:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:SSA:SLOPE") field(OUT, "$(CM,recursive)40:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)40:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_QPROBE") info(feed:info:input, "$(CM,recursive)40:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)40:QPROBE_NEW") } record(ai, "$(CM,recursive)40:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_QLOADED") info(feed:info:input, "$(CM,recursive)40:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)40:QLOADED_NEW") } record(ai, "$(CM,recursive)40:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_LFDCOEF") info(feed:info:input, "$(CM,recursive)40:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)40:LFDCOEF_NEW") } record(ai, "$(CM,recursive)40:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_BCOEFM") info(feed:info:input, "$(CM,recursive)40:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)40:BCOEFM_NEW") } record(ai, "$(CM,recursive)40:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_BCOEFP") info(feed:info:input, "$(CM,recursive)40:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)40:BCOEFP_NEW") } record(ai, "$(CM,recursive)40:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)40:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)40:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)40:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)40:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)40:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)40:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)40:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)40:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)40:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:PED") info(feed:info:input, "$(CM,recursive)40:SSA:PED") info(feed:info:output, "$(CM,recursive)40:SSA:PED") } record(ao, "$(CM,recursive)40:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:MINX") info(feed:info:input, "$(CM,recursive)40:SSA:MINX") info(feed:info:output, "$(CM,recursive)40:SSA:MINX") } record(ao, "$(CM,recursive)40:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)40:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)40:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)40:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)40:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)40:SSA:CALMSG1") } record(stringin, "$(CM,recursive)40:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)40:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)40:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)40:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)40:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)40:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DFDELTA") info(feed:info:input, "$(CM,recursive)40:DFDELTA") info(feed:info:output, "$(CM,recursive)40:DFDELTA") } record(ai, "$(CM,recursive)40:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DFSCANAMP") info(feed:info:input, "$(CM,recursive)40:DFSCANAMP") info(feed:info:output, "$(CM,recursive)40:DFSCANAMP") } record(ai, "$(CM,recursive)40:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)40:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)40:DFSCANAMP") field(INPB, "$(CM,recursive)40:CAV:SCALE") field(FLNK, "$(CM,recursive)40:DFAMP") } record(ai, "$(CM,recursive)40:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)40:DFAMPCALC") } record(ai, "$(CM,recursive)40:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)40:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)40:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)40:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)40:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)40:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)40:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS2A:") field(PINI, "YES") } record(longin, "$(CM,recursive)40:RFS_ZONE") { field(VAL, "1") field(PINI, "YES") } record(ai, "$(CM,recursive)40:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)40:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_CAV_GOAL") info(feed:info:input, "$(CM,recursive)40:CAV_GOAL") info(feed:info:output, "$(CM,recursive)40:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)40:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)40:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)40:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:ANGFREQCALC") } record(calc, "$(CM,recursive)40:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)40:FREQ") field(FLNK, "$(CM,recursive)40:ANGFREQ") } record(ao, "$(CM,recursive)40:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)40:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cct1_cavity1_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)40:DFVALID_") info(feed:info:setting, "$(CM,recursive)40:DFVALID") } record(bi, "$(CM,recursive)40:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)40:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)40:DF") } record(ai, "$(CM,recursive)40:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity1_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)40:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)40:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_DFSCALE") info(feed:info:input, "$(CM,recursive)40:DF.ASLO") info(feed:info:output, "$(CM,recursive)40:DF.ASLO") } record(mbbi, "$(CM,recursive)40:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity1_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)40:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cfreq_1_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)40:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)40:DF_FCVALID") } record(bi, "$(CM,recursive)40:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)40:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)40:DF_FC") } record(ai, "$(CM,recursive)40:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)40:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)40:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)40:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)40:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)40:DF_FC.ASLO") } record(ai, "$(CM,recursive)40:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)40:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)40:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)40:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)40:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)40:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)40:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)40:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:GTOACALC") } record(calc, "$(CM,recursive)40:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)40:GTOA") field(INPB, "$(CM,recursive)40:L") field(EGU, "MV") } record(ao, "$(CM,recursive)40:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:ATOGCALC") } record(calc, "$(CM,recursive)40:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)40:ATOG") field(INPB, "$(CM,recursive)40:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_ADES") info(feed:info:input, "$(CM,recursive)40:ADES") info(feed:info:output, "$(CM,recursive)40:ADES") } record(ao, "$(CM,recursive)40:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)40:AACTACALC PP") field(FLNK, "$(CM,recursive)40:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)40:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)40:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)40:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)40:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)40:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)40:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)40:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)40:AACTACALC") field(LNK1, "$(CM,recursive)40:AACT.HIHI") field(DOL2, "$(CM,recursive)40:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)40:AACT.LOLO") field(DOL3, "$(CM,recursive)40:AACTWCALC") field(LNK3, "$(CM,recursive)40:AACT.HIGH") field(DOL4, "$(CM,recursive)40:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)40:AACT.LOW PP") field(FLNK, "$(CM,recursive)40:ATOGDESCALC") } record(calc, "$(CM,recursive)40:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)40:ADES MS") field(INPB, "$(CM,recursive)40:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)40:GDES") } record(ai, "$(CM,recursive)40:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)40:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)40:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)40:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)40:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)40:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)40:ATOGACTCALC") } record(calc, "$(CM,recursive)40:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)40:AACT MS") field(INPB, "$(CM,recursive)40:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)40:GACT") } record(ai, "$(CM,recursive)40:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)40:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)40:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)40:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)40:INIT2_") } record(seq, "$(CM,recursive)40:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)40:RFSTATE MS") field(LNK1, "$(CM,recursive)40:RFCTRL PP") field(DOL2, "$(CM,recursive)40:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)40:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)40:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_RFMODECTRL") info(feed:info:input, "$(CM,recursive)40:RFMODECTRL") info(feed:info:output, "$(CM,recursive)40:RFMODECTRL") } record(mbbo, "$(CM,recursive)40:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)40:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)40:RFMODECTRL") field(FLNK, "$(CM,recursive)40:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)40:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)40:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)40:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)40:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)40:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)40:PHAFB PP") field(FLNK, "$(CM,recursive)40:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)40:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)40:RFMODECTRL") field(INPB, "$(CM,recursive)40:PULSE_STATUS") field(FLNK, "$(CM,recursive)40:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)40:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)40:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)40:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)40:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)40:ASETSUB.PROC") } record(bi, "$(CM,recursive)40:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)40:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)40:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)40:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)40:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)40:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)40:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)40:RFMODECTRL") } record(calc, "$(CM,recursive)40:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)40:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)40:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)40:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)40:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)40:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)40:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)40:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)40:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)40:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)40:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)40:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)40:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)40:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)40:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)40:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)40:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)40:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)40:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)40:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)40:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)40:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)40:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SSA:MAXR") info(feed:info:input, "$(CM,recursive)40:SSA:MAXR") info(feed:info:output, "$(CM,recursive)40:SSA:MAXR") } record(ao, "$(CM,recursive)40:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)40:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SINTHETA") info(feed:info:input, "$(CM,recursive)40:SINTHETA") info(feed:info:output, "$(CM,recursive)40:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)40:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)40:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)40:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)40:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)40:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)40:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)40:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)40:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)40:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)40:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)40:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)40:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)40:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)40:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)40:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)40:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)40:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)40:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)40:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)40:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)40:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)40:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)40:ASETSUB.VALR") field(DOL1, "$(CM,recursive)40:ASETSUB.VALE") field(LNK1, "$(CM,recursive)40:REGMAG PP") field(DOL2, "$(CM,recursive)40:ASETSUB.VALL") field(LNK2, "$(CM,recursive)40:REGLIM0 PP") field(DOL3, "$(CM,recursive)40:ASETSUB.VALP") field(LNK3, "$(CM,recursive)40:REGLIM1 PP") field(DOL4, "$(CM,recursive)40:ASETSUB.VALK") field(LNK4, "$(CM,recursive)40:REGLIM2 PP") field(DOL5, "$(CM,recursive)40:ASETSUB.VALO") field(LNK5, "$(CM,recursive)40:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_RFCTRL") info(feed:info:input, "$(CM,recursive)40:RFCTRL") info(feed:info:output, "$(CM,recursive)40:RFCTRL") } record(bo, "$(CM,recursive)40:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)40:RFCTRLCALC") } record(calc, "$(CM,recursive)40:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)40:RFCTRL") field(FLNK, "$(CM,recursive)40:RFCTRLSEQ") } record(seq, "$(CM,recursive)40:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)40:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)40:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)40:RFONSEQ PP") } record(seq, "$(CM,recursive)40:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)40:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)40:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)40:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)40:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)40:REGLIM3 PP") field(FLNK, "$(CM,recursive)40:RFOFFSEQ2") } record(calcout, "$(CM,recursive)40:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)40:RFCTRL") field(INPB, "$(CM,recursive)40:PULSE_STATUS") field(OUT, "$(CM,recursive)40:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)40:ASETSUB") } record(seq, "$(CM,recursive)40:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)40:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)40:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)40:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)40:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)40:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)40:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)40:TGEN_STAT PP") field(FLNK, "$(CM,recursive)40:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)40:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)40:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)40:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)40:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)40:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)40:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)40:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)40:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)40:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dummy_1_PDES") info(feed:info:input, "$(CM,recursive)40:PDES") info(feed:info:output, "$(CM,recursive)40:PDES") } record(ao, "$(CM,recursive)40:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)40:PSETCALC PP") field(OUT, "$(CM,recursive)40:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)40:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)40:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)40:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)40:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)40:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)40:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)40:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)40:PACTACALC") field(LNK1, "$(CM,recursive)40:PACT.HIHI") field(DOL2, "$(CM,recursive)40:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)40:PACT.LOLO") field(DOL3, "$(CM,recursive)40:PACTWCALC") field(LNK3, "$(CM,recursive)40:PACT.HIGH") field(DOL4, "$(CM,recursive)40:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)40:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)40:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)40:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)40:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)40:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)40:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)40:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)40:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:PSETROUND.VALA") field(OUT, "$(CM,recursive)40:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)40:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)40:REGMAG") } record(longin, "$(CM,recursive)40:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGMAG_RBV") } record(longout, "$(CM,recursive)40:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)40:REGPHA") } record(longin, "$(CM,recursive)40:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGPHA_RBV") } record(longout, "$(CM,recursive)40:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)40:REGLIM0") } record(longin, "$(CM,recursive)40:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGLIM0_RBV") } record(longout, "$(CM,recursive)40:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)40:REGLIM1") } record(longin, "$(CM,recursive)40:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGLIM1_RBV") } record(longout, "$(CM,recursive)40:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)40:REGLIM2") } record(longin, "$(CM,recursive)40:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGLIM2_RBV") } record(longout, "$(CM,recursive)40:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)40:REGLIM3") } record(longin, "$(CM,recursive)40:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SEL_ASET") info(feed:info:input, "$(CM,recursive)40:SEL_ASET") info(feed:info:output, "$(CM,recursive)40:SEL_ASET") } record(ao, "$(CM,recursive)40:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)40:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)40:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)40:SEL_ALIMFO") { field(DOL, "$(CM,recursive)40:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)40:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)40:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)40:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)40:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_SEL_POFF") info(feed:info:input, "$(CM,recursive)40:SEL_POFF") info(feed:info:output, "$(CM,recursive)40:SEL_POFF") } record(ao, "$(CM,recursive)40:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)40:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)40:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)40:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)40:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)40:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)40:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)40:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)40:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)40:REGSEL_POFF PP") } record(longout, "$(CM,recursive)40:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)40:REGSEL_POFF") } record(longin, "$(CM,recursive)40:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)40:SEL_POFFCALC") } record(calc, "$(CM,recursive)40:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)40:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)40:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)40:SEL_POFF_RBV") } record(ai, "$(CM,recursive)40:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)40:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)40:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)40:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)40:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)40:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS2A:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)40:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)40:SEL_ENABLE") } record(mbbi, "$(CM,recursive)40:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)40:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)40:SEL_THRESH") } record(longin, "$(CM,recursive)40:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)40:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs2a reg=shell_1_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)40:FB_SOURCE") } record(mbbi, "$(CM,recursive)40:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)40:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs2a reg=tgen_1_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)40:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)40:REGTGEN_STAT") } record(calc, "$(CM,recursive)40:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)40:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)40:TGEN_STAT") } record(bi, "$(CM,recursive)40:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)40:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)40:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)40:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)40:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)40:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)40:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)40:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)40:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)40:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)40:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)40:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)40:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)40:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)40:PHAFB_KP") } record(longin, "$(CM,recursive)40:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)40:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)40:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)40:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)40:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)40:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cav1_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)40:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)40:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cav1_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)40:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)40:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)40:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS2A:CCR1_STAT") field(FLNK, "$(CM,recursive)40:RESLINK") } record(bi, "$(CM,recursive)40:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)40:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)40:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)40:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS2A:CCR1_CAV1_STAT") field(FLNK, "$(CM,recursive)40:INTLKPERMIT") } record(bi, "$(CM,recursive)40:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)40:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)40:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)40:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)40:RESLINK") field(INPB, "$(CM,recursive)40:INTLKPERMIT") field(FLNK, "$(CM,recursive)40:RFPERMIT_CALC") } record(calc, "$(CM,recursive)40:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)40:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)40:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)40:RFPERMIT") } record(bi, "$(CM,recursive)40:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)40:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)40:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)40:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)40:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)40:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)40:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)40:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)40:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)40:AMPFB_HLIM") } record(bi, "$(CM,recursive)40:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)40:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)40:AMPFB_LLIM") } record(bi, "$(CM,recursive)40:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)40:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)40:AMPFB_SUM") } record(calc, "$(CM,recursive)40:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)40:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)40:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)40:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)40:PHAFB_HLIM") } record(bi, "$(CM,recursive)40:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)40:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)40:PHAFB_LLIM") } record(bi, "$(CM,recursive)40:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)40:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)40:PHAFB_SUM") } record(calc, "$(CM,recursive)40:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)40:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)40:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)40:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)40:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)40:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)40:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)40:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)40:L") field(INPC, "$(CM,recursive)40:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)40:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)40:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)40:GCALC2_ PP") field(FLNK, "$(CM,recursive)40:GCALC_") } record(calc, "$(CM,recursive)40:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)40:GCALC1") field(INPB, "$(CM,recursive)40:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)40:GCALC") } record(ai, "$(CM,recursive)40:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)40:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)40:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)40:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)40:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)40:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)40:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)40:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)40:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)40:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)40:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:QPROBE_CALC2") field(OUT, "$(CM,recursive)40:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)40:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)40:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)40:QUENCH_BYP") field(INPB, "$(CM,recursive)40:GCALC1") field(INPC, "$(CM,recursive)40:GACT") field(INPD, "$(CM,recursive)40:RFCTRL") field(INPE, "$(CM,recursive)40:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)40:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)40:QUENCH_FLT PP") } record(bi, "$(CM,recursive)40:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)40:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)40:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)40:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)40:RFCTRL PP") } record(bo, "$(CM,recursive)40:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)40:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)50:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QPROBE_NEW") field(OUT, "$(CM,recursive)50:QPROBE PP") } record(ao, "$(CM,recursive)50:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QLOADED_NEW") field(OUT, "$(CM,recursive)50:QLOADED PP") } record(ao, "$(CM,recursive)50:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)50:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)50:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:LFDCOEF_NEW") field(OUT, "$(CM,recursive)50:LFDCOEF PP") } record(seq, "$(CM,recursive)50:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)50:BCOEFM_NEW") field(LNK1, "$(CM,recursive)50:BCOEFM PP") field(DOL2, "$(CM,recursive)50:BCOEFP_NEW") field(LNK2, "$(CM,recursive)50:BCOEFP PP") } record(ao, "$(CM,recursive)50:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)50:SSA:SLOPE PP") } record(ao, "$(CM,recursive)50:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QPROBE_SAVE") field(OUT, "$(CM,recursive)50:QPROBE PP") } record(ao, "$(CM,recursive)50:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QLOADED_SAVE") field(OUT, "$(CM,recursive)50:QLOADED PP") } record(ao, "$(CM,recursive)50:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)50:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)50:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)50:LFDCOEF PP") } record(seq, "$(CM,recursive)50:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)50:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)50:BCOEFM PP") field(DOL2, "$(CM,recursive)50:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)50:BCOEFP PP") } record(ao, "$(CM,recursive)50:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)50:SSA:SLOPE PP") } record(ao, "$(CM,recursive)50:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QPROBE") field(OUT, "$(CM,recursive)50:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)50:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QLOADED") field(OUT, "$(CM,recursive)50:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)50:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)50:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)50:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:LFDCOEF") field(OUT, "$(CM,recursive)50:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)50:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)50:BCOEFM") field(LNK1, "$(CM,recursive)50:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)50:BCOEFP") field(LNK2, "$(CM,recursive)50:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)50:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:SSA:SLOPE") field(OUT, "$(CM,recursive)50:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)50:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_QPROBE") info(feed:info:input, "$(CM,recursive)50:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)50:QPROBE_NEW") } record(ai, "$(CM,recursive)50:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_QLOADED") info(feed:info:input, "$(CM,recursive)50:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)50:QLOADED_NEW") } record(ai, "$(CM,recursive)50:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_LFDCOEF") info(feed:info:input, "$(CM,recursive)50:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)50:LFDCOEF_NEW") } record(ai, "$(CM,recursive)50:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_BCOEFM") info(feed:info:input, "$(CM,recursive)50:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)50:BCOEFM_NEW") } record(ai, "$(CM,recursive)50:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_BCOEFP") info(feed:info:input, "$(CM,recursive)50:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)50:BCOEFP_NEW") } record(ai, "$(CM,recursive)50:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)50:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)50:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)50:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)50:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)50:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)50:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)50:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)50:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)50:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:PED") info(feed:info:input, "$(CM,recursive)50:SSA:PED") info(feed:info:output, "$(CM,recursive)50:SSA:PED") } record(ao, "$(CM,recursive)50:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:MINX") info(feed:info:input, "$(CM,recursive)50:SSA:MINX") info(feed:info:output, "$(CM,recursive)50:SSA:MINX") } record(ao, "$(CM,recursive)50:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)50:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)50:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)50:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)50:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)50:SSA:CALMSG1") } record(stringin, "$(CM,recursive)50:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)50:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)50:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)50:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)50:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)50:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DFDELTA") info(feed:info:input, "$(CM,recursive)50:DFDELTA") info(feed:info:output, "$(CM,recursive)50:DFDELTA") } record(ai, "$(CM,recursive)50:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DFSCANAMP") info(feed:info:input, "$(CM,recursive)50:DFSCANAMP") info(feed:info:output, "$(CM,recursive)50:DFSCANAMP") } record(ai, "$(CM,recursive)50:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)50:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)50:DFSCANAMP") field(INPB, "$(CM,recursive)50:CAV:SCALE") field(FLNK, "$(CM,recursive)50:DFAMP") } record(ai, "$(CM,recursive)50:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)50:DFAMPCALC") } record(ai, "$(CM,recursive)50:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)50:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)50:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)50:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)50:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)50:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)50:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS1B:") field(PINI, "YES") } record(longin, "$(CM,recursive)50:RFS_ZONE") { field(VAL, "0") field(PINI, "YES") } record(ai, "$(CM,recursive)50:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)50:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_CAV_GOAL") info(feed:info:input, "$(CM,recursive)50:CAV_GOAL") info(feed:info:output, "$(CM,recursive)50:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)50:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)50:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)50:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:ANGFREQCALC") } record(calc, "$(CM,recursive)50:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)50:FREQ") field(FLNK, "$(CM,recursive)50:ANGFREQ") } record(ao, "$(CM,recursive)50:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)50:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cct1_cavity0_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)50:DFVALID_") info(feed:info:setting, "$(CM,recursive)50:DFVALID") } record(bi, "$(CM,recursive)50:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)50:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)50:DF") } record(ai, "$(CM,recursive)50:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity0_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)50:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)50:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_DFSCALE") info(feed:info:input, "$(CM,recursive)50:DF.ASLO") info(feed:info:output, "$(CM,recursive)50:DF.ASLO") } record(mbbi, "$(CM,recursive)50:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity0_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)50:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cfreq_0_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)50:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)50:DF_FCVALID") } record(bi, "$(CM,recursive)50:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)50:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)50:DF_FC") } record(ai, "$(CM,recursive)50:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)50:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)50:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)50:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)50:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)50:DF_FC.ASLO") } record(ai, "$(CM,recursive)50:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)50:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)50:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)50:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)50:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)50:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)50:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)50:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:GTOACALC") } record(calc, "$(CM,recursive)50:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)50:GTOA") field(INPB, "$(CM,recursive)50:L") field(EGU, "MV") } record(ao, "$(CM,recursive)50:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:ATOGCALC") } record(calc, "$(CM,recursive)50:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)50:ATOG") field(INPB, "$(CM,recursive)50:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_ADES") info(feed:info:input, "$(CM,recursive)50:ADES") info(feed:info:output, "$(CM,recursive)50:ADES") } record(ao, "$(CM,recursive)50:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)50:AACTACALC PP") field(FLNK, "$(CM,recursive)50:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)50:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)50:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)50:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)50:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)50:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)50:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)50:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)50:AACTACALC") field(LNK1, "$(CM,recursive)50:AACT.HIHI") field(DOL2, "$(CM,recursive)50:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)50:AACT.LOLO") field(DOL3, "$(CM,recursive)50:AACTWCALC") field(LNK3, "$(CM,recursive)50:AACT.HIGH") field(DOL4, "$(CM,recursive)50:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)50:AACT.LOW PP") field(FLNK, "$(CM,recursive)50:ATOGDESCALC") } record(calc, "$(CM,recursive)50:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)50:ADES MS") field(INPB, "$(CM,recursive)50:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)50:GDES") } record(ai, "$(CM,recursive)50:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)50:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)50:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)50:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)50:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)50:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)50:ATOGACTCALC") } record(calc, "$(CM,recursive)50:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)50:AACT MS") field(INPB, "$(CM,recursive)50:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)50:GACT") } record(ai, "$(CM,recursive)50:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)50:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)50:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)50:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)50:INIT2_") } record(seq, "$(CM,recursive)50:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)50:RFSTATE MS") field(LNK1, "$(CM,recursive)50:RFCTRL PP") field(DOL2, "$(CM,recursive)50:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)50:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)50:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_RFMODECTRL") info(feed:info:input, "$(CM,recursive)50:RFMODECTRL") info(feed:info:output, "$(CM,recursive)50:RFMODECTRL") } record(mbbo, "$(CM,recursive)50:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)50:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)50:RFMODECTRL") field(FLNK, "$(CM,recursive)50:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)50:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)50:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)50:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)50:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)50:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)50:PHAFB PP") field(FLNK, "$(CM,recursive)50:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)50:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)50:RFMODECTRL") field(INPB, "$(CM,recursive)50:PULSE_STATUS") field(FLNK, "$(CM,recursive)50:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)50:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)50:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)50:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)50:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)50:ASETSUB.PROC") } record(bi, "$(CM,recursive)50:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)50:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)50:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)50:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)50:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)50:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)50:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)50:RFMODECTRL") } record(calc, "$(CM,recursive)50:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)50:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)50:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)50:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)50:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)50:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)50:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)50:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)50:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)50:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)50:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)50:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)50:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)50:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)50:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)50:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)50:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)50:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)50:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)50:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)50:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)50:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)50:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SSA:MAXR") info(feed:info:input, "$(CM,recursive)50:SSA:MAXR") info(feed:info:output, "$(CM,recursive)50:SSA:MAXR") } record(ao, "$(CM,recursive)50:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)50:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SINTHETA") info(feed:info:input, "$(CM,recursive)50:SINTHETA") info(feed:info:output, "$(CM,recursive)50:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)50:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)50:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)50:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)50:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)50:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)50:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)50:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)50:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)50:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)50:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)50:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)50:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)50:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)50:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)50:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)50:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)50:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)50:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)50:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)50:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)50:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)50:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)50:ASETSUB.VALR") field(DOL1, "$(CM,recursive)50:ASETSUB.VALE") field(LNK1, "$(CM,recursive)50:REGMAG PP") field(DOL2, "$(CM,recursive)50:ASETSUB.VALL") field(LNK2, "$(CM,recursive)50:REGLIM0 PP") field(DOL3, "$(CM,recursive)50:ASETSUB.VALP") field(LNK3, "$(CM,recursive)50:REGLIM1 PP") field(DOL4, "$(CM,recursive)50:ASETSUB.VALK") field(LNK4, "$(CM,recursive)50:REGLIM2 PP") field(DOL5, "$(CM,recursive)50:ASETSUB.VALO") field(LNK5, "$(CM,recursive)50:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_RFCTRL") info(feed:info:input, "$(CM,recursive)50:RFCTRL") info(feed:info:output, "$(CM,recursive)50:RFCTRL") } record(bo, "$(CM,recursive)50:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)50:RFCTRLCALC") } record(calc, "$(CM,recursive)50:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)50:RFCTRL") field(FLNK, "$(CM,recursive)50:RFCTRLSEQ") } record(seq, "$(CM,recursive)50:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)50:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)50:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)50:RFONSEQ PP") } record(seq, "$(CM,recursive)50:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)50:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)50:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)50:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)50:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)50:REGLIM3 PP") field(FLNK, "$(CM,recursive)50:RFOFFSEQ2") } record(calcout, "$(CM,recursive)50:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)50:RFCTRL") field(INPB, "$(CM,recursive)50:PULSE_STATUS") field(OUT, "$(CM,recursive)50:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)50:ASETSUB") } record(seq, "$(CM,recursive)50:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)50:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)50:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)50:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)50:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)50:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)50:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)50:TGEN_STAT PP") field(FLNK, "$(CM,recursive)50:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)50:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)50:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)50:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)50:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)50:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)50:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)50:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)50:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)50:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_0_PDES") info(feed:info:input, "$(CM,recursive)50:PDES") info(feed:info:output, "$(CM,recursive)50:PDES") } record(ao, "$(CM,recursive)50:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)50:PSETCALC PP") field(OUT, "$(CM,recursive)50:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)50:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)50:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)50:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)50:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)50:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)50:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)50:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)50:PACTACALC") field(LNK1, "$(CM,recursive)50:PACT.HIHI") field(DOL2, "$(CM,recursive)50:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)50:PACT.LOLO") field(DOL3, "$(CM,recursive)50:PACTWCALC") field(LNK3, "$(CM,recursive)50:PACT.HIGH") field(DOL4, "$(CM,recursive)50:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)50:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)50:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)50:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)50:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)50:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)50:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)50:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)50:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:PSETROUND.VALA") field(OUT, "$(CM,recursive)50:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)50:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)50:REGMAG") } record(longin, "$(CM,recursive)50:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGMAG_RBV") } record(longout, "$(CM,recursive)50:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)50:REGPHA") } record(longin, "$(CM,recursive)50:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGPHA_RBV") } record(longout, "$(CM,recursive)50:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)50:REGLIM0") } record(longin, "$(CM,recursive)50:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGLIM0_RBV") } record(longout, "$(CM,recursive)50:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)50:REGLIM1") } record(longin, "$(CM,recursive)50:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGLIM1_RBV") } record(longout, "$(CM,recursive)50:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)50:REGLIM2") } record(longin, "$(CM,recursive)50:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGLIM2_RBV") } record(longout, "$(CM,recursive)50:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)50:REGLIM3") } record(longin, "$(CM,recursive)50:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SEL_ASET") info(feed:info:input, "$(CM,recursive)50:SEL_ASET") info(feed:info:output, "$(CM,recursive)50:SEL_ASET") } record(ao, "$(CM,recursive)50:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)50:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)50:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)50:SEL_ALIMFO") { field(DOL, "$(CM,recursive)50:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)50:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)50:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)50:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)50:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_SEL_POFF") info(feed:info:input, "$(CM,recursive)50:SEL_POFF") info(feed:info:output, "$(CM,recursive)50:SEL_POFF") } record(ao, "$(CM,recursive)50:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)50:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)50:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)50:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)50:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)50:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)50:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)50:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)50:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)50:REGSEL_POFF PP") } record(longout, "$(CM,recursive)50:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)50:REGSEL_POFF") } record(longin, "$(CM,recursive)50:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)50:SEL_POFFCALC") } record(calc, "$(CM,recursive)50:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)50:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)50:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)50:SEL_POFF_RBV") } record(ai, "$(CM,recursive)50:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)50:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)50:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)50:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)50:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)50:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS1B:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)50:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)50:SEL_ENABLE") } record(mbbi, "$(CM,recursive)50:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)50:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)50:SEL_THRESH") } record(longin, "$(CM,recursive)50:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)50:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs1b reg=shell_0_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)50:FB_SOURCE") } record(mbbi, "$(CM,recursive)50:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)50:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs1b reg=tgen_0_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)50:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)50:REGTGEN_STAT") } record(calc, "$(CM,recursive)50:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)50:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)50:TGEN_STAT") } record(bi, "$(CM,recursive)50:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)50:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)50:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)50:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)50:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)50:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)50:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)50:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)50:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)50:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)50:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)50:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)50:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)50:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)50:PHAFB_KP") } record(longin, "$(CM,recursive)50:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)50:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)50:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)50:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)50:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)50:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cav0_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)50:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)50:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cav0_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)50:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)50:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)50:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS1B:CCR1_STAT") field(FLNK, "$(CM,recursive)50:RESLINK") } record(bi, "$(CM,recursive)50:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)50:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)50:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)50:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS1B:CCR1_CAV0_STAT") field(FLNK, "$(CM,recursive)50:INTLKPERMIT") } record(bi, "$(CM,recursive)50:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)50:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)50:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)50:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)50:RESLINK") field(INPB, "$(CM,recursive)50:INTLKPERMIT") field(FLNK, "$(CM,recursive)50:RFPERMIT_CALC") } record(calc, "$(CM,recursive)50:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)50:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)50:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)50:RFPERMIT") } record(bi, "$(CM,recursive)50:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)50:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)50:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)50:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)50:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)50:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)50:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)50:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)50:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)50:AMPFB_HLIM") } record(bi, "$(CM,recursive)50:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)50:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)50:AMPFB_LLIM") } record(bi, "$(CM,recursive)50:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)50:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)50:AMPFB_SUM") } record(calc, "$(CM,recursive)50:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)50:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)50:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)50:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)50:PHAFB_HLIM") } record(bi, "$(CM,recursive)50:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)50:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)50:PHAFB_LLIM") } record(bi, "$(CM,recursive)50:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)50:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)50:PHAFB_SUM") } record(calc, "$(CM,recursive)50:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)50:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)50:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)50:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)50:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)50:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)50:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)50:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)50:L") field(INPC, "$(CM,recursive)50:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)50:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)50:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)50:GCALC2_ PP") field(FLNK, "$(CM,recursive)50:GCALC_") } record(calc, "$(CM,recursive)50:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)50:GCALC1") field(INPB, "$(CM,recursive)50:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)50:GCALC") } record(ai, "$(CM,recursive)50:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)50:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)50:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)50:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)50:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)50:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)50:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)50:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)50:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)50:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)50:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:QPROBE_CALC2") field(OUT, "$(CM,recursive)50:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)50:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)50:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)50:QUENCH_BYP") field(INPB, "$(CM,recursive)50:GCALC1") field(INPC, "$(CM,recursive)50:GACT") field(INPD, "$(CM,recursive)50:RFCTRL") field(INPE, "$(CM,recursive)50:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)50:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)50:QUENCH_FLT PP") } record(bi, "$(CM,recursive)50:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)50:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)50:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)50:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)50:RFCTRL PP") } record(bo, "$(CM,recursive)50:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)50:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)60:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QPROBE_NEW") field(OUT, "$(CM,recursive)60:QPROBE PP") } record(ao, "$(CM,recursive)60:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QLOADED_NEW") field(OUT, "$(CM,recursive)60:QLOADED PP") } record(ao, "$(CM,recursive)60:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)60:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)60:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:LFDCOEF_NEW") field(OUT, "$(CM,recursive)60:LFDCOEF PP") } record(seq, "$(CM,recursive)60:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)60:BCOEFM_NEW") field(LNK1, "$(CM,recursive)60:BCOEFM PP") field(DOL2, "$(CM,recursive)60:BCOEFP_NEW") field(LNK2, "$(CM,recursive)60:BCOEFP PP") } record(ao, "$(CM,recursive)60:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)60:SSA:SLOPE PP") } record(ao, "$(CM,recursive)60:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QPROBE_SAVE") field(OUT, "$(CM,recursive)60:QPROBE PP") } record(ao, "$(CM,recursive)60:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QLOADED_SAVE") field(OUT, "$(CM,recursive)60:QLOADED PP") } record(ao, "$(CM,recursive)60:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)60:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)60:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)60:LFDCOEF PP") } record(seq, "$(CM,recursive)60:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)60:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)60:BCOEFM PP") field(DOL2, "$(CM,recursive)60:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)60:BCOEFP PP") } record(ao, "$(CM,recursive)60:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)60:SSA:SLOPE PP") } record(ao, "$(CM,recursive)60:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QPROBE") field(OUT, "$(CM,recursive)60:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)60:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QLOADED") field(OUT, "$(CM,recursive)60:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)60:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)60:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)60:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:LFDCOEF") field(OUT, "$(CM,recursive)60:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)60:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)60:BCOEFM") field(LNK1, "$(CM,recursive)60:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)60:BCOEFP") field(LNK2, "$(CM,recursive)60:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)60:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:SSA:SLOPE") field(OUT, "$(CM,recursive)60:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)60:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_QPROBE") info(feed:info:input, "$(CM,recursive)60:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)60:QPROBE_NEW") } record(ai, "$(CM,recursive)60:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_QLOADED") info(feed:info:input, "$(CM,recursive)60:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)60:QLOADED_NEW") } record(ai, "$(CM,recursive)60:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_LFDCOEF") info(feed:info:input, "$(CM,recursive)60:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)60:LFDCOEF_NEW") } record(ai, "$(CM,recursive)60:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_BCOEFM") info(feed:info:input, "$(CM,recursive)60:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)60:BCOEFM_NEW") } record(ai, "$(CM,recursive)60:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_BCOEFP") info(feed:info:input, "$(CM,recursive)60:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)60:BCOEFP_NEW") } record(ai, "$(CM,recursive)60:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)60:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)60:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)60:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)60:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)60:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)60:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)60:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)60:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)60:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:PED") info(feed:info:input, "$(CM,recursive)60:SSA:PED") info(feed:info:output, "$(CM,recursive)60:SSA:PED") } record(ao, "$(CM,recursive)60:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:MINX") info(feed:info:input, "$(CM,recursive)60:SSA:MINX") info(feed:info:output, "$(CM,recursive)60:SSA:MINX") } record(ao, "$(CM,recursive)60:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)60:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)60:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)60:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)60:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)60:SSA:CALMSG1") } record(stringin, "$(CM,recursive)60:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)60:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)60:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)60:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)60:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)60:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DFDELTA") info(feed:info:input, "$(CM,recursive)60:DFDELTA") info(feed:info:output, "$(CM,recursive)60:DFDELTA") } record(ai, "$(CM,recursive)60:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DFSCANAMP") info(feed:info:input, "$(CM,recursive)60:DFSCANAMP") info(feed:info:output, "$(CM,recursive)60:DFSCANAMP") } record(ai, "$(CM,recursive)60:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)60:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)60:DFSCANAMP") field(INPB, "$(CM,recursive)60:CAV:SCALE") field(FLNK, "$(CM,recursive)60:DFAMP") } record(ai, "$(CM,recursive)60:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)60:DFAMPCALC") } record(ai, "$(CM,recursive)60:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)60:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)60:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)60:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)60:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)60:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)60:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS1B:") field(PINI, "YES") } record(longin, "$(CM,recursive)60:RFS_ZONE") { field(VAL, "1") field(PINI, "YES") } record(ai, "$(CM,recursive)60:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)60:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_CAV_GOAL") info(feed:info:input, "$(CM,recursive)60:CAV_GOAL") info(feed:info:output, "$(CM,recursive)60:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)60:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)60:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)60:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:ANGFREQCALC") } record(calc, "$(CM,recursive)60:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)60:FREQ") field(FLNK, "$(CM,recursive)60:ANGFREQ") } record(ao, "$(CM,recursive)60:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)60:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cct1_cavity1_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)60:DFVALID_") info(feed:info:setting, "$(CM,recursive)60:DFVALID") } record(bi, "$(CM,recursive)60:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)60:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)60:DF") } record(ai, "$(CM,recursive)60:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity1_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)60:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)60:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_DFSCALE") info(feed:info:input, "$(CM,recursive)60:DF.ASLO") info(feed:info:output, "$(CM,recursive)60:DF.ASLO") } record(mbbi, "$(CM,recursive)60:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity1_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)60:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cfreq_1_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)60:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)60:DF_FCVALID") } record(bi, "$(CM,recursive)60:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)60:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)60:DF_FC") } record(ai, "$(CM,recursive)60:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)60:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)60:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)60:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)60:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)60:DF_FC.ASLO") } record(ai, "$(CM,recursive)60:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)60:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)60:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)60:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)60:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)60:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)60:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)60:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:GTOACALC") } record(calc, "$(CM,recursive)60:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)60:GTOA") field(INPB, "$(CM,recursive)60:L") field(EGU, "MV") } record(ao, "$(CM,recursive)60:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:ATOGCALC") } record(calc, "$(CM,recursive)60:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)60:ATOG") field(INPB, "$(CM,recursive)60:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_ADES") info(feed:info:input, "$(CM,recursive)60:ADES") info(feed:info:output, "$(CM,recursive)60:ADES") } record(ao, "$(CM,recursive)60:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)60:AACTACALC PP") field(FLNK, "$(CM,recursive)60:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)60:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)60:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)60:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)60:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)60:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)60:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)60:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)60:AACTACALC") field(LNK1, "$(CM,recursive)60:AACT.HIHI") field(DOL2, "$(CM,recursive)60:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)60:AACT.LOLO") field(DOL3, "$(CM,recursive)60:AACTWCALC") field(LNK3, "$(CM,recursive)60:AACT.HIGH") field(DOL4, "$(CM,recursive)60:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)60:AACT.LOW PP") field(FLNK, "$(CM,recursive)60:ATOGDESCALC") } record(calc, "$(CM,recursive)60:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)60:ADES MS") field(INPB, "$(CM,recursive)60:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)60:GDES") } record(ai, "$(CM,recursive)60:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)60:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)60:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)60:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)60:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)60:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)60:ATOGACTCALC") } record(calc, "$(CM,recursive)60:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)60:AACT MS") field(INPB, "$(CM,recursive)60:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)60:GACT") } record(ai, "$(CM,recursive)60:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)60:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)60:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)60:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)60:INIT2_") } record(seq, "$(CM,recursive)60:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)60:RFSTATE MS") field(LNK1, "$(CM,recursive)60:RFCTRL PP") field(DOL2, "$(CM,recursive)60:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)60:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)60:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_RFMODECTRL") info(feed:info:input, "$(CM,recursive)60:RFMODECTRL") info(feed:info:output, "$(CM,recursive)60:RFMODECTRL") } record(mbbo, "$(CM,recursive)60:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)60:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)60:RFMODECTRL") field(FLNK, "$(CM,recursive)60:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)60:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)60:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)60:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)60:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)60:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)60:PHAFB PP") field(FLNK, "$(CM,recursive)60:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)60:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)60:RFMODECTRL") field(INPB, "$(CM,recursive)60:PULSE_STATUS") field(FLNK, "$(CM,recursive)60:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)60:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)60:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)60:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)60:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)60:ASETSUB.PROC") } record(bi, "$(CM,recursive)60:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)60:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)60:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)60:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)60:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)60:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)60:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)60:RFMODECTRL") } record(calc, "$(CM,recursive)60:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)60:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)60:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)60:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)60:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)60:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)60:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)60:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)60:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)60:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)60:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)60:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)60:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)60:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)60:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)60:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)60:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)60:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)60:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)60:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)60:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)60:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)60:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SSA:MAXR") info(feed:info:input, "$(CM,recursive)60:SSA:MAXR") info(feed:info:output, "$(CM,recursive)60:SSA:MAXR") } record(ao, "$(CM,recursive)60:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)60:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SINTHETA") info(feed:info:input, "$(CM,recursive)60:SINTHETA") info(feed:info:output, "$(CM,recursive)60:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)60:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)60:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)60:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)60:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)60:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)60:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)60:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)60:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)60:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)60:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)60:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)60:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)60:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)60:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)60:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)60:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)60:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)60:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)60:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)60:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)60:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)60:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)60:ASETSUB.VALR") field(DOL1, "$(CM,recursive)60:ASETSUB.VALE") field(LNK1, "$(CM,recursive)60:REGMAG PP") field(DOL2, "$(CM,recursive)60:ASETSUB.VALL") field(LNK2, "$(CM,recursive)60:REGLIM0 PP") field(DOL3, "$(CM,recursive)60:ASETSUB.VALP") field(LNK3, "$(CM,recursive)60:REGLIM1 PP") field(DOL4, "$(CM,recursive)60:ASETSUB.VALK") field(LNK4, "$(CM,recursive)60:REGLIM2 PP") field(DOL5, "$(CM,recursive)60:ASETSUB.VALO") field(LNK5, "$(CM,recursive)60:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_RFCTRL") info(feed:info:input, "$(CM,recursive)60:RFCTRL") info(feed:info:output, "$(CM,recursive)60:RFCTRL") } record(bo, "$(CM,recursive)60:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)60:RFCTRLCALC") } record(calc, "$(CM,recursive)60:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)60:RFCTRL") field(FLNK, "$(CM,recursive)60:RFCTRLSEQ") } record(seq, "$(CM,recursive)60:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)60:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)60:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)60:RFONSEQ PP") } record(seq, "$(CM,recursive)60:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)60:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)60:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)60:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)60:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)60:REGLIM3 PP") field(FLNK, "$(CM,recursive)60:RFOFFSEQ2") } record(calcout, "$(CM,recursive)60:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)60:RFCTRL") field(INPB, "$(CM,recursive)60:PULSE_STATUS") field(OUT, "$(CM,recursive)60:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)60:ASETSUB") } record(seq, "$(CM,recursive)60:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)60:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)60:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)60:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)60:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)60:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)60:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)60:TGEN_STAT PP") field(FLNK, "$(CM,recursive)60:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)60:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)60:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)60:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)60:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)60:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)60:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)60:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)60:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)60:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dummy_1_PDES") info(feed:info:input, "$(CM,recursive)60:PDES") info(feed:info:output, "$(CM,recursive)60:PDES") } record(ao, "$(CM,recursive)60:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)60:PSETCALC PP") field(OUT, "$(CM,recursive)60:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)60:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)60:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)60:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)60:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)60:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)60:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)60:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)60:PACTACALC") field(LNK1, "$(CM,recursive)60:PACT.HIHI") field(DOL2, "$(CM,recursive)60:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)60:PACT.LOLO") field(DOL3, "$(CM,recursive)60:PACTWCALC") field(LNK3, "$(CM,recursive)60:PACT.HIGH") field(DOL4, "$(CM,recursive)60:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)60:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)60:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)60:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)60:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)60:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)60:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)60:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)60:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:PSETROUND.VALA") field(OUT, "$(CM,recursive)60:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)60:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)60:REGMAG") } record(longin, "$(CM,recursive)60:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGMAG_RBV") } record(longout, "$(CM,recursive)60:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)60:REGPHA") } record(longin, "$(CM,recursive)60:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGPHA_RBV") } record(longout, "$(CM,recursive)60:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)60:REGLIM0") } record(longin, "$(CM,recursive)60:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGLIM0_RBV") } record(longout, "$(CM,recursive)60:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)60:REGLIM1") } record(longin, "$(CM,recursive)60:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGLIM1_RBV") } record(longout, "$(CM,recursive)60:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)60:REGLIM2") } record(longin, "$(CM,recursive)60:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGLIM2_RBV") } record(longout, "$(CM,recursive)60:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)60:REGLIM3") } record(longin, "$(CM,recursive)60:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SEL_ASET") info(feed:info:input, "$(CM,recursive)60:SEL_ASET") info(feed:info:output, "$(CM,recursive)60:SEL_ASET") } record(ao, "$(CM,recursive)60:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)60:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)60:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)60:SEL_ALIMFO") { field(DOL, "$(CM,recursive)60:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)60:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)60:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)60:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)60:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_SEL_POFF") info(feed:info:input, "$(CM,recursive)60:SEL_POFF") info(feed:info:output, "$(CM,recursive)60:SEL_POFF") } record(ao, "$(CM,recursive)60:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)60:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)60:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)60:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)60:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)60:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)60:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)60:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)60:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)60:REGSEL_POFF PP") } record(longout, "$(CM,recursive)60:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)60:REGSEL_POFF") } record(longin, "$(CM,recursive)60:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)60:SEL_POFFCALC") } record(calc, "$(CM,recursive)60:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)60:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)60:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)60:SEL_POFF_RBV") } record(ai, "$(CM,recursive)60:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)60:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)60:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)60:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)60:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)60:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS1B:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)60:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)60:SEL_ENABLE") } record(mbbi, "$(CM,recursive)60:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)60:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)60:SEL_THRESH") } record(longin, "$(CM,recursive)60:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)60:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs1b reg=shell_1_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)60:FB_SOURCE") } record(mbbi, "$(CM,recursive)60:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)60:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs1b reg=tgen_1_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)60:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)60:REGTGEN_STAT") } record(calc, "$(CM,recursive)60:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)60:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)60:TGEN_STAT") } record(bi, "$(CM,recursive)60:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)60:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)60:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)60:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)60:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)60:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)60:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)60:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)60:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)60:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)60:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)60:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)60:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)60:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)60:PHAFB_KP") } record(longin, "$(CM,recursive)60:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)60:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)60:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)60:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)60:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)60:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cav1_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)60:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)60:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cav1_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)60:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)60:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)60:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS1B:CCR1_STAT") field(FLNK, "$(CM,recursive)60:RESLINK") } record(bi, "$(CM,recursive)60:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)60:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)60:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)60:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS1B:CCR1_CAV1_STAT") field(FLNK, "$(CM,recursive)60:INTLKPERMIT") } record(bi, "$(CM,recursive)60:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)60:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)60:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)60:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)60:RESLINK") field(INPB, "$(CM,recursive)60:INTLKPERMIT") field(FLNK, "$(CM,recursive)60:RFPERMIT_CALC") } record(calc, "$(CM,recursive)60:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)60:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)60:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)60:RFPERMIT") } record(bi, "$(CM,recursive)60:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)60:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)60:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)60:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)60:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)60:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)60:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)60:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)60:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)60:AMPFB_HLIM") } record(bi, "$(CM,recursive)60:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)60:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)60:AMPFB_LLIM") } record(bi, "$(CM,recursive)60:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)60:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)60:AMPFB_SUM") } record(calc, "$(CM,recursive)60:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)60:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)60:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)60:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)60:PHAFB_HLIM") } record(bi, "$(CM,recursive)60:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)60:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)60:PHAFB_LLIM") } record(bi, "$(CM,recursive)60:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)60:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)60:PHAFB_SUM") } record(calc, "$(CM,recursive)60:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)60:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)60:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)60:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)60:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)60:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)60:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)60:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)60:L") field(INPC, "$(CM,recursive)60:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)60:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)60:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)60:GCALC2_ PP") field(FLNK, "$(CM,recursive)60:GCALC_") } record(calc, "$(CM,recursive)60:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)60:GCALC1") field(INPB, "$(CM,recursive)60:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)60:GCALC") } record(ai, "$(CM,recursive)60:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)60:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)60:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)60:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)60:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)60:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)60:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)60:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)60:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)60:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)60:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:QPROBE_CALC2") field(OUT, "$(CM,recursive)60:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)60:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)60:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)60:QUENCH_BYP") field(INPB, "$(CM,recursive)60:GCALC1") field(INPC, "$(CM,recursive)60:GACT") field(INPD, "$(CM,recursive)60:RFCTRL") field(INPE, "$(CM,recursive)60:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)60:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)60:QUENCH_FLT PP") } record(bi, "$(CM,recursive)60:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)60:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)60:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)60:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)60:RFCTRL PP") } record(bo, "$(CM,recursive)60:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)60:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)70:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QPROBE_NEW") field(OUT, "$(CM,recursive)70:QPROBE PP") } record(ao, "$(CM,recursive)70:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QLOADED_NEW") field(OUT, "$(CM,recursive)70:QLOADED PP") } record(ao, "$(CM,recursive)70:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)70:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)70:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:LFDCOEF_NEW") field(OUT, "$(CM,recursive)70:LFDCOEF PP") } record(seq, "$(CM,recursive)70:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)70:BCOEFM_NEW") field(LNK1, "$(CM,recursive)70:BCOEFM PP") field(DOL2, "$(CM,recursive)70:BCOEFP_NEW") field(LNK2, "$(CM,recursive)70:BCOEFP PP") } record(ao, "$(CM,recursive)70:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)70:SSA:SLOPE PP") } record(ao, "$(CM,recursive)70:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QPROBE_SAVE") field(OUT, "$(CM,recursive)70:QPROBE PP") } record(ao, "$(CM,recursive)70:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QLOADED_SAVE") field(OUT, "$(CM,recursive)70:QLOADED PP") } record(ao, "$(CM,recursive)70:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)70:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)70:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)70:LFDCOEF PP") } record(seq, "$(CM,recursive)70:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)70:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)70:BCOEFM PP") field(DOL2, "$(CM,recursive)70:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)70:BCOEFP PP") } record(ao, "$(CM,recursive)70:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)70:SSA:SLOPE PP") } record(ao, "$(CM,recursive)70:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QPROBE") field(OUT, "$(CM,recursive)70:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)70:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QLOADED") field(OUT, "$(CM,recursive)70:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)70:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)70:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)70:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:LFDCOEF") field(OUT, "$(CM,recursive)70:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)70:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)70:BCOEFM") field(LNK1, "$(CM,recursive)70:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)70:BCOEFP") field(LNK2, "$(CM,recursive)70:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)70:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:SSA:SLOPE") field(OUT, "$(CM,recursive)70:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)70:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_QPROBE") info(feed:info:input, "$(CM,recursive)70:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)70:QPROBE_NEW") } record(ai, "$(CM,recursive)70:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_QLOADED") info(feed:info:input, "$(CM,recursive)70:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)70:QLOADED_NEW") } record(ai, "$(CM,recursive)70:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_LFDCOEF") info(feed:info:input, "$(CM,recursive)70:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)70:LFDCOEF_NEW") } record(ai, "$(CM,recursive)70:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_BCOEFM") info(feed:info:input, "$(CM,recursive)70:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)70:BCOEFM_NEW") } record(ai, "$(CM,recursive)70:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_BCOEFP") info(feed:info:input, "$(CM,recursive)70:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)70:BCOEFP_NEW") } record(ai, "$(CM,recursive)70:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)70:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)70:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)70:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)70:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)70:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)70:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)70:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)70:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)70:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:PED") info(feed:info:input, "$(CM,recursive)70:SSA:PED") info(feed:info:output, "$(CM,recursive)70:SSA:PED") } record(ao, "$(CM,recursive)70:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:MINX") info(feed:info:input, "$(CM,recursive)70:SSA:MINX") info(feed:info:output, "$(CM,recursive)70:SSA:MINX") } record(ao, "$(CM,recursive)70:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)70:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)70:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)70:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)70:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)70:SSA:CALMSG1") } record(stringin, "$(CM,recursive)70:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)70:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)70:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)70:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)70:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)70:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DFDELTA") info(feed:info:input, "$(CM,recursive)70:DFDELTA") info(feed:info:output, "$(CM,recursive)70:DFDELTA") } record(ai, "$(CM,recursive)70:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DFSCANAMP") info(feed:info:input, "$(CM,recursive)70:DFSCANAMP") info(feed:info:output, "$(CM,recursive)70:DFSCANAMP") } record(ai, "$(CM,recursive)70:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)70:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)70:DFSCANAMP") field(INPB, "$(CM,recursive)70:CAV:SCALE") field(FLNK, "$(CM,recursive)70:DFAMP") } record(ai, "$(CM,recursive)70:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)70:DFAMPCALC") } record(ai, "$(CM,recursive)70:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)70:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)70:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)70:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)70:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)70:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)70:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS2B:") field(PINI, "YES") } record(longin, "$(CM,recursive)70:RFS_ZONE") { field(VAL, "0") field(PINI, "YES") } record(ai, "$(CM,recursive)70:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)70:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_CAV_GOAL") info(feed:info:input, "$(CM,recursive)70:CAV_GOAL") info(feed:info:output, "$(CM,recursive)70:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)70:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)70:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)70:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:ANGFREQCALC") } record(calc, "$(CM,recursive)70:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)70:FREQ") field(FLNK, "$(CM,recursive)70:ANGFREQ") } record(ao, "$(CM,recursive)70:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)70:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cct1_cavity0_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)70:DFVALID_") info(feed:info:setting, "$(CM,recursive)70:DFVALID") } record(bi, "$(CM,recursive)70:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)70:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)70:DF") } record(ai, "$(CM,recursive)70:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity0_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)70:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)70:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_DFSCALE") info(feed:info:input, "$(CM,recursive)70:DF.ASLO") info(feed:info:output, "$(CM,recursive)70:DF.ASLO") } record(mbbi, "$(CM,recursive)70:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity0_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)70:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cfreq_0_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)70:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)70:DF_FCVALID") } record(bi, "$(CM,recursive)70:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)70:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)70:DF_FC") } record(ai, "$(CM,recursive)70:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)70:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)70:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)70:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)70:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)70:DF_FC.ASLO") } record(ai, "$(CM,recursive)70:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)70:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)70:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)70:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)70:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)70:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)70:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)70:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:GTOACALC") } record(calc, "$(CM,recursive)70:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)70:GTOA") field(INPB, "$(CM,recursive)70:L") field(EGU, "MV") } record(ao, "$(CM,recursive)70:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:ATOGCALC") } record(calc, "$(CM,recursive)70:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)70:ATOG") field(INPB, "$(CM,recursive)70:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_ADES") info(feed:info:input, "$(CM,recursive)70:ADES") info(feed:info:output, "$(CM,recursive)70:ADES") } record(ao, "$(CM,recursive)70:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)70:AACTACALC PP") field(FLNK, "$(CM,recursive)70:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)70:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)70:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)70:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)70:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)70:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)70:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)70:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)70:AACTACALC") field(LNK1, "$(CM,recursive)70:AACT.HIHI") field(DOL2, "$(CM,recursive)70:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)70:AACT.LOLO") field(DOL3, "$(CM,recursive)70:AACTWCALC") field(LNK3, "$(CM,recursive)70:AACT.HIGH") field(DOL4, "$(CM,recursive)70:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)70:AACT.LOW PP") field(FLNK, "$(CM,recursive)70:ATOGDESCALC") } record(calc, "$(CM,recursive)70:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)70:ADES MS") field(INPB, "$(CM,recursive)70:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)70:GDES") } record(ai, "$(CM,recursive)70:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)70:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)70:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)70:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)70:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)70:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)70:ATOGACTCALC") } record(calc, "$(CM,recursive)70:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)70:AACT MS") field(INPB, "$(CM,recursive)70:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)70:GACT") } record(ai, "$(CM,recursive)70:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)70:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)70:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)70:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)70:INIT2_") } record(seq, "$(CM,recursive)70:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)70:RFSTATE MS") field(LNK1, "$(CM,recursive)70:RFCTRL PP") field(DOL2, "$(CM,recursive)70:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)70:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)70:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_RFMODECTRL") info(feed:info:input, "$(CM,recursive)70:RFMODECTRL") info(feed:info:output, "$(CM,recursive)70:RFMODECTRL") } record(mbbo, "$(CM,recursive)70:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)70:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)70:RFMODECTRL") field(FLNK, "$(CM,recursive)70:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)70:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)70:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)70:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)70:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)70:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)70:PHAFB PP") field(FLNK, "$(CM,recursive)70:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)70:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)70:RFMODECTRL") field(INPB, "$(CM,recursive)70:PULSE_STATUS") field(FLNK, "$(CM,recursive)70:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)70:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)70:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)70:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)70:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)70:ASETSUB.PROC") } record(bi, "$(CM,recursive)70:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)70:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)70:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)70:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)70:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)70:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)70:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)70:RFMODECTRL") } record(calc, "$(CM,recursive)70:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)70:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)70:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)70:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)70:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)70:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)70:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)70:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)70:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)70:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)70:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)70:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)70:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)70:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)70:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)70:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)70:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)70:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)70:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)70:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)70:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)70:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)70:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SSA:MAXR") info(feed:info:input, "$(CM,recursive)70:SSA:MAXR") info(feed:info:output, "$(CM,recursive)70:SSA:MAXR") } record(ao, "$(CM,recursive)70:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)70:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SINTHETA") info(feed:info:input, "$(CM,recursive)70:SINTHETA") info(feed:info:output, "$(CM,recursive)70:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)70:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)70:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)70:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)70:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)70:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)70:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)70:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)70:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)70:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)70:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)70:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)70:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)70:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)70:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)70:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)70:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)70:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)70:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)70:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)70:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)70:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)70:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)70:ASETSUB.VALR") field(DOL1, "$(CM,recursive)70:ASETSUB.VALE") field(LNK1, "$(CM,recursive)70:REGMAG PP") field(DOL2, "$(CM,recursive)70:ASETSUB.VALL") field(LNK2, "$(CM,recursive)70:REGLIM0 PP") field(DOL3, "$(CM,recursive)70:ASETSUB.VALP") field(LNK3, "$(CM,recursive)70:REGLIM1 PP") field(DOL4, "$(CM,recursive)70:ASETSUB.VALK") field(LNK4, "$(CM,recursive)70:REGLIM2 PP") field(DOL5, "$(CM,recursive)70:ASETSUB.VALO") field(LNK5, "$(CM,recursive)70:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_RFCTRL") info(feed:info:input, "$(CM,recursive)70:RFCTRL") info(feed:info:output, "$(CM,recursive)70:RFCTRL") } record(bo, "$(CM,recursive)70:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)70:RFCTRLCALC") } record(calc, "$(CM,recursive)70:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)70:RFCTRL") field(FLNK, "$(CM,recursive)70:RFCTRLSEQ") } record(seq, "$(CM,recursive)70:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)70:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)70:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)70:RFONSEQ PP") } record(seq, "$(CM,recursive)70:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)70:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)70:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)70:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)70:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)70:REGLIM3 PP") field(FLNK, "$(CM,recursive)70:RFOFFSEQ2") } record(calcout, "$(CM,recursive)70:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)70:RFCTRL") field(INPB, "$(CM,recursive)70:PULSE_STATUS") field(OUT, "$(CM,recursive)70:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)70:ASETSUB") } record(seq, "$(CM,recursive)70:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)70:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)70:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)70:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)70:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)70:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)70:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)70:TGEN_STAT PP") field(FLNK, "$(CM,recursive)70:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)70:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)70:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)70:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)70:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)70:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)70:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)70:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)70:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)70:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_0_PDES") info(feed:info:input, "$(CM,recursive)70:PDES") info(feed:info:output, "$(CM,recursive)70:PDES") } record(ao, "$(CM,recursive)70:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)70:PSETCALC PP") field(OUT, "$(CM,recursive)70:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)70:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)70:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)70:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)70:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)70:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)70:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)70:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)70:PACTACALC") field(LNK1, "$(CM,recursive)70:PACT.HIHI") field(DOL2, "$(CM,recursive)70:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)70:PACT.LOLO") field(DOL3, "$(CM,recursive)70:PACTWCALC") field(LNK3, "$(CM,recursive)70:PACT.HIGH") field(DOL4, "$(CM,recursive)70:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)70:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)70:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)70:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)70:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)70:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)70:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)70:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)70:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:PSETROUND.VALA") field(OUT, "$(CM,recursive)70:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)70:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)70:REGMAG") } record(longin, "$(CM,recursive)70:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGMAG_RBV") } record(longout, "$(CM,recursive)70:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)70:REGPHA") } record(longin, "$(CM,recursive)70:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGPHA_RBV") } record(longout, "$(CM,recursive)70:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)70:REGLIM0") } record(longin, "$(CM,recursive)70:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGLIM0_RBV") } record(longout, "$(CM,recursive)70:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)70:REGLIM1") } record(longin, "$(CM,recursive)70:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGLIM1_RBV") } record(longout, "$(CM,recursive)70:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)70:REGLIM2") } record(longin, "$(CM,recursive)70:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGLIM2_RBV") } record(longout, "$(CM,recursive)70:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)70:REGLIM3") } record(longin, "$(CM,recursive)70:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SEL_ASET") info(feed:info:input, "$(CM,recursive)70:SEL_ASET") info(feed:info:output, "$(CM,recursive)70:SEL_ASET") } record(ao, "$(CM,recursive)70:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)70:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)70:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)70:SEL_ALIMFO") { field(DOL, "$(CM,recursive)70:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)70:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)70:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)70:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)70:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_SEL_POFF") info(feed:info:input, "$(CM,recursive)70:SEL_POFF") info(feed:info:output, "$(CM,recursive)70:SEL_POFF") } record(ao, "$(CM,recursive)70:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)70:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)70:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)70:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)70:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)70:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)70:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)70:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)70:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)70:REGSEL_POFF PP") } record(longout, "$(CM,recursive)70:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)70:REGSEL_POFF") } record(longin, "$(CM,recursive)70:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)70:SEL_POFFCALC") } record(calc, "$(CM,recursive)70:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)70:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)70:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)70:SEL_POFF_RBV") } record(ai, "$(CM,recursive)70:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)70:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)70:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)70:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)70:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)70:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS2B:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)70:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)70:SEL_ENABLE") } record(mbbi, "$(CM,recursive)70:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)70:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)70:SEL_THRESH") } record(longin, "$(CM,recursive)70:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)70:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs2b reg=shell_0_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)70:FB_SOURCE") } record(mbbi, "$(CM,recursive)70:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)70:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs2b reg=tgen_0_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)70:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)70:REGTGEN_STAT") } record(calc, "$(CM,recursive)70:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)70:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)70:TGEN_STAT") } record(bi, "$(CM,recursive)70:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)70:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)70:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)70:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)70:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)70:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)70:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)70:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)70:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)70:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)70:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)70:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)70:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)70:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)70:PHAFB_KP") } record(longin, "$(CM,recursive)70:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)70:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)70:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)70:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)70:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)70:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cav0_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)70:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)70:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cav0_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)70:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)70:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)70:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS2B:CCR1_STAT") field(FLNK, "$(CM,recursive)70:RESLINK") } record(bi, "$(CM,recursive)70:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)70:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)70:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)70:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS2B:CCR1_CAV0_STAT") field(FLNK, "$(CM,recursive)70:INTLKPERMIT") } record(bi, "$(CM,recursive)70:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)70:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)70:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)70:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)70:RESLINK") field(INPB, "$(CM,recursive)70:INTLKPERMIT") field(FLNK, "$(CM,recursive)70:RFPERMIT_CALC") } record(calc, "$(CM,recursive)70:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)70:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)70:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)70:RFPERMIT") } record(bi, "$(CM,recursive)70:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)70:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)70:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)70:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)70:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)70:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)70:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)70:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)70:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)70:AMPFB_HLIM") } record(bi, "$(CM,recursive)70:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)70:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)70:AMPFB_LLIM") } record(bi, "$(CM,recursive)70:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)70:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)70:AMPFB_SUM") } record(calc, "$(CM,recursive)70:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)70:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)70:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)70:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)70:PHAFB_HLIM") } record(bi, "$(CM,recursive)70:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)70:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)70:PHAFB_LLIM") } record(bi, "$(CM,recursive)70:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)70:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)70:PHAFB_SUM") } record(calc, "$(CM,recursive)70:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)70:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)70:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)70:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)70:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)70:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)70:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)70:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)70:L") field(INPC, "$(CM,recursive)70:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)70:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)70:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)70:GCALC2_ PP") field(FLNK, "$(CM,recursive)70:GCALC_") } record(calc, "$(CM,recursive)70:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)70:GCALC1") field(INPB, "$(CM,recursive)70:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)70:GCALC") } record(ai, "$(CM,recursive)70:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)70:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)70:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)70:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)70:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)70:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)70:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)70:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)70:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)70:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)70:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:QPROBE_CALC2") field(OUT, "$(CM,recursive)70:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)70:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)70:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)70:QUENCH_BYP") field(INPB, "$(CM,recursive)70:GCALC1") field(INPC, "$(CM,recursive)70:GACT") field(INPD, "$(CM,recursive)70:RFCTRL") field(INPE, "$(CM,recursive)70:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)70:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)70:QUENCH_FLT PP") } record(bi, "$(CM,recursive)70:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)70:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)70:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)70:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)70:RFCTRL PP") } record(bo, "$(CM,recursive)70:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)70:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # cav.template: # # Support for a single cavity # # PREF - cavity name # BIT - RFS zone, 0 or 1 #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts. # Initial implementation: scripts write # to '_NEW' PVs which are not used by other # software. User must push _NEW values # to real PVs before these values will be # used by other software. # # Cavity loaded Q (Q_L, unitless) # Derived cavity calibration constant (MV) # (currently independent of actual applied # scale factor) # Lorentz detuning coefficient Hz/(MV/m)^2 # State space B comples coefficient # (in SI units of 1/s) # SSA parameters # Rack/cavity station self-test status # PVs in chas.template #================================== record(ao, "$(CM,recursive)80:PUSH_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QPROBE_NEW") field(OUT, "$(CM,recursive)80:QPROBE PP") } record(ao, "$(CM,recursive)80:PUSH_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QLOADED_NEW") field(OUT, "$(CM,recursive)80:QLOADED PP") } record(ao, "$(CM,recursive)80:PUSH_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:CAV:CAL_SCALEB_NEW") field(OUT, "$(CM,recursive)80:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)80:PUSH_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:LFDCOEF_NEW") field(OUT, "$(CM,recursive)80:LFDCOEF PP") } record(seq, "$(CM,recursive)80:PUSH_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)80:BCOEFM_NEW") field(LNK1, "$(CM,recursive)80:BCOEFM PP") field(DOL2, "$(CM,recursive)80:BCOEFP_NEW") field(LNK2, "$(CM,recursive)80:BCOEFP PP") } record(ao, "$(CM,recursive)80:PUSH_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:SSA:SLOPE_NEW") field(OUT, "$(CM,recursive)80:SSA:SLOPE PP") } record(ao, "$(CM,recursive)80:RESTORE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QPROBE_SAVE") field(OUT, "$(CM,recursive)80:QPROBE PP") } record(ao, "$(CM,recursive)80:RESTORE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QLOADED_SAVE") field(OUT, "$(CM,recursive)80:QLOADED PP") } record(ao, "$(CM,recursive)80:RESTORE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:CAV:CAL_SCALEB_SAVE") field(OUT, "$(CM,recursive)80:CAV:SCALER_SEL.B PP") } record(ao, "$(CM,recursive)80:RESTORE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:LFDCOEF_SAVE") field(OUT, "$(CM,recursive)80:LFDCOEF PP") } record(seq, "$(CM,recursive)80:RESTORE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)80:BCOEFM_SAVE") field(LNK1, "$(CM,recursive)80:BCOEFM PP") field(DOL2, "$(CM,recursive)80:BCOEFP_SAVE") field(LNK2, "$(CM,recursive)80:BCOEFP PP") } record(ao, "$(CM,recursive)80:RESTORE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:SSA:SLOPE_SAVE") field(OUT, "$(CM,recursive)80:SSA:SLOPE PP") } record(ao, "$(CM,recursive)80:SAVE_QPROBE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QPROBE") field(OUT, "$(CM,recursive)80:QPROBE_SAVE PP") } record(ao, "$(CM,recursive)80:SAVE_QLOADED") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QLOADED") field(OUT, "$(CM,recursive)80:QLOADED_SAVE PP") } record(ao, "$(CM,recursive)80:SAVE_CAV_SCALE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:CAV:SCALER_SEL.B") field(OUT, "$(CM,recursive)80:CAV:CAL_SCALEB_SAVE PP") } record(ao, "$(CM,recursive)80:SAVE_LFDCOEF") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:LFDCOEF") field(OUT, "$(CM,recursive)80:LFDCOEF_SAVE PP") } record(seq, "$(CM,recursive)80:SAVE_BCOEFVALS") { field(DESC, "Set char vals to saved") field(SELM, "All") field(DOL1, "$(CM,recursive)80:BCOEFM") field(LNK1, "$(CM,recursive)80:BCOEFM_SAVE PP") field(DOL2, "$(CM,recursive)80:BCOEFP") field(LNK2, "$(CM,recursive)80:BCOEFP_SAVE PP") } record(ao, "$(CM,recursive)80:SAVE_SSASLOPE") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:SSA:SLOPE") field(OUT, "$(CM,recursive)80:SSA:SLOPE_SAVE PP") } record(ai, "$(CM,recursive)80:QPROBE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:QPROBE_SAVE") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:QPROBE_NEW") { field(DESC, "Cavity probe Q") field(SCAN, "Passive") field(VAL, "1E12") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:QPROBEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_QPROBE") info(feed:info:input, "$(CM,recursive)80:QPROBE_NEW") info(feed:info:output, "$(CM,recursive)80:QPROBE_NEW") } record(ai, "$(CM,recursive)80:QLOADED") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:QLOADED_SAVE") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:QLOADED_NEW") { field(DESC, "Loaded Q") field(SCAN, "Passive") field(VAL, "40000000") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:QLOADEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_QLOADED") info(feed:info:input, "$(CM,recursive)80:QLOADED_NEW") info(feed:info:output, "$(CM,recursive)80:QLOADED_NEW") } record(ai, "$(CM,recursive)80:LFDCOEF") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:LFDCOEF_SAVE") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:LFDCOEF_NEW") { field(DESC, "Lorentz detuning coeff") field(SCAN, "Passive") field(VAL, "0") field(EGU, "Hz/(MV/m)^2") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:LFDCOEFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_LFDCOEF") info(feed:info:input, "$(CM,recursive)80:LFDCOEF_NEW") info(feed:info:output, "$(CM,recursive)80:LFDCOEF_NEW") } record(ai, "$(CM,recursive)80:BCOEFM") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:BCOEFM_SAVE") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:BCOEFM_NEW") { field(DESC, "State space B coeff magn") field(SCAN, "Passive") field(VAL, "0") field(EGU, "1/s") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:BCOEFMDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_BCOEFM") info(feed:info:input, "$(CM,recursive)80:BCOEFM_NEW") info(feed:info:output, "$(CM,recursive)80:BCOEFM_NEW") } record(ai, "$(CM,recursive)80:BCOEFP") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:BCOEFP_NEW") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:BCOEFP_SAVE") { field(DESC, "State space B coeff phas") field(SCAN, "Passive") field(VAL, "0") field(EGU, "degrees") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:BCOEFPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_BCOEFP") info(feed:info:input, "$(CM,recursive)80:BCOEFP_NEW") info(feed:info:output, "$(CM,recursive)80:BCOEFP_NEW") } record(ai, "$(CM,recursive)80:CAV:CAL_SCALEB_SAVE") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "$(CM,recursive)80:CAV:CAL_SCALEB_NEW") { field(DESC, "Derived cavity cal const") field(SCAN, "Passive") field(VAL, "1") field(EGU, "MV") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:CAV:CAL_SCALEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_CAV:CAL_SCALE_NEW") info(feed:info:input, "$(CM,recursive)80:CAV:CAL_SCALEB_NEW") info(feed:info:output, "$(CM,recursive)80:CAV:CAL_SCALEB_NEW") } #================================== # SSA characterization parameters # Unitless # Used by ASETSUB #================================== record(ao, "$(CM,recursive)80:SSA:SLOPE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)80:SSA:SLOPE_NEW") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)80:SSA:SLOPE_SAVE") { field(DESC, "SSA slope") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "1.5") field(DRVL, "0") field(DRVH, "10") field(LOW, "0.4") field(LSV, "MINOR") field(HIGH, "4.0") field(HSV, "MINOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:SLOPEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:SLOPE") info(feed:info:input, "$(CM,recursive)80:SSA:SLOPE_NEW") info(feed:info:output, "$(CM,recursive)80:SSA:SLOPE_NEW") } record(ao, "$(CM,recursive)80:SSA:PED") { field(DESC, "SSA pedestal") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".04") field(DRVL, "0") field(DRVH, ".99999") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, ".99999") field(HHSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:PEDDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:PED") info(feed:info:input, "$(CM,recursive)80:SSA:PED") info(feed:info:output, "$(CM,recursive)80:SSA:PED") } record(ao, "$(CM,recursive)80:SSA:MINX") { field(DESC, "SSA minx") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, ".05") field(DRVL, "0") field(LOLO, "0") field(LLSV, "MAJOR") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:MINXDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:MINX") info(feed:info:input, "$(CM,recursive)80:SSA:MINX") info(feed:info:output, "$(CM,recursive)80:SSA:MINX") } record(ao, "$(CM,recursive)80:SSA:STIM_MAXAMP") { field(DESC, "SSA stimulus signal max") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(LOLO, "-.01") field(LLSV, "MAJOR") field(DRVH, "1") field(HIHI, "1.01") field(LLSV, "MAJOR") field(LOPR, "0") field(HOPR, "1") field(PREC, "2") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:STIM_MAXAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:STIM_MAXAMP") info(feed:info:input, "$(CM,recursive)80:SSA:STIM_MAXAMP") info(feed:info:output, "$(CM,recursive)80:SSA:STIM_MAXAMP") } record(stringin, "$(CM,recursive)80:SSA:CALMSG1") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:CALMSG1DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:CALMSG1") info(feed:info:input, "$(CM,recursive)80:SSA:CALMSG1") info(feed:info:output, "$(CM,recursive)80:SSA:CALMSG1") } record(stringin, "$(CM,recursive)80:SSA:CALMSG2") { field(DESC, "SSA cal summary message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:CALMSG2DMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:CALMSG2") info(feed:info:input, "$(CM,recursive)80:SSA:CALMSG2") info(feed:info:output, "$(CM,recursive)80:SSA:CALMSG2") } record(mbbi, "$(CM,recursive)80:SSA:CALSTAT") { field(VAL, "0") field(ZRVL, "0") field(ZRST, "Good") field(ONVL, "1") field(ONST, "Warning") field(ONSV, "MINOR") field(TWVL, "2") field(TWST, "Error") field(TWSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SSA:CALSTATDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:CALSTAT") info(feed:info:input, "$(CM,recursive)80:SSA:CALSTAT") info(feed:info:output, "$(CM,recursive)80:SSA:CALSTAT") } #================================== # For scanning detune frequency #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DFDELTADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DFDELTA") info(feed:info:input, "$(CM,recursive)80:DFDELTA") info(feed:info:output, "$(CM,recursive)80:DFDELTA") } record(ai, "$(CM,recursive)80:DFDELTA") { field(DESC, "Measured detune delta") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DFSCANAMPDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DFSCANAMP") info(feed:info:input, "$(CM,recursive)80:DFSCANAMP") info(feed:info:output, "$(CM,recursive)80:DFSCANAMP") } record(ai, "$(CM,recursive)80:DFSCANAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(VAL, "0") field(EGU, "% full scale") field(PREC, "4") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:DFAMPCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)80:DFAMPCALC") { field(DESC, "Detune freq") field(CALC, "A*B") field(INPA, "$(CM,recursive)80:DFSCANAMP") field(INPB, "$(CM,recursive)80:CAV:SCALE") field(FLNK, "$(CM,recursive)80:DFAMP") } record(ai, "$(CM,recursive)80:DFAMP") { field(DESC, "Max amplitude in DF scan") field(SCAN, "Passive") field(EGU, "MV") field(PREC, "2") field(INP, "$(CM,recursive)80:DFAMPCALC") } record(ai, "$(CM,recursive)80:DFSCANOFFSET") { field(DESC, "Requested scan offset") field(SCAN, "Passive") field(VAL, "0") field(EGU, "kHz") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:DFSCANOFFSETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_DFSCANOFFSET") info(feed:info:input, "$(CM,recursive)80:DFSCANOFFSET") info(feed:info:output, "$(CM,recursive)80:DFSCANOFFSET") } # Value of 1 to prompt rf_controls.py to # stop looping through repeat scans. # Different from DFSCANSTOP # in launcher system, which kills script record(longout, "$(CM,recursive)80:DFLOOPSTOP") { field(DESC, "Stop detune scanning loop") field(SCAN, "Passive") field(VAL, "0") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:DFLOOPSTOPDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_DFLOOPSTOP") info(feed:info:input, "$(CM,recursive)80:DFLOOPSTOP") info(feed:info:output, "$(CM,recursive)80:DFLOOPSTOP") } #================================== # Records used by rf_controls.py #================================== record(stringin, "$(CM,recursive)80:RFS_URL") { field(VAL, "ca://$(CM,recursive)00:RFS2B:") field(PINI, "YES") } record(longin, "$(CM,recursive)80:RFS_ZONE") { field(VAL, "1") field(PINI, "YES") } record(ai, "$(CM,recursive)80:CAV_GOAL") { field(VAL, "5.0") field(EGU, "MV") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)80:CAV_GOALDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_CAV_GOAL") info(feed:info:input, "$(CM,recursive)80:CAV_GOAL") info(feed:info:output, "$(CM,recursive)80:CAV_GOAL") } #================================== # Cavity constants # Used by ASETSUB # # TODO - to support 3.9 GHz system # make constants macros + add # DRVH/L and alarms #================================== record(ao, "$(CM,recursive)80:L") { field(DESC, "Cavity length") field(OMSL, "closed_loop") field(DOL, "1.038") field(EGU, "m") field(PINI, "YES") } record(ao, "$(CM,recursive)80:IMPED") { field(DESC, "Cavity shunt imped") field(OMSL, "closed_loop") field(DOL, "1012") field(EGU, "ohms") field(PINI, "YES") } record(ao, "$(CM,recursive)80:FREQ") { field(DESC, "Cavity freq") field(OMSL, "closed_loop") field(DOL, "1300") field(EGU, "MHz") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:ANGFREQCALC") } record(calc, "$(CM,recursive)80:ANGFREQCALC") { field(DESC, "Calc cavity ang freq") field(CALC, "2*PI*A") field(INPA, "$(CM,recursive)80:FREQ") field(FLNK, "$(CM,recursive)80:ANGFREQ") } record(ao, "$(CM,recursive)80:ANGFREQ") { field(DESC, "Cavity ang freq") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:ANGFREQCALC PP") field(EGU, "rad*MHz") } #================================== # Detune frequency scalar # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)80:DFVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cct1_cavity1_detune_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)80:DFVALID_") info(feed:info:setting, "$(CM,recursive)80:DFVALID") } record(bi, "$(CM,recursive)80:DFVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)80:DFVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)80:DF") } record(ai, "$(CM,recursive)80:DF") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity1_detune") field(TSE , "-2") field(ASLO, ".002") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)80:DFVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)80:DF") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:DFSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_DFSCALE") info(feed:info:input, "$(CM,recursive)80:DF.ASLO") info(feed:info:output, "$(CM,recursive)80:DF.ASLO") } record(mbbi, "$(CM,recursive)80:DF_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity1_detune_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:DF_ENABLE_RBV") } #================================== # Detune frequency scalar as # measured by SEL frequency counter # Only valid in SEL # Not associated with waveform data #================================== record(mbbi, "$(CM,recursive)80:DF_FCVALID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cfreq_1_frequency_valid") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Not valid") field(ZRSV, "MAJOR") field(ONVL, "1") field(ONST, "Valid") field(FLNK, "$(CM,recursive)80:DF_FCVALID_") info(feed:info:setting, "$(CM,recursive)80:DF_FCVALID") } record(bi, "$(CM,recursive)80:DF_FCVALID_") { field(DESC, "Internal PV to set alarm state") field(INP, "$(CM,recursive)80:DF_FCVALID") field(ZSV, "INVALID") field(FLNK, "$(CM,recursive)80:DF_FC") } record(ai, "$(CM,recursive)80:DF_FC") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_frequency") field(TSE , "-2") # Temporary sign flip. Needs to be fixed in FW field(ASLO, "-1.36239") field(EGU, "Hz") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)80:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)80:DF_FC_AMPMAX") info(feed:info:setting, "$(CM,recursive)80:DF_FC") } # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:DF_FCSCALEDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_DF_FCSCALE") info(feed:info:input, "$(CM,recursive)80:DF_FC.ASLO") info(feed:info:output, "$(CM,recursive)80:DF_FC.ASLO") } record(ai, "$(CM,recursive)80:DF_FC_AMPMAX") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_amp_max") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)80:DF_FCVALID_ MS") field(DISV, "100") field(FLNK, "$(CM,recursive)80:DF_FC_AMPMIN") info(feed:info:setting, "$(CM,recursive)80:DF_FC_AMPMAX") } record(ai, "$(CM,recursive)80:DF_FC_AMPMIN") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_amp_min") field(TSE , "-2") # TODO: add scaling # field(ASLO, "1") # field(EGU, "MV") # SDIS set to inherit severity only field(SDIS, "$(CM,recursive)80:DF_FCVALID_ MS") field(DISV, "100") info(feed:info:setting, "$(CM,recursive)80:DF_FC_AMPMIN") } #================================== # Convenience G->A and A->G calculators # Maybe change this to be built into # displays instead #================================== record(ao, "$(CM,recursive)80:GTOA") { field(DESC, "Calculator gradient input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV/m") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:GTOACALC") } record(calc, "$(CM,recursive)80:GTOACALC") { field(DESC, "Convert G to A units") field(CALC, "A*B") field(INPA, "$(CM,recursive)80:GTOA") field(INPB, "$(CM,recursive)80:L") field(EGU, "MV") } record(ao, "$(CM,recursive)80:ATOG") { field(DESC, "Calculator amplitude input") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") field(EGU, "MV") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:ATOGCALC") } record(calc, "$(CM,recursive)80:ATOGCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)80:ATOG") field(INPB, "$(CM,recursive)80:L") field(EGU, "MV/m") } #================================== # Set cavity amplitude # Based on new amplitude setting, # calculate new limits for AACT and push # TODO: Alarm limits should be +/- .01% # based on SSA/LLRF PRD, but using looser # tolerances for now. # # Convenience conversion to gradient # for readback only #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:ADESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_ADES") info(feed:info:input, "$(CM,recursive)80:ADES") info(feed:info:output, "$(CM,recursive)80:ADES") } record(ao, "$(CM,recursive)80:ADES") { field(DESC, "Amplitude setpoint") field(OMSL, "supervisory") field(VAL, "0") field(DRVL, "0") # initial upper limit of 21 MV/m # for LERF testing field(DRVH, "21.798") field(HIHI, "21.798") field(HHSV, "MAJOR") field(EGU, "MV") field(PINI, "YES") field(OUT, "$(CM,recursive)80:AACTACALC PP") field(FLNK, "$(CM,recursive)80:ASETSUB") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)80:AACTACALC") { field(DESC, "Calc AACT alarm values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)80:ADES") field(INPB, ".1") # field(INPB, ".0001") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)80:AACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)80:AACTWCALC") { field(DESC, "Calc AACT warning values") field(CALC, "A+(A*B)") field(OCAL, "A-(A*B)") field(INPA, "$(CM,recursive)80:ADES") field(INPB, ".05") # field(INPB, ".00005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)80:AACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)80:AACTASEQ") { field(DESC, "Push new lims to AACT") field(SELM, "All") field(DOL1, "$(CM,recursive)80:AACTACALC") field(LNK1, "$(CM,recursive)80:AACT.HIHI") field(DOL2, "$(CM,recursive)80:AACTACALC.OVAL") field(LNK2, "$(CM,recursive)80:AACT.LOLO") field(DOL3, "$(CM,recursive)80:AACTWCALC") field(LNK3, "$(CM,recursive)80:AACT.HIGH") field(DOL4, "$(CM,recursive)80:AACTWCALC.OVAL") field(LNK4, "$(CM,recursive)80:AACT.LOW PP") field(FLNK, "$(CM,recursive)80:ATOGDESCALC") } record(calc, "$(CM,recursive)80:ATOGDESCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)80:ADES MS") field(INPB, "$(CM,recursive)80:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)80:GDES") } record(ai, "$(CM,recursive)80:GDES") { field(DESC, "Readback amp setpoint in MV/m") field(INP, "$(CM,recursive)80:ATOGDESCALC MS") field(EGU, "MV/m") } #================================== # Read key waveform statistics # into 'common' names. # Calculate gradient #================================== record(ai, "$(CM,recursive)80:PACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)80:CAV:PMEAN MS CP") field(EGU, "degrees") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") } record(ai, "$(CM,recursive)80:AACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)80:CAV:AMEAN MS CP") field(EGU, "MV") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)80:ATOGACTCALC") } record(calc, "$(CM,recursive)80:ATOGACTCALC") { field(DESC, "Convert A to G units") field(CALC, "A/B") field(INPA, "$(CM,recursive)80:AACT MS") field(INPB, "$(CM,recursive)80:L") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)80:GACT") } record(ai, "$(CM,recursive)80:GACT") { field(DESC, "Cavity gradient readback") field(INP, "$(CM,recursive)80:ATOGACTCALC MS") field(EGU, "MV/m") field(FLNK, "$(CM,recursive)80:QUENCH_CALC") } #================================== # On reconnect, set cavity on/off/mode # control to match current # register values. Plus push interlock # active register. #================================== record(longin, "$(CM,recursive)80:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)80:INIT2_") } record(seq, "$(CM,recursive)80:INIT2_") { field(PINI, "YES") field(SELM, "All") # Wait for input records to process field(DLY1, "2") field(DOL1, "$(CM,recursive)80:RFSTATE MS") field(LNK1, "$(CM,recursive)80:RFCTRL PP") field(DOL2, "$(CM,recursive)80:RFMODEINIT PP MS") field(LNK2, "$(CM,recursive)80:RFMODECTRL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)80:INTLKPERMIT_CHK.PROC") } #================================== # Set cavity mode: SELAP, SELA, SEL # (Currently sets informational # AMPFB/PHAFB PVs but these could # potentially be removed and change # ASETSUB to use RFMODECTRL directly.) # Causes ASETSUB to process, which # will recalculate and set cavity # control registers based on current # version of ADES. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:RFMODECTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_RFMODECTRL") info(feed:info:input, "$(CM,recursive)80:RFMODECTRL") info(feed:info:output, "$(CM,recursive)80:RFMODECTRL") } record(mbbo, "$(CM,recursive)80:RFMODECTRL") { field(DESC, "Set cavity mode") field(OMSL, "supervisory") field(VAL, "0") field(ZRST, "SELAP") field(ONST, "SELA") field(TWST, "SEL") field(THST, "SEL Raw") field(FRST, "Pulse") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:RFMODECTRLCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)80:RFMODECTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?12:A=1?6:3") field(INPA, "$(CM,recursive)80:RFMODECTRL") field(FLNK, "$(CM,recursive)80:RFMODECTRLSEQ") } # SELAP: set A/P to close # SELA: set A to close, P to open # SEL: set A/P to open record(seq, "$(CM,recursive)80:RFMODECTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)80:RFMODECTRLCALC") field(DOL1, "0") field(LNK1, "$(CM,recursive)80:AMPFB PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)80:PHAFB PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)80:AMPFB PP") field(DOL4, "1") field(LNK4, "$(CM,recursive)80:PHAFB PP") field(FLNK, "$(CM,recursive)80:RFMODECTRLCALC2") } record(calc, "$(CM,recursive)80:RFMODECTRLCALC2") { field(DESC, "Calc seq mask") field(CALC, "(A#4)&&(B=2)?3:4") field(INPA, "$(CM,recursive)80:RFMODECTRL") field(INPB, "$(CM,recursive)80:PULSE_STATUS") field(FLNK, "$(CM,recursive)80:RFMODECTRLSEQ2") } record(seq, "$(CM,recursive)80:RFMODECTRLSEQ2") { field(SELM, "Mask") field(SELL, "$(CM,recursive)80:RFMODECTRLCALC2") field(DOL1, "1") field(LNK1, "$(CM,recursive)80:TGENOFFSTRT.PROC") field(DLY2, "1") field(DOL2, "1") field(LNK2, "$(CM,recursive)80:ASETSUB.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)80:ASETSUB.PROC") } record(bi, "$(CM,recursive)80:AMPFB") { field(DESC, "Cavity amplitude feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } record(bi, "$(CM,recursive)80:PHAFB") { field(DESC, "Cavity phase feedback") field(ZNAM, "Open") field(ONAM, "Close") field(ZSV, "MINOR") field(OSV, "NO_ALARM") } #================================== # Determine current cavity mode from # limit registers # Amp feedback closed if X hi != X lo # Pha feedback closed if Y hi != Y lo # When RF is off, all 4 are set to 0. # In that case, to avoid interpreting # that as SEL when RFMODECTRL is not SEL # (and confusing people), set readback # to value of RFMODECTRL # # RFMODEINIT used to set RFMODECTRL # to appropriate value on boot/reconnect. #================================== record(calc, "$(CM,recursive)80:RFMODEINIT") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(A+B+C+D)=0?E:(A=C)&&(B=D)?2:0") field(INPA, "$(CM,recursive)80:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)80:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)80:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)80:REGLIM3_RBV") # Y lo field(INPE, "$(CM,recursive)80:RFMODECTRL") } record(calc, "$(CM,recursive)80:RFMODECALC_") { field(DESC, "Calc seq mask") field(CALC, "A+B+C+D") field(INPA, "$(CM,recursive)80:REGLIM0_RBV") # X hi field(INPB, "$(CM,recursive)80:REGLIM1_RBV") # Y hi field(INPC, "$(CM,recursive)80:REGLIM2_RBV") # X lo field(INPD, "$(CM,recursive)80:REGLIM3_RBV") # Y lo } record(calc, "$(CM,recursive)80:RFMODECALC") { field(DESC, "Calc seq mask") field(CALC, "(A#C)&&(B#D)?0:(A#C)?1:(F=0)&&(E=3)?2:(F=0)&&(E=4)?2:(F=0)?E:(A=C)&&(B=D)?2:3") field(INPA, "$(CM,recursive)80:REGLIM0_RBV CPP MSI") # X hi field(INPB, "$(CM,recursive)80:REGLIM1_RBV CPP MSI") # Y hi field(INPC, "$(CM,recursive)80:REGLIM2_RBV CPP MSI") # X lo field(INPD, "$(CM,recursive)80:REGLIM3_RBV CPP MSI") # Y lo field(INPE, "$(CM,recursive)80:RFMODECTRL CPP MSI") field(INPF, "$(CM,recursive)80:RFMODECALC_ PP") field(FLNK, "$(CM,recursive)80:RFMODE") field(PINI, "YES") } record(mbbi, "$(CM,recursive)80:RFMODE") { field(DESC, "Read cavity mode") field(INP, "$(CM,recursive)80:RFMODECALC") field(ZRST, "SELAP") field(ONST, "SELA") field(ONSV, "MINOR") field(TWST, "SEL") field(TWSV, "MINOR") field(THST, "Unknown") field(THSV, "INVALID") } # WARNING: If we add additional control/readback # mode options (like SELP), need to update CALC record(calc, "$(CM,recursive)80:RFMODESTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:(A=2)&&(B=3)?1:(A=2)&&(B=4)?1:0") field(INPA, "$(CM,recursive)80:RFMODE CPP") # actual RF state field(INPB, "$(CM,recursive)80:RFMODECTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)80:RFMODESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)80:RFMODESTAT") { field(DESC, "Desired mode matches actual") field(INP, "$(CM,recursive)80:RFMODESTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Feedback output limits # Used by ASETSUB #================================== record(ao, "$(CM,recursive)80:SSA:MAXR") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.8") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)80:SSA:MAXRDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SSA:MAXR") info(feed:info:input, "$(CM,recursive)80:SSA:MAXR") info(feed:info:output, "$(CM,recursive)80:SSA:MAXR") } record(ao, "$(CM,recursive)80:SINTHETA") { field(DESC, "Policy max") field(OMSL, "supervisory") field(VAL, "0.5") field(PINI, "YES") info(autosaveFields, "VAL") } record(longin, "$(CM,recursive)80:SINTHETADMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SINTHETA") info(feed:info:input, "$(CM,recursive)80:SINTHETA") info(feed:info:output, "$(CM,recursive)80:SINTHETA") } #================================== # Based on ADES and various inputs/constants, # set new values for cavity control registers #================================== record(aSub, "$(CM,recursive)80:ASETSUB") { field(INAM, "") field(SNAM, "asub_setamp") # Inputs field(FTA, "DOUBLE") # amplitude setpoint field(INPA, "$(CM,recursive)80:ADES") field(FTB, "DOUBLE") # shunt impedance field(INPB, "$(CM,recursive)80:IMPED") field(FTC, "DOUBLE") # cav frequency field(INPC, "$(CM,recursive)80:FREQ") field(FTD, "DOUBLE") # cav loaded Q field(INPD, "$(CM,recursive)80:QLOADED") field(FTE, "DOUBLE") # forward full-scale [sqrt(W)] field(INPE, "$(CM,recursive)80:FWD:SCALE") field(FTF, "DOUBLE") # cavity full-scale [MV] field(INPF, "$(CM,recursive)80:CAV:SCALE") field(FTG, "SHORT") # amp feedback open/close field(INPG, "$(CM,recursive)80:AMPFB") field(FTH, "SHORT") # pha feedback open/close field(INPH, "$(CM,recursive)80:PHAFB") field(FTI, "DOUBLE") # SSA slope field(INPI, "$(CM,recursive)80:SSA:SLOPE") field(FTJ, "DOUBLE") # SSA minx field(INPJ, "$(CM,recursive)80:SSA:MINX") field(FTK, "DOUBLE") # SSA pedestal field(INPK, "$(CM,recursive)80:SSA:PED") field(FTL, "DOUBLE") # policy max r field(INPL, "$(CM,recursive)80:SSA:MAXR") field(FTM, "DOUBLE") # policy sin(theta) field(INPM, "$(CM,recursive)80:SINTHETA") field(FTN, "SHORT") # desired RF on/off field(INPN, "$(CM,recursive)80:RFCTRL") field(FTO, "SHORT") # desired RF mode field(INPO, "$(CM,recursive)80:RFMODECTRL") field(FTP, "DOUBLE") # raw SEL amplitude setting field(INPP, "$(CM,recursive)80:SEL_ASET CPP") field(FTR, "SHORT") # previous RF mode field(INPR, "$(CM,recursive)80:RFMODEPREV") # Intermediate results field(FTVA, "DOUBLE") # sqrt(U) field(FTVB, "DOUBLE") # SSA target field(FTVC, "DOUBLE") # SSA target normalized field(FTVD, "DOUBLE") # Cav ADC setpoint normalized field(FTVF, "DOUBLE") # policy X field(FTVG, "DOUBLE") # policy y field(FTVH, "DOUBLE") # lowslope field(FTVI, "DOUBLE") # x_lo field(FTVJ, "DOUBLE") # x_hi field(FTVM, "DOUBLE") # y_lo field(FTVN, "DOUBLE") # y_hi # Outputs field(FTVE, "LONG") # setmp element 0, magnitude field(FTVK, "LONG") # lim_x_lo field(FTVL, "LONG") # lim_x_hi field(FTVO, "LONG") # lim_y_lo field(FTVP, "LONG") # lim_y_hi field(FTVQ, "SHORT") # too_high field(FTVR, "USHORT") # mask for ASETSUBGO field(OUTR, "$(CM,recursive)80:ASETSUBGO PP") field(FTVS, "CHAR") # index for status message field(NOVS, "40") field(FTVT, "SHORT") # indicate error message field(FTVU, "SHORT") # current RF mode for use on next iteration field(OUTU, "$(CM,recursive)80:RFMODEPREV PP") field(PINI, "NO") } record(longin, "$(CM,recursive)80:RFMODEPREV") { # val written by ASETSUB.VALU field(VAL, "-1") field(PINI, "YES") } record(seq, "$(CM,recursive)80:ASETSUBGO") { field(SELM, "Mask") field(SELL, "$(CM,recursive)80:ASETSUB.VALR") field(DOL1, "$(CM,recursive)80:ASETSUB.VALE") field(LNK1, "$(CM,recursive)80:REGMAG PP") field(DOL2, "$(CM,recursive)80:ASETSUB.VALL") field(LNK2, "$(CM,recursive)80:REGLIM0 PP") field(DOL3, "$(CM,recursive)80:ASETSUB.VALP") field(LNK3, "$(CM,recursive)80:REGLIM1 PP") field(DOL4, "$(CM,recursive)80:ASETSUB.VALK") field(LNK4, "$(CM,recursive)80:REGLIM2 PP") field(DOL5, "$(CM,recursive)80:ASETSUB.VALO") field(LNK5, "$(CM,recursive)80:REGLIM3 PP") } #================================== # User RF on/off control. # Separate ON/OFF seq records # so that RF interlock inhibit # can use these directly. #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:RFCTRLDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_RFCTRL") info(feed:info:input, "$(CM,recursive)80:RFCTRL") info(feed:info:output, "$(CM,recursive)80:RFCTRL") } record(bo, "$(CM,recursive)80:RFCTRL") { field(DESC, "Turn RF on/off") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(VAL, "0") field(FLNK, "$(CM,recursive)80:RFCTRLCALC") } record(calc, "$(CM,recursive)80:RFCTRLCALC") { field(DESC, "Calc seq mask") field(CALC, "A=0?1:2") field(INPA, "$(CM,recursive)80:RFCTRL") field(FLNK, "$(CM,recursive)80:RFCTRLSEQ") } record(seq, "$(CM,recursive)80:RFCTRLSEQ") { field(SELM, "Mask") field(SELL, "$(CM,recursive)80:RFCTRLCALC") field(SCAN, "Passive") field(LNK1, "$(CM,recursive)80:RFOFFSEQ PP") field(LNK2, "$(CM,recursive)80:RFONSEQ PP") } record(seq, "$(CM,recursive)80:RFOFFSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF off, process first 5 links # Turns off RF drive without changing amplitude setpoint field(DOL1, "0") field(LNK1, "$(CM,recursive)80:REGMAG PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)80:REGLIM0 PP") field(DOL3, "0") field(LNK3, "$(CM,recursive)80:REGLIM1 PP") field(DOL4, "0") field(LNK4, "$(CM,recursive)80:REGLIM2 PP") field(DOL5, "0") field(LNK5, "$(CM,recursive)80:REGLIM3 PP") field(FLNK, "$(CM,recursive)80:RFOFFSEQ2") } record(calcout, "$(CM,recursive)80:RFOFFSEQ2") { field(DESC, "Calc seq mask") field(CALC, "(A#1)&&(B=2)?0:1") field(OCAL, "1") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(INPA, "$(CM,recursive)80:RFCTRL") field(INPB, "$(CM,recursive)80:PULSE_STATUS") field(OUT, "$(CM,recursive)80:TGENOFFSTRT PP") field(FLNK, "$(CM,recursive)80:ASETSUB") } record(seq, "$(CM,recursive)80:RFONSEQ") { field(SELM, "All") field(SCAN, "Passive") # To turn RF back on, process link 1 # Forces ASETSUB to re-calculate and set registers # based on current ADES field(LNK1, "$(CM,recursive)80:ASETSUB PP") } #================================== # Determine current RF on/off state from # limit registers # # TODO: Add check of tgen sequencer status #================================== record(calc, "$(CM,recursive)80:RFSTATECALC") { field(DESC, "Calc seq mask") # Process 10 Hz for cryo interface (!) # Rate may change in future field(SCAN, ".1 second") field(CALC, "((A+B+C+D)=0)&E=1?0:1") field(INPA, "$(CM,recursive)80:REGLIM0_RBV PP") # X hi field(INPB, "$(CM,recursive)80:REGLIM1_RBV PP") # Y hi field(INPC, "$(CM,recursive)80:REGLIM2_RBV PP") # X lo field(INPD, "$(CM,recursive)80:REGLIM3_RBV PP") # Y lo field(INPE, "$(CM,recursive)80:TGEN_STAT PP") field(FLNK, "$(CM,recursive)80:RFSTATE") field(PINI, "YES") } record(bi, "$(CM,recursive)80:RFSTATE") { field(DESC, "Read drive on/off state") field(INP, "$(CM,recursive)80:RFSTATECALC") field(ZNAM, "Off") field(ZSV, "MAJOR") field(ONAM, "On") } record(calc, "$(CM,recursive)80:RFSTATCALC") { field(DESC, "Calc seq mask") field(CALC, "A=B?1:0") field(INPA, "$(CM,recursive)80:RFSTATE CPP") # actual RF state field(INPB, "$(CM,recursive)80:RFCTRL CPP") # desired RF state field(FLNK, "$(CM,recursive)80:RFSTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)80:RFSTAT") { field(DESC, "Desired on/off matches actual") field(INP, "$(CM,recursive)80:RFSTATCALC") field(ZNAM, "Inconsistent") field(ZSV, "MAJOR") field(ONAM, "Consistent") } #================================== # Set cavity phase # Based on new phase setting, # calculate new limits for PACT and push # Alarm limits +/- .01 degree # based on SSA/LLRF PRD #================================== # Dummy PV to allow python API to access actual PV record(longout, "$(CM,recursive)80:PDESDMY") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dummy_1_PDES") info(feed:info:input, "$(CM,recursive)80:PDES") info(feed:info:output, "$(CM,recursive)80:PDES") } record(ao, "$(CM,recursive)80:PDES") { field(DESC, "phase setpoint") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)80:PSETCALC PP") field(OUT, "$(CM,recursive)80:PACTACALC PP") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)80:PACTACALC") { field(DESC, "Calc PACT alarm values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)80:PDES") field(INPB, ".01") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)80:PACTWCALC") info(autosaveFields, "INPB B") } record(calcout, "$(CM,recursive)80:PACTWCALC") { field(DESC, "Calc PACT warning values") field(CALC, "A+B") field(OCAL, "A-B") field(INPA, "$(CM,recursive)80:PDES") field(INPB, ".005") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)80:PACTASEQ") info(autosaveFields, "INPB B") } record(seq, "$(CM,recursive)80:PACTASEQ") { field(DESC, "Push new lims to PACT") field(SELM, "All") field(DOL1, "$(CM,recursive)80:PACTACALC") field(LNK1, "$(CM,recursive)80:PACT.HIHI") field(DOL2, "$(CM,recursive)80:PACTACALC.OVAL") field(LNK2, "$(CM,recursive)80:PACT.LOLO") field(DOL3, "$(CM,recursive)80:PACTWCALC") field(LNK3, "$(CM,recursive)80:PACT.HIGH") field(DOL4, "$(CM,recursive)80:PACTWCALC.OVAL") field(LNK4, "$(CM,recursive)80:PACT.LOW PP") } # gold phase likely later incorporated here record(calc, "$(CM,recursive)80:PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "(-(A-B)/360)*2^18") field(INPA, "$(CM,recursive)80:PDES") # In 3/2018, observed 90 degree offset # on multiple cavities. Implemented # phase offset (INPB) at that time. # Now 1/2019, can apparently remove. # Leave hooks in to modify/save/restore. field(INPB, "0") info(autosaveFields, "INPB B") field(FLNK, "$(CM,recursive)80:PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)80:PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)80:PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)80:PSET") } # Maybe change PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)80:PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:PSETROUND.VALA") field(OUT, "$(CM,recursive)80:REGPHA PP") } #================================== # Cavity amplitude/phase/limit registers. # Set by ASET*/RFCTRL*/PSET PVs # Not to be used directly to control amplitude # # Notes about register scan: # The LIM registers are processed by RFSTATE. # The other registers here do not use $(REGSCAN,undefined) # because they are not merely diagnostic and # need to update more frequently # TODO: revisit names, set limits #================================== record(longout, "$(CM,recursive)80:REGMAG") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)80:REGMAG") } record(longin, "$(CM,recursive)80:REGMAG_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGMAG_RBV") } record(longout, "$(CM,recursive)80:REGPHA") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1 wait=false") info(feed:info:setting, "$(CM,recursive)80:REGPHA") } record(longin, "$(CM,recursive)80:REGPHA_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGPHA_RBV") } record(longout, "$(CM,recursive)80:REGLIM0") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)80:REGLIM0") } record(longin, "$(CM,recursive)80:REGLIM0_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGLIM0_RBV") } record(longout, "$(CM,recursive)80:REGLIM1") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)80:REGLIM1") } record(longin, "$(CM,recursive)80:REGLIM1_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGLIM1_RBV") } record(longout, "$(CM,recursive)80:REGLIM2") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)80:REGLIM2") } record(longin, "$(CM,recursive)80:REGLIM2_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGLIM2_RBV") } record(longout, "$(CM,recursive)80:REGLIM3") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3 wait=false") field(DRVL, "-131072") field(DRVH, "131071") info(feed:info:setting, "$(CM,recursive)80:REGLIM3") } record(longin, "$(CM,recursive)80:REGLIM3_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGLIM3_RBV") } #================================== # SEL controls: # raw amplitude control and # SEL phase offset #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SEL_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SEL_ASET") info(feed:info:input, "$(CM,recursive)80:SEL_ASET") info(feed:info:output, "$(CM,recursive)80:SEL_ASET") } record(ao, "$(CM,recursive)80:SEL_ASET") { field(DESC, "SEL raw amplitude control") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "%") field(DRVL, "0") field(DRVH, "100") field(PINI, "YES") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)80:SEL_ALIMCALC") { field(CALC, "A*100") field(INPA, "$(CM,recursive)80:SSA:MAXR CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:SEL_ALIMFO") } record(dfanout, "$(CM,recursive)80:SEL_ALIMFO") { field(DOL, "$(CM,recursive)80:SEL_ALIMCALC") field(OMSL, "closed_loop") field(OUTA, "$(CM,recursive)80:SEL_ASET.DRVH NPP") field(OUTB, "$(CM,recursive)80:SEL_ASET.HOPR NPP") } record(longout, "$(CM,recursive)80:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)80:REGSEL_POFF") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:SEL_POFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_SEL_POFF") info(feed:info:input, "$(CM,recursive)80:SEL_POFF") info(feed:info:output, "$(CM,recursive)80:SEL_POFF") } record(ao, "$(CM,recursive)80:SEL_POFF") { field(DESC, "SEL phase offset") field(OMSL, "supervisory") field(VAL, "0") field(EGU, "degrees") field(DRVL, "-180") field(DRVH, "180") field(FLNK, "$(CM,recursive)80:SEL_PSETCALC") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)80:SEL_PSETCALC") { field(DESC, "Calc phase reg setting") field(CALC, "((A-B)/360)*2^18") field(INPA, "$(CM,recursive)80:SEL_POFF") # Placeholder offset, in case needed in future # field(INPB, "0") field(FLNK, "$(CM,recursive)80:SEL_PSETROUND") } # No 'round' function in CALC record? record(aSub, "$(CM,recursive)80:SEL_PSETROUND") { field(INAM, "") field(SNAM, "asub_round") field(FTA, "DOUBLE") field(INPA, "$(CM,recursive)80:SEL_PSETCALC") field(FTVA, "LONG") field(FLNK, "$(CM,recursive)80:SEL_PSET") } # Maybe change SEL_PSETROUND to write directly to REGPHA record(longout, "$(CM,recursive)80:SEL_PSET") { field(DESC, "write phase regiseter") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:SEL_PSETROUND.VALA") field(OUT, "$(CM,recursive)80:REGSEL_POFF PP") } record(longout, "$(CM,recursive)80:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)80:REGSEL_POFF") } record(longin, "$(CM,recursive)80:REGSEL_POFF_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:REGSEL_POFF_RBV") field(FLNK, "$(CM,recursive)80:SEL_POFFCALC") } record(calc, "$(CM,recursive)80:SEL_POFFCALC") { field(DESC, "Readback SEL phase offset") field(CALC, "B+(A*360/2^18)") field(INPA, "$(CM,recursive)80:REGSEL_POFF_RBV MS") field(INPB, "$(CM,recursive)80:SEL_PSETCALC.B") field(FLNK, "$(CM,recursive)80:SEL_POFF_RBV") } record(ai, "$(CM,recursive)80:SEL_POFF_RBV") { field(DESC, "Readback SEL phase offset") field(INP, "$(CM,recursive)80:SEL_POFFCALC MS") field(EGU, "degrees") } record(calc, "$(CM,recursive)80:CTRL_SUM") { field(SCAN, "1 second") field(CALC, "A") field(INPA, "$(CM,recursive)80:SEL_ENABLE_RBV MS") field(INPB, "$(CM,recursive)80:SEL_THRESH_RBV MS") field(INPC, "$(CM,recursive)80:FB_SOURCE_RBV MS") field(INPD, "$(CM,recursive)00:RFS2B:CLK_STATUS MS") } record(mbbo, "$(CM,recursive)80:SEL_ENABLE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Disable") field(ONST, "Enable") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en wait=false") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)80:SEL_ENABLE") } record(mbbi, "$(CM,recursive)80:SEL_ENABLE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Not enabled") field(ONST, "Enabled") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:SEL_ENABLE_RBV") } record(longout, "$(CM,recursive)80:SEL_THRESH") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh wait=false") field(DISV, "2") info(feed:info:setting, "$(CM,recursive)80:SEL_THRESH") } record(longin, "$(CM,recursive)80:SEL_THRESH_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "1000000") field(HHSV, "MAJOR") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:SEL_THRESH_RBV") } record(mbbo, "$(CM,recursive)80:FB_SOURCE") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(VAL, "1") field(OUT , "@name=rfs2b reg=shell_1_dsp_use_fiber_iq wait=false") field(ZRVL, "0") field(ONVL, "1") field(ZRST, "Use loopback") field(ONST, "Use cavity") field(DISV, "2") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)80:FB_SOURCE") } record(mbbi, "$(CM,recursive)80:FB_SOURCE_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_use_fiber_iq") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(ZRSV, "MAJOR") field(ZRST, "Loopback") field(ONST, "Cavity") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:FB_SOURCE_RBV") } #================================== # TGEN status #================================== record(longin, "$(CM,recursive)80:REGTGEN_STAT") { field(DTYP, "FEED Register Read") # field(SCAN, ".1 second") field(INP , "@name=rfs2b reg=tgen_1_status") field(TSE , "-2") field(FLNK, "$(CM,recursive)80:TGEN_STAT_CALC") info(feed:info:setting, "$(CM,recursive)80:REGTGEN_STAT") } record(calc, "$(CM,recursive)80:TGEN_STAT_CALC") { field(CALC, "(A&B)=C?1:(A&B)=D?1:0") field(INPA, "$(CM,recursive)80:REGTGEN_STAT PP MS") field(INPB, "0xF") field(INPC, "0") field(INPD, "0x7") field(FLNK, "$(CM,recursive)80:TGEN_STAT") } record(bi, "$(CM,recursive)80:TGEN_STAT") { field(DESC, "TGEN status") field(INP, "$(CM,recursive)80:TGEN_STAT_CALC PP MS") field(ZNAM, "Not off") field(ZSV, "MINOR") field(ONAM, "Off") } record(longout, "$(CM,recursive)80:REGSEL_POFF") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset wait=false") info(feed:info:setting, "$(CM,recursive)80:REGSEL_POFF") } #================================== # Feedback gains #================================== record(longout, "$(CM,recursive)80:AMPFB_GAIN_I") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0 wait=false") info(feed:info:setting, "$(CM,recursive)80:AMPFB_GAIN_I") } record(longin, "$(CM,recursive)80:AMPFB_GAIN_I_RBV") { field(DESC, "Amp fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:AMPFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)80:AMPFB_GAIN_P") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2 wait=false") info(feed:info:setting, "$(CM,recursive)80:AMPFB_GAIN_P") } record(longin, "$(CM,recursive)80:AMPFB_GAIN_P_RBV") { field(DESC, "Amp fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:AMPFB_GAIN_P_RBV") } record(longout, "$(CM,recursive)80:PHAFB_GAIN_I") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") # unitlesss field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1 wait=false") info(feed:info:setting, "$(CM,recursive)80:PHAFB_GAIN_I") } record(longin, "$(CM,recursive)80:PHAFB_GAIN_I_RBV") { field(DESC, "Pha fbck integral gain (Ki)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") # field(EGU, "1/s") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:PHAFB_GAIN_I_RBV") } record(longout, "$(CM,recursive)80:PHAFB_GAIN_P") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3 wait=false") info(feed:info:setting, "$(CM,recursive)80:PHAFB_KP") } record(longin, "$(CM,recursive)80:PHAFB_GAIN_P_RBV") { field(DESC, "Pha fbck proportional gain (Kp)") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(TSE , "-2") info(feed:info:setting, "$(CM,recursive)80:PHAFB_GAIN_P_RBV") } record(ao, "$(CM,recursive)80:PLANT_GAIN") { field(DESC, "RF controller plant gain") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "0") field(PREC, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PLANT_GAINDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PLANT_GAIN") info(feed:info:input, "$(CM,recursive)80:PLANT_GAIN") info(feed:info:output, "$(CM,recursive)80:PLANT_GAIN") } #================================== # Interlock status on RFS side # TODO: Add MS #================================== record(longout, "$(CM,recursive)80:INTLKPERMIT_CHK") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cav1_ilock_engage") field(VAL , "1") field(PINI, "YES") info(feed:info:setting, "$(CM,recursive)80:INTLKPERMIT_CHK") } record(longin, "$(CM,recursive)80:INTLKPERMIT_CHK_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cav1_ilock_engage") field(TSE , "-2") field(FLNK, "$(CM,recursive)80:RESLINK_CALC") info(feed:info:setting, "$(CM,recursive)80:INTLKPERMIT_CHK_RBV") } record(calc, "$(CM,recursive)80:RESLINK_CALC") { field(DESC, "Link with intlk chassis ok") field(CALC, "A&(1<<14)?0:1") field(INPA, "$(CM,recursive)00:RFS2B:CCR1_STAT") field(FLNK, "$(CM,recursive)80:RESLINK") } record(bi, "$(CM,recursive)80:RESLINK") { field(DESC, "Comm link with res chassis") field(INP, "$(CM,recursive)80:RESLINK_CALC") field(ZNAM, "Error") field(ZSV, "MAJOR") field(ONAM, "Ok") field(FLNK, "$(CM,recursive)80:INTLKPERMIT_CALC") } record(calc, "$(CM,recursive)80:INTLKPERMIT_CALC") { field(DESC, "RF permit from intlk chas") field(CALC, "A&(1<<31)?1:0") field(INPA, "$(CM,recursive)00:RFS2B:CCR1_CAV1_STAT") field(FLNK, "$(CM,recursive)80:INTLKPERMIT") } record(bi, "$(CM,recursive)80:INTLKPERMIT") { field(DESC, "RF permit from intlk chas") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") field(INP, "$(CM,recursive)80:INTLKPERMIT_CALC") field(FLNK, "$(CM,recursive)80:INTLKLINKPERMIT_CALC") } record(calc, "$(CM,recursive)80:INTLKLINKPERMIT_CALC") { field(DESC, "RF permit from intlk chas & link ok") field(CALC, "A&B") field(INPA, "$(CM,recursive)80:RESLINK") field(INPB, "$(CM,recursive)80:INTLKPERMIT") field(FLNK, "$(CM,recursive)80:RFPERMIT_CALC") } record(calc, "$(CM,recursive)80:RFPERMIT_CALC") { field(DESC, "Final RF permit status on RFS") field(CALC, "A||!B") field(INPA, "$(CM,recursive)80:INTLKLINKPERMIT_CALC") field(INPB, "$(CM,recursive)80:INTLKPERMIT_CHK_RBV") field(FLNK, "$(CM,recursive)80:RFPERMIT") } record(bi, "$(CM,recursive)80:RFPERMIT") { field(DESC, "Final RF permit status on RFS") field(INP, "$(CM,recursive)80:RFPERMIT_CALC") field(ZNAM, "RF inhibit") field(ZSV, "MAJOR") field(ONAM, "RF allow") } #================================== # Break out diagnostic status bits #================================== record(calc, "$(CM,recursive)80:OFLW_ERR_STAT") { field(DESC, "Calc pha/mag error mask") field(CALC, "A&B") field(INPA, "$(CM,recursive)80:OFLW_STAT CPP MSI") field(INPB, "0xFF") field(PINI, "YES") } record(calc, "$(CM,recursive)80:OFLW_DRV_CALC") { field(DESC, "Calc drive clip mask") field(CALC, "A&B>>C") field(INPA, "$(CM,recursive)80:OFLW_STAT CPP MSI") field(INPB, "0xF00") field(INPC, "8") # INPD just to force processing chain field(INPD, "$(CM,recursive)80:RFMODECTRL CPP") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:OFLW_DRV_STAT") } record(mbbiDirect, "$(CM,recursive)80:OFLW_DRV_STAT") { field(INP, "$(CM,recursive)80:OFLW_DRV_CALC MSI") field(FLNK, "$(CM,recursive)80:AMPFB_HLIM") } record(bi, "$(CM,recursive)80:AMPFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)80:OFLW_DRV_STAT.B0") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)80:AMPFB_LLIM") } record(bi, "$(CM,recursive)80:AMPFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)80:OFLW_DRV_STAT.B2") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)80:AMPFB_SUM") } record(calc, "$(CM,recursive)80:AMPFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&((C=0)||(C=1)))?0:1") field(INPA, "$(CM,recursive)80:AMPFB_HLIM MS") field(INPB, "$(CM,recursive)80:AMPFB_LLIM MS") field(INPC, "$(CM,recursive)80:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)80:PHAFB_HLIM") } record(bi, "$(CM,recursive)80:PHAFB_HLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)80:OFLW_DRV_STAT.B1") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)80:PHAFB_LLIM") } record(bi, "$(CM,recursive)80:PHAFB_LLIM") { field(DESC, "Ampl fbck summary status") field(INP, "$(CM,recursive)80:OFLW_DRV_STAT.B3") field(ZNAM, "Not clipped") field(ONAM, "Clipped") field(FLNK, "$(CM,recursive)80:PHAFB_SUM") } record(calc, "$(CM,recursive)80:PHAFB_SUM") { field(DESC, "Ampl fbck summary status") field(CALC, "(((A+B)>0)&&(C=0))?0:1") field(INPA, "$(CM,recursive)80:PHAFB_HLIM MS") field(INPB, "$(CM,recursive)80:PHAFB_LLIM MS") field(INPC, "$(CM,recursive)80:RFMODECTRL") field(LOLO, "0") field(LLSV, "MAJOR") field(HIHI, "2") field(FLNK, "$(CM,recursive)80:PHAFB_HLIM") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:RACK_OTHERS_OFFDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_RACK_OTHERS_OFF") info(feed:info:input, "$(CM,recursive)80:RACK_OTHERS_OFF") info(feed:info:output, "$(CM,recursive)80:RACK_OTHERS_OFF") } #================================== # Gradient calculated from forward power # Only valid in SEL #================================== record(calc, "$(CM,recursive)80:GCALC2_") { field(DESC, "G calc from fwd power") field(CALC, "((A+1)*B)/(4*A*C*D)") field(INPA, "400") # beta field(INPB, "$(CM,recursive)80:L") field(INPC, "$(CM,recursive)80:QLOADED") field(INPD, "1040") # R/Q } record(calc, "$(CM,recursive)80:GCALC1") { field(DESC, "G calc from fwd power") field(CALC, "SQR(A/B)/1000000") field(INPA, "$(CM,recursive)80:FWD:PWRMEAN CP MSI") field(INPB, "$(CM,recursive)80:GCALC2_ PP") field(FLNK, "$(CM,recursive)80:GCALC_") } record(calc, "$(CM,recursive)80:GCALC_") { field(DESC, "G calc from fwd power") field(CALC, "B#2?0.0:A") field(INPA, "$(CM,recursive)80:GCALC1") field(INPB, "$(CM,recursive)80:RFMODE") field(LOLO, "0") field(LLSV, "INVALID") field(HIHI, "100") field(FLNK, "$(CM,recursive)80:GCALC") } record(ai, "$(CM,recursive)80:GCALC") { field(DESC, "G calc from fwd power") field(SCAN, "Passive") field(EGU, "MV/m") field(PREC, "3") field(INP, "$(CM,recursive)80:GCALC_ MS") } #================================== # Cavity probe is special case, calibration-wise # We have 2 methods of calibration: # A: using losses, ADC full scale, probe Q # B: using reverse decay waveform # Users select which should be active #================================== record(bo, "$(CM,recursive)80:CAVSCALE_SEL") { field(DESC, "Active calibration") field(OMSL, "supervisory") field(ZNAM, "QProbe") field(ONAM, "RevCal") field(VAL, "0") info(autosaveFields, "VAL") } # Calculate Qprobe from measured scale factor # (rev waveform), losses etc record(calcout, "$(CM,recursive)80:QPROBE_CALC1") { field(CALC, "(1E6*A/B)^2/C") field(INPA, "$(CM,recursive)80:CAV:SCALER_SEL.B") field(INPB, "$(CM,recursive)80:CAV:CAL_SCALE_SQRTW") field(INPC, "$(CM,recursive)80:IMPED") # scale by beam-based fudge as well? # $(CM,recursive)80:CAV:FUDGE_SEL.B field(OOPT, "Every Time") field(PINI, "NO") field(OUT, "$(CM,recursive)80:QPROBE_CALC2 PP") } record(ao, "$(CM,recursive)80:QPROBE_CALC2") { field(DESC, "Calculated Q probe") field(OMSL, "supervisory") field(PREC, "5") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)80:PUSH_QPROBECALC") { field(DESC, "Push calc-ed to live PV") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:QPROBE_CALC2") field(OUT, "$(CM,recursive)80:QPROBE PP") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:CAV_SCALE_SQRTWDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_CAV_SCALE_SQRTW") info(feed:info:input, "$(CM,recursive)80:CAV:CAL_SCALE_SQRTW") } #================================== # Temporary EPICS quench detection #================================== # FLNK-ed from GACT # Do not FLNK from FWD-driven records # because they update before gradient # and will cause false quench faults record(calcout, "$(CM,recursive)80:QUENCH_CALC") { field(CALC, "A?1:D=0?1:B<3.0?1:D=4?1:(C>(B/2))?1:0") field(OCAL, "1") field(INPA, "$(CM,recursive)80:QUENCH_BYP") field(INPB, "$(CM,recursive)80:GCALC1") field(INPC, "$(CM,recursive)80:GACT") field(INPD, "$(CM,recursive)80:RFCTRL") field(INPE, "$(CM,recursive)80:RFMODECTRL") field(OOPT, "When Zero") field(DOPT, "Use OCAL") field(OUT, "$(CM,recursive)80:QUENCH_SEQ.PROC PP") field(FLNK, "$(CM,recursive)80:QUENCH_FLT PP") } record(bi, "$(CM,recursive)80:QUENCH_FLT") { field(DESC, "Interlock status") field(ONAM, "Ok") field(ZNAM, "Fault") field(OSV, "NO_ALARM") field(ZSV, "MAJOR") field(INP, "$(CM,recursive)80:QUENCH_CALC.VAL PP") } record(seq, "$(CM,recursive)80:QUENCH_SEQ") { field(SELM, "All") field(DOL1, "1") field(LNK1, "$(CM,recursive)80:QUENCH_LTCH PP") field(DOL2, "0") field(LNK2, "$(CM,recursive)80:RFCTRL PP") } record(bo, "$(CM,recursive)80:QUENCH_LTCH") { field(DESC, "Interlock bypass") field(ZNAM, "") field(ONAM, "Quench") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } record(bo, "$(CM,recursive)80:QUENCH_BYP") { field(DESC, "Interlock bypass") field(ZNAM, "Not Bypassed") field(ONAM, "Bypassed") field(ZSV, "NO_ALARM") field(OSV, "MINOR") field(VAL, "0") field(PINI, "YES") info(autosaveFields,"VAL") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)10:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)10:PULSE_ONTIME") } record(ao, "$(CM,recursive)10:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)10:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)10:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)10:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)10:PULSE_ONTIME") field(FLNK, "$(CM,recursive)10:PULSE_OFFTIME") } record(ao, "$(CM,recursive)10:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)10:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)10:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)10:PULSE_STATUS") } record(mbbi, "$(CM,recursive)10:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)10:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)10:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)10:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)10:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)10:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)10:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)10:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)10:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)10:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)10:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)10:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)10:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)10:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)10:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)10:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)10:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)10:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)10:RFMODECTRL") field(INPD, "$(CM,recursive)10:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)10:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)10:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)10:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)10:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_0_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)10:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)10:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)20:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)20:PULSE_ONTIME") } record(ao, "$(CM,recursive)20:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)20:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)20:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)20:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)20:PULSE_ONTIME") field(FLNK, "$(CM,recursive)20:PULSE_OFFTIME") } record(ao, "$(CM,recursive)20:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)20:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)20:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)20:PULSE_STATUS") } record(mbbi, "$(CM,recursive)20:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)20:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)20:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)20:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)20:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)20:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)20:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)20:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)20:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)20:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)20:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)20:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)20:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)20:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)20:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)20:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)20:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)20:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)20:RFMODECTRL") field(INPD, "$(CM,recursive)20:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)20:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)20:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)20:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)20:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=dummy_1_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)20:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)20:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)30:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)30:PULSE_ONTIME") } record(ao, "$(CM,recursive)30:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)30:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)30:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)30:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)30:PULSE_ONTIME") field(FLNK, "$(CM,recursive)30:PULSE_OFFTIME") } record(ao, "$(CM,recursive)30:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)30:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)30:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)30:PULSE_STATUS") } record(mbbi, "$(CM,recursive)30:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)30:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)30:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)30:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)30:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)30:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)30:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)30:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)30:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)30:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)30:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)30:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)30:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)30:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)30:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)30:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)30:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)30:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)30:RFMODECTRL") field(INPD, "$(CM,recursive)30:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)30:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)30:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)30:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)30:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_0_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)30:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)30:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)40:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)40:PULSE_ONTIME") } record(ao, "$(CM,recursive)40:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)40:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)40:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)40:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)40:PULSE_ONTIME") field(FLNK, "$(CM,recursive)40:PULSE_OFFTIME") } record(ao, "$(CM,recursive)40:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)40:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)40:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)40:PULSE_STATUS") } record(mbbi, "$(CM,recursive)40:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)40:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)40:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)40:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)40:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)40:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)40:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)40:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)40:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)40:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)40:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)40:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)40:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)40:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)40:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)40:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)40:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)40:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)40:RFMODECTRL") field(INPD, "$(CM,recursive)40:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)40:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)40:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)40:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)40:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dummy_1_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)40:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)40:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)50:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)50:PULSE_ONTIME") } record(ao, "$(CM,recursive)50:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)50:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)50:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)50:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)50:PULSE_ONTIME") field(FLNK, "$(CM,recursive)50:PULSE_OFFTIME") } record(ao, "$(CM,recursive)50:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)50:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)50:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)50:PULSE_STATUS") } record(mbbi, "$(CM,recursive)50:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)50:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)50:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)50:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)50:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)50:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)50:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)50:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)50:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)50:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)50:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)50:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)50:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)50:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)50:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)50:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)50:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)50:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)50:RFMODECTRL") field(INPD, "$(CM,recursive)50:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)50:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)50:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)50:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)50:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_0_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)50:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)50:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)60:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)60:PULSE_ONTIME") } record(ao, "$(CM,recursive)60:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)60:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)60:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)60:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)60:PULSE_ONTIME") field(FLNK, "$(CM,recursive)60:PULSE_OFFTIME") } record(ao, "$(CM,recursive)60:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)60:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)60:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)60:PULSE_STATUS") } record(mbbi, "$(CM,recursive)60:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)60:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)60:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)60:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)60:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)60:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)60:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)60:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)60:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)60:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)60:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)60:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)60:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)60:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)60:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)60:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)60:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)60:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)60:RFMODECTRL") field(INPD, "$(CM,recursive)60:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)60:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)60:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)60:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)60:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dummy_1_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)60:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)60:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)70:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)70:PULSE_ONTIME") } record(ao, "$(CM,recursive)70:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)70:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)70:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)70:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)70:PULSE_ONTIME") field(FLNK, "$(CM,recursive)70:PULSE_OFFTIME") } record(ao, "$(CM,recursive)70:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)70:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)70:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)70:PULSE_STATUS") } record(mbbi, "$(CM,recursive)70:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)70:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)70:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)70:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)70:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)70:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)70:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)70:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)70:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)70:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)70:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)70:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)70:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)70:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)70:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)70:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)70:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)70:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)70:RFMODECTRL") field(INPD, "$(CM,recursive)70:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)70:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)70:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)70:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)70:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_0_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)70:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)70:PULSEOFFSTRT") } #================================== #---------------------------------- # pulse.template: # # Records to support pulsed RF. # feed_launcher script executes # lcls2_rf/software/prc/rf_pulse.py # on user request, which runs # TGEN program. #---------------------------------- #================================== #================================== # User parameters. # Off time = wf sample period - on time #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSE_ONTIMEDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSE_ONTIME") info(feed:info:input, "$(CM,recursive)80:PULSE_ONTIME") info(feed:info:output, "$(CM,recursive)80:PULSE_ONTIME") } record(ao, "$(CM,recursive)80:PULSE_ONTIME") { field(DESC, "RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(VAL, "70") field(EGU, "ms") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:PULSE_OFFTIME_CALC") info(autosaveFields, "VAL DRVH") } record(calc, "$(CM,recursive)80:PULSE_OFFTIME_CALC") { field(DESC, "Calc RF Pulse Off Time") field(SCAN, "Passive") field(CALC, "(A*B*C)-D") field(INPA, "$(CM,recursive)80:ACQ_SAMP_PERIOD") field(INPB, "$(CM,recursive)80:ACQ_NORD") field(INPC, "1000") # convert to ms field(INPD, "$(CM,recursive)80:PULSE_ONTIME") field(FLNK, "$(CM,recursive)80:PULSE_OFFTIME") } record(ao, "$(CM,recursive)80:PULSE_OFFTIME") { field(DESC, "RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:PULSE_OFFTIME_CALC") field(DRVL, "0") # DRVH set by ACQ_PERIOD. Set default DRVH to enforce DRVL field(DRVH, "1000") field(EGU, "ms") field(PREC, "3") field(FLNK, "$(CM,recursive)80:PULSE_ON_DIFF") info(autosaveFields, "VAL DRVH") } #================================== # Records set by rf_pulse.py # Status and values currently/last # in use. #================================== # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSE_STATUSDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSE_STATUS") info(feed:info:input, "$(CM,recursive)80:PULSE_STATUS") info(feed:info:output, "$(CM,recursive)80:PULSE_STATUS") } record(mbbi, "$(CM,recursive)80:PULSE_STATUS") { field(ZRST, "Awaiting request") field(ONST, "Pulse request") field(TWST, "Pulsing on") field(THST, "Stop request") field(FRST, "Pulsing off") field(ZRVL, "0") field(ONVL, "1") field(ONSV, "MINOR") field(TWVL, "2") field(TWSV, "MINOR") field(THVL, "3") field(THSV, "MINOR") field(FRVL, "4") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSE_INUSE_ONDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSE_INUSE_ON") info(feed:info:input, "$(CM,recursive)80:PULSE_INUSE_ON") info(feed:info:output, "$(CM,recursive)80:PULSE_INUSE_ON") } record(ao, "$(CM,recursive)80:PULSE_INUSE_ON") { field(DESC, "In-use RF Pulse On Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:PULSE_ON_DIFF") info(autosaveFields, "VAL") } record(ao, "$(CM,recursive)80:PULSE_INUSE_OFF") { field(DESC, "In-use RF Pulse Off Time") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "ms") field(PREC, "3") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSE_INUSE_ASETDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSE_INUSE_ASET") info(feed:info:input, "$(CM,recursive)80:PULSE_INUSE_ASET") info(feed:info:output, "$(CM,recursive)80:PULSE_INUSE_ASET") } record(ao, "$(CM,recursive)80:PULSE_INUSE_ASET") { field(DESC, "In-use RF Pulse ADES") field(SCAN, "Passive") field(OMSL, "supervisory") field(EGU, "%") field(PREC, "3") field(PINI, "YES") field(FLNK, "$(CM,recursive)80:PULSE_ADES_DIFF") info(autosaveFields, "VAL") } record(calc, "$(CM,recursive)80:PULSE_ON_DIFF") { field(DESC, "Diff latest and desired on time") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)80:PULSE_INUSE_ON") field(INPB, "$(CM,recursive)80:PULSE_ONTIME") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)80:PULSE_ADES_DIFF") { field(DESC, "Diff latest and desired ADES") field(SCAN, "Passive") field(CALC, "A=B?0:1") field(INPA, "$(CM,recursive)80:PULSE_INUSE_ASET") field(INPB, "$(CM,recursive)80:SEL_ASET CP") field(HIGH, "1") field(HSV, "MINOR") field(PINI, "YES") } record(calc, "$(CM,recursive)80:PULSE_DIFF_SUM") { field(DESC, "Pulse parms need updating") field(SCAN, "1 second") field(CALC, "C#4?0:D#1?0:A?1:B?1:0") field(INPA, "$(CM,recursive)80:PULSE_ON_DIFF") field(INPB, "$(CM,recursive)80:PULSE_ADES_DIFF") field(INPC, "$(CM,recursive)80:RFMODECTRL") field(INPD, "$(CM,recursive)80:RFCTRL") field(HIGH, "1") field(HSV, "MINOR") } record(stringin, "$(CM,recursive)80:PULSE_MSG") { field(DESC, "Pulse message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSEONSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSEONSTRT") info(feed:info:input, "$(CM,recursive)80:PULSEONSTRT") info(feed:info:output, "$(CM,recursive)80:PULSEONSTRT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,recursive)80:PULSEOFFSTRTDMY") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dummy_1_PULSEOFFSTRT") info(feed:info:input, "$(CM,recursive)80:PULSEOFFSTRT") info(feed:info:output, "$(CM,recursive)80:PULSEOFFSTRT") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)10:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)10:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)10:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)10:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)10:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)10:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)10:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)10:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)10:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)10:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)10:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)10:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)10:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)10:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)10:STEP:DRVI PP") } record(longout, "$(CM,recursive)10:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_0_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)10:STEP:VELO") } record(longin, "$(CM,recursive)10:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_0_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)10:STEP:VELO_RBV") } record(longout, "$(CM,recursive)10:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_0_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)10:STEP:ACCEL") } record(longin, "$(CM,recursive)10:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_0_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)10:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)10:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_0_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)10:STEP:DRVI") } record(longin, "$(CM,recursive)10:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_0_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)10:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)10:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)10:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)10:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)10:STEP:STATWRD") { field(INP, "$(CM,recursive)10:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)10:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)10:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)10:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)10:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_0_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)10:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)10:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)10:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)10:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)10:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)10:STEP:CTRLWRD MS") field(OUT , "@name=resa reg=rc_dsp_0_m_cntl") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)10:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_0_m_cntl") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)10:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)10:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_status_0") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)10:STEP:STATWRD") } record(longout, "$(CM,recursive)10:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resa reg=rc_dsp_0_m_steps") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)10:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_0_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)10:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_abs_steps_0") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)10:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_sgn_steps_0") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)10:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)20:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)20:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)20:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)20:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)20:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)20:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)20:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)20:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)20:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)20:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)20:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)20:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)20:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)20:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)20:STEP:DRVI PP") } record(longout, "$(CM,recursive)20:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_1_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)20:STEP:VELO") } record(longin, "$(CM,recursive)20:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_1_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)20:STEP:VELO_RBV") } record(longout, "$(CM,recursive)20:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_1_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)20:STEP:ACCEL") } record(longin, "$(CM,recursive)20:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_1_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)20:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)20:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_1_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)20:STEP:DRVI") } record(longin, "$(CM,recursive)20:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_1_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)20:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)20:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)20:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)20:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)20:STEP:STATWRD") { field(INP, "$(CM,recursive)20:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)20:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)20:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)20:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)20:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_1_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)20:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)20:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)20:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)20:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)20:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)20:STEP:CTRLWRD MS") field(OUT , "@name=resa reg=rc_dsp_1_m_cntl") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)20:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_1_m_cntl") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)20:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)20:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_status_1") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)20:STEP:STATWRD") } record(longout, "$(CM,recursive)20:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resa reg=rc_dsp_1_m_steps") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)20:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_1_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)20:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_abs_steps_1") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)20:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_sgn_steps_1") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)20:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)30:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)30:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)30:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)30:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)30:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)30:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)30:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)30:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)30:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)30:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)30:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)30:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)30:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)30:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)30:STEP:DRVI PP") } record(longout, "$(CM,recursive)30:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_2_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)30:STEP:VELO") } record(longin, "$(CM,recursive)30:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_2_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)30:STEP:VELO_RBV") } record(longout, "$(CM,recursive)30:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_2_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)30:STEP:ACCEL") } record(longin, "$(CM,recursive)30:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_2_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)30:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)30:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_2_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)30:STEP:DRVI") } record(longin, "$(CM,recursive)30:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_2_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)30:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)30:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)30:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)30:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)30:STEP:STATWRD") { field(INP, "$(CM,recursive)30:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)30:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)30:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)30:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)30:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_2_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)30:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)30:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)30:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)30:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)30:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)30:STEP:CTRLWRD MS") field(OUT , "@name=resa reg=rc_dsp_2_m_cntl") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)30:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_2_m_cntl") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)30:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)30:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_status_2") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)30:STEP:STATWRD") } record(longout, "$(CM,recursive)30:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resa reg=rc_dsp_2_m_steps") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)30:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_2_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)30:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_abs_steps_2") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)30:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_sgn_steps_2") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)30:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)40:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)40:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)40:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)40:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)40:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)40:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)40:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)40:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)40:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)40:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)40:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)40:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)40:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)40:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)40:STEP:DRVI PP") } record(longout, "$(CM,recursive)40:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_3_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)40:STEP:VELO") } record(longin, "$(CM,recursive)40:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_3_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)40:STEP:VELO_RBV") } record(longout, "$(CM,recursive)40:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_3_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)40:STEP:ACCEL") } record(longin, "$(CM,recursive)40:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_3_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)40:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)40:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resa reg=rc_dsp_3_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)40:STEP:DRVI") } record(longin, "$(CM,recursive)40:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_3_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)40:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)40:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)40:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)40:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)40:STEP:STATWRD") { field(INP, "$(CM,recursive)40:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)40:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)40:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)40:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)40:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_3_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)40:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)40:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)40:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)40:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)40:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)40:STEP:CTRLWRD MS") field(OUT , "@name=resa reg=rc_dsp_3_m_cntl") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)40:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_3_m_cntl") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)40:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)40:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_status_3") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)40:STEP:STATWRD") } record(longout, "$(CM,recursive)40:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resa reg=rc_dsp_3_m_steps") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)40:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=rc_dsp_3_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)40:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_abs_steps_3") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)40:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=m_sgn_steps_3") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)40:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)50:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)50:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)50:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)50:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)50:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)50:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)50:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)50:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)50:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)50:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)50:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)50:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)50:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)50:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)50:STEP:DRVI PP") } record(longout, "$(CM,recursive)50:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_0_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)50:STEP:VELO") } record(longin, "$(CM,recursive)50:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_0_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)50:STEP:VELO_RBV") } record(longout, "$(CM,recursive)50:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_0_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)50:STEP:ACCEL") } record(longin, "$(CM,recursive)50:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_0_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)50:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)50:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_0_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)50:STEP:DRVI") } record(longin, "$(CM,recursive)50:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_0_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)50:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)50:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)50:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)50:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)50:STEP:STATWRD") { field(INP, "$(CM,recursive)50:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)50:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)50:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)50:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)50:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_0_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)50:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)50:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)50:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)50:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)50:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)50:STEP:CTRLWRD MS") field(OUT , "@name=resb reg=rc_dsp_0_m_cntl") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)50:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_0_m_cntl") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)50:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)50:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_status_0") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)50:STEP:STATWRD") } record(longout, "$(CM,recursive)50:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resb reg=rc_dsp_0_m_steps") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)50:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_0_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)50:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_abs_steps_0") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)50:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_sgn_steps_0") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)50:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)60:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)60:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)60:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)60:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)60:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)60:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)60:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)60:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)60:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)60:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)60:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)60:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)60:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)60:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)60:STEP:DRVI PP") } record(longout, "$(CM,recursive)60:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_1_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)60:STEP:VELO") } record(longin, "$(CM,recursive)60:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_1_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)60:STEP:VELO_RBV") } record(longout, "$(CM,recursive)60:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_1_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)60:STEP:ACCEL") } record(longin, "$(CM,recursive)60:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_1_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)60:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)60:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_1_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)60:STEP:DRVI") } record(longin, "$(CM,recursive)60:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_1_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)60:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)60:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)60:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)60:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)60:STEP:STATWRD") { field(INP, "$(CM,recursive)60:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)60:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)60:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)60:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)60:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_1_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)60:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)60:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)60:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)60:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)60:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)60:STEP:CTRLWRD MS") field(OUT , "@name=resb reg=rc_dsp_1_m_cntl") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)60:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_1_m_cntl") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)60:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)60:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_status_1") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)60:STEP:STATWRD") } record(longout, "$(CM,recursive)60:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resb reg=rc_dsp_1_m_steps") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)60:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_1_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)60:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_abs_steps_1") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)60:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_sgn_steps_1") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)60:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)70:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)70:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)70:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)70:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)70:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)70:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)70:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)70:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)70:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)70:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)70:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)70:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)70:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)70:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)70:STEP:DRVI PP") } record(longout, "$(CM,recursive)70:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_2_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)70:STEP:VELO") } record(longin, "$(CM,recursive)70:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_2_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)70:STEP:VELO_RBV") } record(longout, "$(CM,recursive)70:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_2_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)70:STEP:ACCEL") } record(longin, "$(CM,recursive)70:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_2_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)70:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)70:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_2_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)70:STEP:DRVI") } record(longin, "$(CM,recursive)70:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_2_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)70:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)70:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)70:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)70:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)70:STEP:STATWRD") { field(INP, "$(CM,recursive)70:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)70:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)70:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)70:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)70:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_2_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)70:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)70:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)70:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)70:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)70:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)70:STEP:CTRLWRD MS") field(OUT , "@name=resb reg=rc_dsp_2_m_cntl") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)70:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_2_m_cntl") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)70:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)70:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_status_2") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)70:STEP:STATWRD") } record(longout, "$(CM,recursive)70:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resb reg=rc_dsp_2_m_steps") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)70:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_2_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)70:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_abs_steps_2") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)70:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_sgn_steps_2") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)70:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_step.template: #---------------------------------- #================================== #================================== # Seq program diagnostics #================================== # Prints messages to ioc console record(bo, "$(CM,recursive)80:STEP:DBGCTRL") { field(DESC, "Cav stepper SNL msg verbosity") field(OMSL, "supervisory") field(ZNAM, "Off") field(ONAM, "On") field(OSV, "MINOR") field(VAL, "0") } #================================== # Stepper mode, manual or auto #================================== record(bo, "$(CM,recursive)80:STEP:MODECTRL") { field(DESC, "Set auto/manual tuner") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "Manual") field(ONAM, "Auto") field(PINI, "YES") field(OUT, "$(CM,recursive)80:STEP:CTRLWRD.B7 PP") # field(ASG, "") } record(bi, "$(CM,recursive)80:STEP:MODE") { field(DESC, "Auto/manual tuner") field(SCAN, "1 second") field(ZNAM, "Manual") field(ONAM, "Auto") field(INP, "$(CM,recursive)80:STEP:CTRLWRD.B7") # field(ASG, "") } #================================== # Tuner stepper mover command # requests. Set to 1 to make request. # Seq program listens to these, # takes action, then resets PV(s) to 0. #================================== # Move request in positive direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)80:STEP:MOV_REQ_POS") { field(DESC, "Request tuner positive move") field(OMSL, "supervisory") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move request in negative direction. # Moves tuner mover by NSTEPS steps record(bo, "$(CM,recursive)80:STEP:MOV_REQ_NEG") { field(DESC, "Request tuner negative move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Move request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Move abort request. record(bo, "$(CM,recursive)80:STEP:ABORT_REQ") { field(DESC, "Request abort tuner move") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Abort request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } ## Move 'clear' request. # Eventually remove. record(bo, "$(CM,recursive)80:STEP:CLEAR_REQ") { field(DESC, "Request tuner clear") field(OMSL, "supervisory") field(ZNAM, "No request") field(ONAM, "Clear request") field(VAL, "0") field(PINI, "YES") # field(ASG, "") } # Last status record(mbbo, "$(CM,recursive)80:STEP:STATMSG") { field(OMSL, "supervisory") field(ZRST, "Await request") field(ZRSV, "NO_ALARM") field(ONST, "Move requested") field(ONSV, "NO_ALARM") field(TWST, "Move issued") field(TWSV, "NO_ALARM") field(THST, "Abort issued") field(THSV, "NO_ALARM") field(FRST, "Clear issued") field(FRSV, "NO_ALARM") field(FVST, "Still moving") field(FVSV, "MAJOR") field(SXST, "Inhibit bit set") field(SXSV, "MAJOR") field(SVST, "In auto mode") field(SVSV, "MAJOR") field(EIST, "Abort bit set") field(EISV, "MAJOR") field(NIST, "Sign limit") field(NISV, "MAJOR") field(TEST, "Abs limit") field(TESV, "MAJOR") field(ELST, "At limit A") field(ELSV, "MAJOR") field(TVST, "At limit B") field(TVSV, "MAJOR") field(PINI, "YES") info(autosaveFields, "VAL") } #================================== # Tuner move request number of steps. # Absolute value. Direction of # move is determined by which # move request PV is used (above)-- # POS(itive) or NEG(ative). # Seq program pushes value # to REGNSTEPS when executing move #================================== record(longout, "$(CM,recursive)80:STEP:NSTEPS") { field(OMSL, "supervisory") field(PINI, "YES") field(EGU, "steps") # DRVL set to enforce positive value field(DRVL, "0") # 50000 from LLRF func req doc, but # not practical, so try 1e6 field(DRVH, "1000000") info(autosaveFields, "VAL DRVH") } #================================== # Motor settings #================================== # Set correct motor settings record(seq, "$(CM,recursive)80:STEP:INIT_SETTINGS") { field(DESC, "Set motor settings") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "20000") field(LNK1, "$(CM,recursive)80:STEP:VELO PP") field(DOL2, "4000") field(LNK2, "$(CM,recursive)80:STEP:ACCEL PP") field(DOL3, "11") field(LNK3, "$(CM,recursive)80:STEP:DRVI PP") } record(longout, "$(CM,recursive)80:STEP:VELO") { field(DESC, "Stepper velocity") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_3_m_vlcty") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "20000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)80:STEP:VELO") } record(longin, "$(CM,recursive)80:STEP:VELO_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_3_m_vlcty") field(EGU, "usteps/s") field(LOLO, "19999") field(HIHI, "20001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") info(feed:info:setting, "$(CM,recursive)80:STEP:VELO_RBV") } record(longout, "$(CM,recursive)80:STEP:ACCEL") { field(DESC, "Stepper acceleration") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_3_m_acc") field(EGU, "usteps/s") field(PINI, "YES") field(VAL, "4000") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)80:STEP:ACCEL") } record(longin, "$(CM,recursive)80:STEP:ACCEL_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_3_m_acc") field(EGU, "usteps/s") info(feed:info:setting, "$(CM,recursive)80:STEP:ACCEL_RBV") field(LOLO, "3999") field(HIHI, "4001") field(LLSV, "MAJOR") field(HHSV, "MAJOR") } record(longout, "$(CM,recursive)80:STEP:DRVI") { field(DESC, "Stepper drive current") field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(OUT , "@name=resb reg=rc_dsp_3_m_drvI") field(EGU, "raw") field(VAL, "11") field(PINI, "YES") # TODO: autosave? # info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,recursive)80:STEP:DRVI") } record(longin, "$(CM,recursive)80:STEP:DRVI_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_3_m_drvI") field(EGU, "raw") field(LOLO, "10") field(HIHI, "12") field(LLSV, "MAJOR") field(HHSV, "MAJOR") field(FLNK, "$(CM,recursive)80:STEP:DRVI_RBV_A") info(feed:info:setting, "$(CM,recursive)80:STEP:DRVI_RBV") } record(calc, "$(CM,recursive)80:STEP:DRVI_RBV_A") { field(CALC, "((A+1)/32)*1.17*1000") field(INPA, "$(CM,recursive)80:STEP:DRVI_RBV MS") field(EGU, "mA") } #================================== # Status and control words #================================== # Status word, readback only # Bit definitions (from edm screen, double-check): # 0 - Motor moving # 1 - Last direction, 0=positive, 1=negative # 2 - Motor done # 3 - Limit B # 4 - Limit A # 5 - Any limit # 6 - Inhibit # 7 - Low current (25%) # 8 - Sign limit # 9 - Absolute limit # Temporary make output record record(mbbiDirect, "$(CM,recursive)80:STEP:STATWRD") { field(INP, "$(CM,recursive)80:STEP:REG_STATWRD MS") } # Control word # Bit definitions (from seq program, double-check): # 0 - Move command # 1 - # 2 - # 3 - Abort command # 4 - Clear-done commandx # 5 - Move direction, 0=positive, 1=negative # 6 - # 7 - Control mode, 0=manual, 1=auto record(mbboDirect, "$(CM,recursive)80:STEP:CTRLWRD") { field(OMSL, "supervisory") field(FLNK, "$(CM,recursive)80:STEP:REG_CTRLWRD") field(PINI, "") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(mbbiDirect, "$(CM,recursive)80:STEP:CTRLWRD_RBV") { field(SCAN, "1 second") field(INP, "$(CM,recursive)80:STEP:REG_CTRLWRD_RBV MS") # field(INP, "TST0:reg_m_status_3_RBV MS") } #================================== # Clear step counts #================================== record(bo, "$(CM,recursive)80:STEP:TOTABS_RESET") { field(DESC, "Reset abs steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)80:STEP:CTRLWRD.B9 PP") field(HIGH, "0.5") # field(ASG, "") } record(bo, "$(CM,recursive)80:STEP:TOTSGN_RESET") { field(DESC, "Reset signed steps count") field(OMSL, "supervisory") field(VAL, "0") field(ZNAM, "No reset") field(ONAM, "Reset") field(OUT, "$(CM,recursive)80:STEP:CTRLWRD.B8 PP") field(HIGH, "0.5") # field(ASG, "") } #================================== # Firmware registers #================================== record(longout, "$(CM,recursive)80:STEP:REG_CTRLWRD") { field(DTYP, "FEED Register Write") field(OMSL, "closed_loop") field(DOL, "$(CM,recursive)80:STEP:CTRLWRD MS") field(OUT , "@name=resb reg=rc_dsp_3_m_cntl") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_CTRLWRD") } record(longin, "$(CM,recursive)80:STEP:REG_CTRLWRD_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_3_m_cntl") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_CTRLWRD_RBV") field(FLNK, "$(CM,recursive)80:STEP:CTRLWRD_RBV") } record(longin, "$(CM,recursive)80:STEP:REG_STATWRD") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_status_3") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_STATWRD") field(FLNK, "$(CM,recursive)80:STEP:STATWRD") } record(longout, "$(CM,recursive)80:STEP:REG_NSTEPS") { field(DTYP, "FEED Register Write") field(OMSL, "supervisory") field(EGU, "steps") field(OUT , "@name=resb reg=rc_dsp_3_m_steps") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_NSTEPS") } record(longin, "$(CM,recursive)80:STEP:REG_NSTEPS_RBV") { field(DESC, "Last request steps") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=rc_dsp_3_m_steps") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_NSTEPS_RBV") } record(longin, "$(CM,recursive)80:STEP:REG_TOTABS") { field(DESC, "Total steps moved, absolute") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_abs_steps_3") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_STEPSABS") } record(longin, "$(CM,recursive)80:STEP:REG_TOTSGN") { field(DESC, "Total steps moved, signed") field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=m_sgn_steps_3") field(EGU, "steps") info(feed:info:setting, "$(CM,recursive)80:STEP:REG_TOTSGN") } #================================== #---------------------------------- # cav_pzt.template: # # Per-cavity piezo template. # DAC voltage range is determined # by macros. cav_pzt_50.sub # and piezoCav100.sub files are # for 0-50V and 0-100V respectively. # # 3/27/2019 - current implementation: # Two 'mode' options: # DC # Integrator # Both actually have registers # set for integrator. The only # difference between the two is that # in DC mode, the integrator limits # (INTEG_L/H aka regs ctrl_dac_min/max) # are both set to the DC setpoint # (DAC_SP_CALC). In Integrator, # these limits are opened to ... # The bias can be set by users in # order to operate the piezo away # from the low limit of its operating # range (to avoid clipping). # We use DOL/OMSL to force nearly # all settings to be fixed. # # Limit flow in firmware: # integrator aka INTEG_L/H (signed) -> # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)10:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)10:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)10:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)10:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)10:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)10:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)10:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)10:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)10:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)10:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)10:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)10:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)10:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)10:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)10:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)10:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)10:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)10:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)10:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)10:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)10:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)10:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)10:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)10:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)10:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)10:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)10:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)10:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)10:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)10:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)10:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)10:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)10:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)10:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)10:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESA:CCR0_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)10:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)10:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)10:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)10:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)10:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)10:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)10:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)10:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)10:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)10:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)10:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)10:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)20:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)20:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)20:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)20:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)20:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)20:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)20:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)20:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)20:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)20:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)20:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)20:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)20:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)20:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)20:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)20:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)20:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)20:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)20:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)20:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)20:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)20:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)20:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)20:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)20:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)20:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)20:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)20:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)20:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)20:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)20:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)20:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)20:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)20:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)20:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESA:CCR0_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)20:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)20:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)20:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)20:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)20:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)20:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)20:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)20:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)20:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)20:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)20:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)20:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)30:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)30:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)30:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)30:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)30:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)30:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)30:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)30:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)30:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)30:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)30:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)30:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)30:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)30:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)30:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)30:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)30:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)30:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)30:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)30:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)30:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)30:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)30:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)30:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)30:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)30:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)30:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)30:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)30:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)30:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)30:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)30:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)30:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)30:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)30:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESA:CCR1_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)30:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)30:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)30:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)30:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)30:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)30:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)30:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)30:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)30:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)30:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)30:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)30:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)40:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)40:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)40:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)40:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)40:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)40:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)40:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)40:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)40:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)40:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)40:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)40:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)40:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)40:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)40:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)40:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)40:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)40:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)40:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)40:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)40:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)40:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)40:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)40:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)40:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)40:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)40:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)40:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)40:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)40:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)40:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)40:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)40:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)40:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)40:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESA:CCR1_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)40:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)40:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)40:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)40:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)40:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)40:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)40:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)40:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)40:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)40:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)40:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)40:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)50:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)50:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)50:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)50:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)50:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)50:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)50:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)50:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)50:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)50:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)50:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)50:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)50:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)50:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)50:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)50:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)50:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)50:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)50:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)50:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)50:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)50:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)50:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)50:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)50:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)50:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)50:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)50:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)50:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)50:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)50:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)50:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)50:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)50:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)50:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESB:CCR0_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)50:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)50:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)50:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)50:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)50:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)50:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)50:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)50:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)50:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)50:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)50:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)50:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)60:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)60:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)60:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)60:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)60:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)60:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)60:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)60:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)60:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)60:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)60:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)60:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)60:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)60:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)60:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)60:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)60:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)60:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)60:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)60:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)60:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)60:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)60:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)60:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)60:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)60:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)60:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)60:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)60:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)60:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)60:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)60:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)60:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)60:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)60:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESB:CCR0_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)60:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)60:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)60:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)60:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)60:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)60:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)60:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)60:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)60:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)60:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)60:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)60:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)70:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)70:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)70:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)70:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)70:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)70:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)70:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)70:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)70:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)70:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)70:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)70:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)70:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)70:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)70:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)70:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)70:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)70:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)70:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)70:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)70:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)70:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)70:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)70:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)70:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)70:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)70:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)70:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)70:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)70:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)70:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)70:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)70:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)70:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)70:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESB:CCR1_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)70:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)70:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)70:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)70:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)70:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)70:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)70:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)70:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)70:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)70:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)70:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)70:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B # controller aka CTRL_L/H (unsigned) -> # DAC aka DAC_L/H (unsigned) # # Intended workflow: # Set bias voltage to ~25 V. # Set to DC mode. Manually adjust # DAC setpoint to zero detune. # Set to Integrator. Then firmware # will use detune from RFS to # control piezo output. # # Still needed: smooth transition # from Integrator back to DC. # Currently DAC output will just # jump to last DAC setting. Need # FW to provide live piezo output # so we can update DC DAC setting # to this setting. #---------------------------------- #================================== #================================== # On reconnect, push bias setting #================================== record(longin, "$(CM,recursive)80:PZT:INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,recursive)80:PZT:BIAS") } #================================== # Enable/disable piezo tuner # Determine enabled/disabled state #================================== record(bo, "$(CM,recursive)80:PZT:ENABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Enable") field(ONAM, "Enable") field(PINI, "NO") field(FLNK, "$(CM,recursive)80:PZT:ENABLESEQ") } # Steps: enable board, enable ADC, enable DAC # Set to source = Controller record(seq, "$(CM,recursive)80:PZT:ENABLESEQ") { field(DESC, "Enable piezo for use") field(SELM, "All") # Add DAC disable to cover some missing # step needed after FW load. field(DOL1, "0") field(LNK1, "$(CM,recursive)80:PZT:CTRLWRD.B2 PP") # Start workaround # Reset/set source reg (to force FW to work) field(DOL2, "0") field(LNK2, "$(CM,recursive)80:PZT:REG_SRC PP") field(DLY3, ".1") field(DOL3, "10") field(LNK3, "$(CM,recursive)80:PZT:REG_SRC PP") # End workaround # Enable bits must be set one at a time field(DLY4, ".2") field(DOL4, "1") field(LNK4, "$(CM,recursive)80:PZT:CTRLWRD.B0 PP") field(DLY5, ".2") field(DOL5, "1") field(LNK5, "$(CM,recursive)80:PZT:CTRLWRD.B1 PP") field(DLY6, ".2") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:PZT:CTRLWRD.B2 PP") } record(bo, "$(CM,recursive)80:PZT:DISABLE") { field(DESC, "Enable piezo tuner") field(OMSL, "supervisory") field(ZNAM, "Disable") field(ONAM, "Disable") field(PINI, "NO") field(FLNK, "$(CM,recursive)80:PZT:DISABLESEQ") } # Steps: disable DAC, disable ADC, disable board record(seq, "$(CM,recursive)80:PZT:DISABLESEQ") { field(DESC, "Disable piezo for use") field(SELM, "All") field(DOL1, "0") field(LNK1, "$(CM,recursive)80:PZT:CTRLWRD.B2 NPP") field(DLY2, ".1") field(DOL2, "0") field(LNK2, "$(CM,recursive)80:PZT:CTRLWRD.B1 NPP") field(DLY3, ".1") field(DOL3, "0") field(LNK3, "$(CM,recursive)80:PZT:CTRLWRD.B0 PP") } # Not absolutely necessary to check ADC enabled # but will presumably be needed eventually so start now record(calc, "$(CM,recursive)80:PZT:ENABLESTATCALC") { field(DESC, "Calc enable state") # 0x7 = 111b = board/ADC/DAC enable bits all set field(CALC, "(A&B)=B?1:0") field(INPA, "$(CM,recursive)80:PZT:CTRLWRD_RBV CPP MSI") field(INPB, "0x7") field(FLNK, "$(CM,recursive)80:PZT:ENABLESTAT") field(PINI, "YES") } record(bi, "$(CM,recursive)80:PZT:ENABLESTAT") { field(DESC, "Piezo enable status") field(INP, "$(CM,recursive)80:PZT:ENABLESTATCALC MS") field(ZNAM, "Not enabled") field(ZSV, "MINOR") field(ONAM, "Enabled") } #================================== # Set up piezo tuner control mode # Determine state #================================== record(mbbo, "$(CM,recursive)80:PZT:MODECTRL") { field(DESC, "Set piezo operating mode") field(ZRVL, "0") field(ZRST, "DC") field(ONVL, "1") field(ONST, "Integrator") field(PINI, "NO") field(FLNK, "$(CM,recursive)80:PZT:MODECTRLCALC") info(autosaveFields, "VAL") } record(calcout, "$(CM,recursive)80:PZT:MODECTRLCALC") { field(DESC, "Set piezo mode") field(CALC, "A+1") field(INPA, "$(CM,recursive)80:PZT:MODECTRL") field(OCAL, "A=1?1:0") field(OOPT, "Every Time") field(DOPT, "Use OCAL") field(FLNK, "$(CM,recursive)80:PZT:MODECTRLSEQ") } record(seq, "$(CM,recursive)80:PZT:MODECTRLSEQ") { field(DESC, "Set piezo mode") field(SELM, "Specified") field(SELL, "$(CM,recursive)80:PZT:MODECTRLCALC") field(DOL1, "1") field(LNK1, "$(CM,recursive)80:PZT:ENABLE_DC.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)80:PZT:ENABLE_INTEGDC.PROC") } # Common pieces of enabling # integrator and DC+integrator # Process records; most settings are # hard-coded in OMSL/DOL record(seq, "$(CM,recursive)80:PZT:ENABLE_") { field(DESC, "Enable piezo") field(SELM, "All") field(SCAN, "Passive") field(PINI, "NO") field(DOL1, "1") field(LNK1, "$(CM,recursive)80:PZT:DAC_L.PROC") field(DOL2, "1") field(LNK2, "$(CM,recursive)80:PZT:DAC_H.PROC") field(DOL3, "1") field(LNK3, "$(CM,recursive)80:PZT:CTRL_H.PROC") field(DOL4, "1") field(LNK4, "$(CM,recursive)80:PZT:CTRL_L.PROC") field(DOL5, "1") field(LNK5, "$(CM,recursive)00:RESB:CCR1_ERROR_RESET PP") field(DLY6, ".5") field(DOL6, "1") field(LNK6, "$(CM,recursive)80:PZT:CTRL.PROC") field(DOL7, "1") field(LNK7, "$(CM,recursive)80:PZT:BIAS.PROC") field(DOL8, "1") field(LNK8, "$(CM,recursive)80:PZT:BIAS_ENABLE.PROC") field(DOL9, "10") field(LNK9, "$(CM,recursive)80:PZT:REG_SRC PP") field(DOLA, "1") field(LNKA, "$(CM,recursive)80:PZT:DF_SRC.PROC") field(FLNK, "$(CM,recursive)80:PZT:INTEG_ENABLE") } record(seq, "$(CM,recursive)80:PZT:ENABLE_DC") { field(DESC, "Enable piezo integ controller") field(SELM, "All") # Settings from res_ctl.py field(DOL1, "1") field(LNK1, "$(CM,recursive)80:PZT:INTEG_H.OMSL PP") field(DOL2, "1") field(LNK2, "$(CM,recursive)80:PZT:INTEG_L.OMSL PP") field(DOL3, "1") field(LNK3, "$(CM,recursive)80:PZT:ENABLE_.PROC") } # Calculate 1/4 of allowed DAC range # 0-50 or 0-100V, depending on macro values # Currently set integrator limits # to DC DAC setting +/- this value. record(calc, "$(CM,recursive)80:PZT:INTEG_LIM_OFFSET") { field(DESC, "Scale to DAC counts") field(CALC, "FLOOR(A/B)") field(INPA, "262143") field(INPB, "4") field(PINI, "YES") } record(calcout, "$(CM,recursive)80:PZT:ENABLE_INTEGDC_CALC") { field(DESC, "Calc new integrator limits") field(CALC, "A+B>C?C:A+B") field(OCAL, "A-B VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)10:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)10:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)10:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)10:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)10:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)10:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)10:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)10:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)10:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=shell_0_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)10:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)10:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)10:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)10:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)10:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)10:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)10:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)10:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)10:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)10:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)10:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)10:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)10:ACQ_CMD_ PP") } # write 1 to reg circle_buf_flip record(longout, "$(CM,undefined)10:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=circle_buf_flip") field(VAL , "1") field(FLNK, "$(CM,undefined)10:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)10:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)10:ACQ_RDY_RBV_") } # wait for value & 1 == 1 for reg llrf_circle_ready record(bo, "$(CM,undefined)10:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs1a retry=0.1 reg=llrf_circle_ready mask=1 value=1") field(FLNK, "$(CM,undefined)10:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)10:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)10:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)10:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)10:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") field(INP , "@name=rfs1a reg=shell_0_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)10:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)10:ACQ_MODE") } record(longout, "$(CM,undefined)10:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)10:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)10:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=34") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)10:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)10:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)10:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)10:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)10:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)10:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)10:CH0:WF") field(LNK1, "$(CM,undefined)10:CH1:WF") field(LNK2, "$(CM,undefined)10:CH2:WF") field(LNK3, "$(CM,undefined)10:CH3:WF") field(LNK4, "$(CM,undefined)10:CH4:WF") field(LNK5, "$(CM,undefined)10:CH5:WF") field(LNK6, "$(CM,undefined)10:CH6:WF") field(LNK7, "$(CM,undefined)10:CH7:WF") field(LNK8, "$(CM,undefined)10:CH8:WF") field(LNK9, "$(CM,undefined)10:CH9:WF") field(LNKA, "$(CM,undefined)10:CH10:WF") field(LNKB, "$(CM,undefined)10:CH11:WF") field(LNKC, "$(CM,undefined)10:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)10:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)10:ACQ_CNT") { field(SDIS, "$(CM,undefined)10:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)10:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)10:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)10:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1a reg=shell_0_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)10:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)10:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)10:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)10:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)10:ACQ_DLY_") { field(SDIS, "$(CM,undefined)10:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)10:ACQ_HLDOFF field(OUT , "$(CM,undefined)10:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)10:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)10:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)20:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)20:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)20:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)20:ACQ_DECIM") field(LNK2, "$(CM,undefined)20:ACQ_MASK") field(LNK3, "$(CM,undefined)20:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)20:ACQ_MODE") field(FLNK, "$(CM,undefined)20:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)20:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs1a") field(FLNK, "$(CM,undefined)20:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)20:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=shell_1_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)20:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)20:ACQ_DECIM") } record(calc, "$(CM,undefined)20:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)20:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)20:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)20:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)20:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)20:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)20:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)20:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=shell_1_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)20:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)20:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)20:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=shell_1_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)20:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)20:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)20:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)20:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)20:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)20:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)20:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)20:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)20:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)20:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)20:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)20:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=shell_1_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)20:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)20:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)20:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)20:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)20:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)20:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)20:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)20:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)20:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)20:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)20:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)20:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)20:ACQ_CMD_ PP") } # write 2 to reg circle_buf_flip record(longout, "$(CM,undefined)20:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=circle_buf_flip") field(VAL , "2") field(FLNK, "$(CM,undefined)20:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)20:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)20:ACQ_RDY_RBV_") } # wait for value & 2 == 2 for reg llrf_circle_ready record(bo, "$(CM,undefined)20:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs1a retry=0.1 reg=llrf_circle_ready mask=2 value=2") field(FLNK, "$(CM,undefined)20:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)20:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)20:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)20:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)20:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") field(INP , "@name=rfs1a reg=shell_1_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)20:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)20:ACQ_MODE") } record(longout, "$(CM,undefined)20:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)20:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)20:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=34") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)20:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)20:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)20:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)20:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)20:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)20:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)20:CH0:WF") field(LNK1, "$(CM,undefined)20:CH1:WF") field(LNK2, "$(CM,undefined)20:CH2:WF") field(LNK3, "$(CM,undefined)20:CH3:WF") field(LNK4, "$(CM,undefined)20:CH4:WF") field(LNK5, "$(CM,undefined)20:CH5:WF") field(LNK6, "$(CM,undefined)20:CH6:WF") field(LNK7, "$(CM,undefined)20:CH7:WF") field(LNK8, "$(CM,undefined)20:CH8:WF") field(LNK9, "$(CM,undefined)20:CH9:WF") field(LNKA, "$(CM,undefined)20:CH10:WF") field(LNKB, "$(CM,undefined)20:CH11:WF") field(LNKC, "$(CM,undefined)20:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)20:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)20:ACQ_CNT") { field(SDIS, "$(CM,undefined)20:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)20:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)20:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)20:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1a reg=shell_1_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)20:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)20:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)20:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)20:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)20:ACQ_DLY_") { field(SDIS, "$(CM,undefined)20:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)20:ACQ_HLDOFF field(OUT , "$(CM,undefined)20:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)20:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)20:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)10:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)10:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)10:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)10:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_0_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)10:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)10:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)10:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)10:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)10:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)20:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)20:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)20:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)20:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=shell_1_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)20:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)20:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)20:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)20:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)20:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH0:OFFSET") } record(longout, "$(CM,undefined)10:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)10:CH0:STEP") } record(longout, "$(CM,undefined)10:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)10:CH0:WF") info(feed:info:time0, "$(CM,undefined)10:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)10:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH0:NORD") { field(INP , "$(CM,undefined)10:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH1:OFFSET") } record(longout, "$(CM,undefined)10:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)10:CH1:STEP") } record(longout, "$(CM,undefined)10:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)10:CH1:WF") info(feed:info:time1, "$(CM,undefined)10:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)10:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH1:NORD") { field(INP , "$(CM,undefined)10:CH1:WF.NORD") field(FLNK, "$(CM,undefined)10:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH2:OFFSET") } record(longout, "$(CM,undefined)10:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)10:CH2:STEP") } record(longout, "$(CM,undefined)10:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)10:CH2:WF") info(feed:info:time2, "$(CM,undefined)10:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)10:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH2:NORD") { field(INP , "$(CM,undefined)10:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH3:OFFSET") } record(longout, "$(CM,undefined)10:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)10:CH3:STEP") } record(longout, "$(CM,undefined)10:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)10:CH3:WF") info(feed:info:time3, "$(CM,undefined)10:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)10:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH3:NORD") { field(INP , "$(CM,undefined)10:CH3:WF.NORD") field(FLNK, "$(CM,undefined)10:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH4:OFFSET") } record(longout, "$(CM,undefined)10:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)10:CH4:STEP") } record(longout, "$(CM,undefined)10:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)10:CH4:WF") info(feed:info:time4, "$(CM,undefined)10:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)10:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH4:NORD") { field(INP , "$(CM,undefined)10:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH5:OFFSET") } record(longout, "$(CM,undefined)10:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)10:CH5:STEP") } record(longout, "$(CM,undefined)10:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)10:CH5:WF") info(feed:info:time5, "$(CM,undefined)10:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)10:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH5:NORD") { field(INP , "$(CM,undefined)10:CH5:WF.NORD") field(FLNK, "$(CM,undefined)10:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH6:OFFSET") } record(longout, "$(CM,undefined)10:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)10:CH6:STEP") } record(longout, "$(CM,undefined)10:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)10:CH6:WF") info(feed:info:time6, "$(CM,undefined)10:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)10:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH6:NORD") { field(INP , "$(CM,undefined)10:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH7:OFFSET") } record(longout, "$(CM,undefined)10:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)10:CH7:STEP") } record(longout, "$(CM,undefined)10:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)10:CH7:WF") info(feed:info:time7, "$(CM,undefined)10:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)10:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH7:NORD") { field(INP , "$(CM,undefined)10:CH7:WF.NORD") field(FLNK, "$(CM,undefined)10:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH8:OFFSET") } record(longout, "$(CM,undefined)10:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)10:CH8:STEP") } record(longout, "$(CM,undefined)10:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)10:CH8:WF") info(feed:info:time8, "$(CM,undefined)10:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)10:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH8:NORD") { field(INP , "$(CM,undefined)10:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH9:OFFSET") } record(longout, "$(CM,undefined)10:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)10:CH9:STEP") } record(longout, "$(CM,undefined)10:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)10:CH9:WF") info(feed:info:time9, "$(CM,undefined)10:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)10:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH9:NORD") { field(INP , "$(CM,undefined)10:CH9:WF.NORD") field(FLNK, "$(CM,undefined)10:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH10:OFFSET") } record(longout, "$(CM,undefined)10:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)10:CH10:STEP") } record(longout, "$(CM,undefined)10:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)10:CH10:WF") info(feed:info:time10, "$(CM,undefined)10:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)10:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH10:NORD") { field(INP , "$(CM,undefined)10:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)10:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)10:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)10:CH11:OFFSET") } record(longout, "$(CM,undefined)10:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)10:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)10:CH11:STEP") } record(longout, "$(CM,undefined)10:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)10:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)10:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)10:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)10:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)10:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)10:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)10:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)10:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)10:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)10:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)10:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)10:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_0_circle_data signal=$(CM,undefined)10:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)10:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)10:CH11:WF") info(feed:info:time11, "$(CM,undefined)10:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)10:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)10:CH11:NORD") { field(INP , "$(CM,undefined)10:CH11:WF.NORD") field(FLNK, "$(CM,undefined)10:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)10:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)10:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)10:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)10:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)10:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)10:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CH11:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH0:OFFSET") } record(longout, "$(CM,undefined)20:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)20:CH0:STEP") } record(longout, "$(CM,undefined)20:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)20:CH0:WF") info(feed:info:time0, "$(CM,undefined)20:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)20:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH0:NORD") { field(INP , "$(CM,undefined)20:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH1:OFFSET") } record(longout, "$(CM,undefined)20:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)20:CH1:STEP") } record(longout, "$(CM,undefined)20:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)20:CH1:WF") info(feed:info:time1, "$(CM,undefined)20:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)20:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH1:NORD") { field(INP , "$(CM,undefined)20:CH1:WF.NORD") field(FLNK, "$(CM,undefined)20:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH2:OFFSET") } record(longout, "$(CM,undefined)20:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)20:CH2:STEP") } record(longout, "$(CM,undefined)20:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)20:CH2:WF") info(feed:info:time2, "$(CM,undefined)20:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)20:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH2:NORD") { field(INP , "$(CM,undefined)20:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH3:OFFSET") } record(longout, "$(CM,undefined)20:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)20:CH3:STEP") } record(longout, "$(CM,undefined)20:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)20:CH3:WF") info(feed:info:time3, "$(CM,undefined)20:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)20:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH3:NORD") { field(INP , "$(CM,undefined)20:CH3:WF.NORD") field(FLNK, "$(CM,undefined)20:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH4:OFFSET") } record(longout, "$(CM,undefined)20:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)20:CH4:STEP") } record(longout, "$(CM,undefined)20:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)20:CH4:WF") info(feed:info:time4, "$(CM,undefined)20:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)20:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH4:NORD") { field(INP , "$(CM,undefined)20:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH5:OFFSET") } record(longout, "$(CM,undefined)20:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)20:CH5:STEP") } record(longout, "$(CM,undefined)20:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)20:CH5:WF") info(feed:info:time5, "$(CM,undefined)20:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)20:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH5:NORD") { field(INP , "$(CM,undefined)20:CH5:WF.NORD") field(FLNK, "$(CM,undefined)20:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH6:OFFSET") } record(longout, "$(CM,undefined)20:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)20:CH6:STEP") } record(longout, "$(CM,undefined)20:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)20:CH6:WF") info(feed:info:time6, "$(CM,undefined)20:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)20:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH6:NORD") { field(INP , "$(CM,undefined)20:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH7:OFFSET") } record(longout, "$(CM,undefined)20:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)20:CH7:STEP") } record(longout, "$(CM,undefined)20:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)20:CH7:WF") info(feed:info:time7, "$(CM,undefined)20:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)20:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH7:NORD") { field(INP , "$(CM,undefined)20:CH7:WF.NORD") field(FLNK, "$(CM,undefined)20:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH8:OFFSET") } record(longout, "$(CM,undefined)20:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)20:CH8:STEP") } record(longout, "$(CM,undefined)20:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)20:CH8:WF") info(feed:info:time8, "$(CM,undefined)20:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)20:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH8:NORD") { field(INP , "$(CM,undefined)20:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH9:OFFSET") } record(longout, "$(CM,undefined)20:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)20:CH9:STEP") } record(longout, "$(CM,undefined)20:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)20:CH9:WF") info(feed:info:time9, "$(CM,undefined)20:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)20:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH9:NORD") { field(INP , "$(CM,undefined)20:CH9:WF.NORD") field(FLNK, "$(CM,undefined)20:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH10:OFFSET") } record(longout, "$(CM,undefined)20:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)20:CH10:STEP") } record(longout, "$(CM,undefined)20:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)20:CH10:WF") info(feed:info:time10, "$(CM,undefined)20:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)20:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH10:NORD") { field(INP , "$(CM,undefined)20:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)20:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)20:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)20:CH11:OFFSET") } record(longout, "$(CM,undefined)20:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)20:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)20:CH11:STEP") } record(longout, "$(CM,undefined)20:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)20:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)20:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)20:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)20:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)20:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)20:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)20:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)20:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)20:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)20:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)20:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)20:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1a reg=shell_1_circle_data signal=$(CM,undefined)20:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)20:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)20:CH11:WF") info(feed:info:time11, "$(CM,undefined)20:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)20:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)20:CH11:NORD") { field(INP , "$(CM,undefined)20:CH11:WF.NORD") field(FLNK, "$(CM,undefined)20:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)20:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)20:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)20:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)20:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)20:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)20:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CH11:TWF_.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)10:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH0:TWF", "$(CM,undefined)10:DRV:TWF") alias("$(CM,undefined)10:CH0:WF", "$(CM,undefined)10:DRV:IWF") alias("$(CM,undefined)10:CH1:WF", "$(CM,undefined)10:DRV:QWF") alias("$(CM,undefined)10:CH0:SCALE", "$(CM,undefined)10:DRV:ISCALE") alias("$(CM,undefined)10:CH1:SCALE", "$(CM,undefined)10:DRV:QSCALE") alias("$(CM,undefined)10:CH0:NORD", "$(CM,undefined)10:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)10:DRV:ENABLE") } record(aai, "$(CM,undefined)10:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)10:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:DRV:ENABLE", "$(CM,undefined)10:CH0:ENABLE") alias("$(CM,undefined)10:DRV:ENABLE", "$(CM,undefined)10:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)10:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)10:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)10:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)10:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)10:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)10:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } record(aai, "$(CM,undefined)10:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)10:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH2:TWF", "$(CM,undefined)10:FWD:TWF") alias("$(CM,undefined)10:CH2:WF", "$(CM,undefined)10:FWD:IWF") alias("$(CM,undefined)10:CH3:WF", "$(CM,undefined)10:FWD:QWF") alias("$(CM,undefined)10:CH2:SCALE", "$(CM,undefined)10:FWD:ISCALE") alias("$(CM,undefined)10:CH3:SCALE", "$(CM,undefined)10:FWD:QSCALE") alias("$(CM,undefined)10:CH2:NORD", "$(CM,undefined)10:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)10:FWD:ENABLE") } record(aai, "$(CM,undefined)10:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)10:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:FWD:ENABLE", "$(CM,undefined)10:CH2:ENABLE") alias("$(CM,undefined)10:FWD:ENABLE", "$(CM,undefined)10:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)10:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)10:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)10:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)10:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)10:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)10:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } record(aai, "$(CM,undefined)10:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)10:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH4:TWF", "$(CM,undefined)10:REV:TWF") alias("$(CM,undefined)10:CH4:WF", "$(CM,undefined)10:REV:IWF") alias("$(CM,undefined)10:CH5:WF", "$(CM,undefined)10:REV:QWF") alias("$(CM,undefined)10:CH4:SCALE", "$(CM,undefined)10:REV:ISCALE") alias("$(CM,undefined)10:CH5:SCALE", "$(CM,undefined)10:REV:QSCALE") alias("$(CM,undefined)10:CH4:NORD", "$(CM,undefined)10:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)10:REV:ENABLE") } record(aai, "$(CM,undefined)10:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)10:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:REV:ENABLE", "$(CM,undefined)10:CH4:ENABLE") alias("$(CM,undefined)10:REV:ENABLE", "$(CM,undefined)10:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)10:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)10:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)10:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)10:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)10:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aSub, "$(CM,undefined)10:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } record(aai, "$(CM,undefined)10:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)10:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH6:TWF", "$(CM,undefined)10:CAV:TWF") alias("$(CM,undefined)10:CH6:WF", "$(CM,undefined)10:CAV:IWF") alias("$(CM,undefined)10:CH7:WF", "$(CM,undefined)10:CAV:QWF") alias("$(CM,undefined)10:CH6:SCALE", "$(CM,undefined)10:CAV:ISCALE") alias("$(CM,undefined)10:CH7:SCALE", "$(CM,undefined)10:CAV:QSCALE") alias("$(CM,undefined)10:CH6:NORD", "$(CM,undefined)10:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)10:CAV:ENABLE") } record(aai, "$(CM,undefined)10:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)10:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:CAV:ENABLE", "$(CM,undefined)10:CH6:ENABLE") alias("$(CM,undefined)10:CAV:ENABLE", "$(CM,undefined)10:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)10:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)10:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)10:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)10:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)10:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)10:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } record(aai, "$(CM,undefined)10:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)10:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH8:TWF", "$(CM,undefined)10:DAC:TWF") alias("$(CM,undefined)10:CH8:WF", "$(CM,undefined)10:DAC:IWF") alias("$(CM,undefined)10:CH9:WF", "$(CM,undefined)10:DAC:QWF") alias("$(CM,undefined)10:CH8:SCALE", "$(CM,undefined)10:DAC:ISCALE") alias("$(CM,undefined)10:CH9:SCALE", "$(CM,undefined)10:DAC:QSCALE") alias("$(CM,undefined)10:CH8:NORD", "$(CM,undefined)10:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)10:DAC:ENABLE") } record(aai, "$(CM,undefined)10:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)10:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:DAC:ENABLE", "$(CM,undefined)10:CH8:ENABLE") alias("$(CM,undefined)10:DAC:ENABLE", "$(CM,undefined)10:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)10:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)10:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)10:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)10:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)10:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)10:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } record(aai, "$(CM,undefined)10:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)10:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)10:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)10:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)10:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)10:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)10:CH10:TWF", "$(CM,undefined)10:DF:TWF") alias("$(CM,undefined)10:CH10:WF", "$(CM,undefined)10:DF:IWF") alias("$(CM,undefined)10:CH11:WF", "$(CM,undefined)10:DF:QWF") alias("$(CM,undefined)10:CH10:SCALE", "$(CM,undefined)10:DF:ISCALE") alias("$(CM,undefined)10:CH11:SCALE", "$(CM,undefined)10:DF:QSCALE") alias("$(CM,undefined)10:CH10:NORD", "$(CM,undefined)10:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)10:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)10:DF:ENABLE") } record(aai, "$(CM,undefined)10:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)10:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)10:DF:ENABLE", "$(CM,undefined)10:CH10:ENABLE") alias("$(CM,undefined)10:DF:ENABLE", "$(CM,undefined)10:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)10:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)10:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)10:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)10:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)10:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)10:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)10:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)10:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)10:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)10:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)10:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)10:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)10:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)10:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)10:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aSub, "$(CM,undefined)10:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)10:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)10:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } record(aai, "$(CM,undefined)10:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)10:DF:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)20:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH0:TWF", "$(CM,undefined)20:DRV:TWF") alias("$(CM,undefined)20:CH0:WF", "$(CM,undefined)20:DRV:IWF") alias("$(CM,undefined)20:CH1:WF", "$(CM,undefined)20:DRV:QWF") alias("$(CM,undefined)20:CH0:SCALE", "$(CM,undefined)20:DRV:ISCALE") alias("$(CM,undefined)20:CH1:SCALE", "$(CM,undefined)20:DRV:QSCALE") alias("$(CM,undefined)20:CH0:NORD", "$(CM,undefined)20:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)20:DRV:ENABLE") } record(aai, "$(CM,undefined)20:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)20:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:DRV:ENABLE", "$(CM,undefined)20:CH0:ENABLE") alias("$(CM,undefined)20:DRV:ENABLE", "$(CM,undefined)20:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)20:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)20:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)20:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)20:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)20:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)20:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } record(aai, "$(CM,undefined)20:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)20:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH2:TWF", "$(CM,undefined)20:FWD:TWF") alias("$(CM,undefined)20:CH2:WF", "$(CM,undefined)20:FWD:IWF") alias("$(CM,undefined)20:CH3:WF", "$(CM,undefined)20:FWD:QWF") alias("$(CM,undefined)20:CH2:SCALE", "$(CM,undefined)20:FWD:ISCALE") alias("$(CM,undefined)20:CH3:SCALE", "$(CM,undefined)20:FWD:QSCALE") alias("$(CM,undefined)20:CH2:NORD", "$(CM,undefined)20:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)20:FWD:ENABLE") } record(aai, "$(CM,undefined)20:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)20:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:FWD:ENABLE", "$(CM,undefined)20:CH2:ENABLE") alias("$(CM,undefined)20:FWD:ENABLE", "$(CM,undefined)20:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)20:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)20:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)20:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)20:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)20:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)20:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } record(aai, "$(CM,undefined)20:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)20:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH4:TWF", "$(CM,undefined)20:REV:TWF") alias("$(CM,undefined)20:CH4:WF", "$(CM,undefined)20:REV:IWF") alias("$(CM,undefined)20:CH5:WF", "$(CM,undefined)20:REV:QWF") alias("$(CM,undefined)20:CH4:SCALE", "$(CM,undefined)20:REV:ISCALE") alias("$(CM,undefined)20:CH5:SCALE", "$(CM,undefined)20:REV:QSCALE") alias("$(CM,undefined)20:CH4:NORD", "$(CM,undefined)20:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)20:REV:ENABLE") } record(aai, "$(CM,undefined)20:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)20:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:REV:ENABLE", "$(CM,undefined)20:CH4:ENABLE") alias("$(CM,undefined)20:REV:ENABLE", "$(CM,undefined)20:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)20:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)20:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)20:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)20:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)20:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aSub, "$(CM,undefined)20:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } record(aai, "$(CM,undefined)20:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)20:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH6:TWF", "$(CM,undefined)20:CAV:TWF") alias("$(CM,undefined)20:CH6:WF", "$(CM,undefined)20:CAV:IWF") alias("$(CM,undefined)20:CH7:WF", "$(CM,undefined)20:CAV:QWF") alias("$(CM,undefined)20:CH6:SCALE", "$(CM,undefined)20:CAV:ISCALE") alias("$(CM,undefined)20:CH7:SCALE", "$(CM,undefined)20:CAV:QSCALE") alias("$(CM,undefined)20:CH6:NORD", "$(CM,undefined)20:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)20:CAV:ENABLE") } record(aai, "$(CM,undefined)20:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)20:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:CAV:ENABLE", "$(CM,undefined)20:CH6:ENABLE") alias("$(CM,undefined)20:CAV:ENABLE", "$(CM,undefined)20:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)20:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)20:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)20:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)20:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)20:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)20:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } record(aai, "$(CM,undefined)20:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)20:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH8:TWF", "$(CM,undefined)20:DAC:TWF") alias("$(CM,undefined)20:CH8:WF", "$(CM,undefined)20:DAC:IWF") alias("$(CM,undefined)20:CH9:WF", "$(CM,undefined)20:DAC:QWF") alias("$(CM,undefined)20:CH8:SCALE", "$(CM,undefined)20:DAC:ISCALE") alias("$(CM,undefined)20:CH9:SCALE", "$(CM,undefined)20:DAC:QSCALE") alias("$(CM,undefined)20:CH8:NORD", "$(CM,undefined)20:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)20:DAC:ENABLE") } record(aai, "$(CM,undefined)20:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)20:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:DAC:ENABLE", "$(CM,undefined)20:CH8:ENABLE") alias("$(CM,undefined)20:DAC:ENABLE", "$(CM,undefined)20:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)20:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)20:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)20:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)20:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)20:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)20:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } record(aai, "$(CM,undefined)20:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)20:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)20:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)20:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)20:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)20:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)20:CH10:TWF", "$(CM,undefined)20:DF:TWF") alias("$(CM,undefined)20:CH10:WF", "$(CM,undefined)20:DF:IWF") alias("$(CM,undefined)20:CH11:WF", "$(CM,undefined)20:DF:QWF") alias("$(CM,undefined)20:CH10:SCALE", "$(CM,undefined)20:DF:ISCALE") alias("$(CM,undefined)20:CH11:SCALE", "$(CM,undefined)20:DF:QSCALE") alias("$(CM,undefined)20:CH10:NORD", "$(CM,undefined)20:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)20:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)20:DF:ENABLE") } record(aai, "$(CM,undefined)20:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)20:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)20:DF:ENABLE", "$(CM,undefined)20:CH10:ENABLE") alias("$(CM,undefined)20:DF:ENABLE", "$(CM,undefined)20:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)20:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)20:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)20:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)20:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)20:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)20:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)20:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)20:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)20:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)20:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)20:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)20:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)20:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)20:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)20:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aSub, "$(CM,undefined)20:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)20:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)20:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } record(aai, "$(CM,undefined)20:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)20:DF:IWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)10:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } record(ai, "$(CM,undefined)10:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } record(ai, "$(CM,undefined)10:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } record(ai, "$(CM,undefined)10:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } record(ai, "$(CM,undefined)10:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } record(ai, "$(CM,undefined)10:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)10:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } record(ai, "$(CM,undefined)10:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } record(ai, "$(CM,undefined)10:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } record(ai, "$(CM,undefined)10:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } record(ai, "$(CM,undefined)10:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } record(ai, "$(CM,undefined)10:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)10:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)10:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } record(ai, "$(CM,undefined)10:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } record(ai, "$(CM,undefined)10:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } record(ai, "$(CM,undefined)10:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } record(ai, "$(CM,undefined)10:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } record(ai, "$(CM,undefined)10:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } record(ai, "$(CM,undefined)10:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } record(ai, "$(CM,undefined)10:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } record(ai, "$(CM,undefined)10:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } record(ai, "$(CM,undefined)10:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } record(ai, "$(CM,undefined)10:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)10:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } record(ai, "$(CM,undefined)10:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } record(ai, "$(CM,undefined)10:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } record(ai, "$(CM,undefined)10:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } record(ai, "$(CM,undefined)10:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } record(ai, "$(CM,undefined)10:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)10:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)10:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } record(ai, "$(CM,undefined)10:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } record(ai, "$(CM,undefined)10:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } record(ai, "$(CM,undefined)10:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } record(ai, "$(CM,undefined)10:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } record(ai, "$(CM,undefined)10:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)10:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)10:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)10:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)10:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)10:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } record(ai, "$(CM,undefined)10:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } record(ai, "$(CM,undefined)10:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } record(ai, "$(CM,undefined)10:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } record(ai, "$(CM,undefined)10:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } record(ai, "$(CM,undefined)10:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)10:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)10:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)10:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)10:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)10:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } record(ai, "$(CM,undefined)10:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } record(ai, "$(CM,undefined)10:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } record(ai, "$(CM,undefined)10:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } record(ai, "$(CM,undefined)10:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } record(ai, "$(CM,undefined)10:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)10:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)10:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)10:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)10:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)10:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)10:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)10:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)10:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)10:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)10:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)10:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)10:DF:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)20:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } record(ai, "$(CM,undefined)20:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } record(ai, "$(CM,undefined)20:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } record(ai, "$(CM,undefined)20:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } record(ai, "$(CM,undefined)20:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } record(ai, "$(CM,undefined)20:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)20:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } record(ai, "$(CM,undefined)20:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } record(ai, "$(CM,undefined)20:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } record(ai, "$(CM,undefined)20:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } record(ai, "$(CM,undefined)20:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } record(ai, "$(CM,undefined)20:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)20:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)20:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } record(ai, "$(CM,undefined)20:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } record(ai, "$(CM,undefined)20:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } record(ai, "$(CM,undefined)20:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } record(ai, "$(CM,undefined)20:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } record(ai, "$(CM,undefined)20:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } record(ai, "$(CM,undefined)20:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } record(ai, "$(CM,undefined)20:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } record(ai, "$(CM,undefined)20:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } record(ai, "$(CM,undefined)20:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } record(ai, "$(CM,undefined)20:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)20:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } record(ai, "$(CM,undefined)20:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } record(ai, "$(CM,undefined)20:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } record(ai, "$(CM,undefined)20:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } record(ai, "$(CM,undefined)20:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } record(ai, "$(CM,undefined)20:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)20:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)20:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } record(ai, "$(CM,undefined)20:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } record(ai, "$(CM,undefined)20:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } record(ai, "$(CM,undefined)20:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } record(ai, "$(CM,undefined)20:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } record(ai, "$(CM,undefined)20:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)20:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)20:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)20:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)20:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)20:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } record(ai, "$(CM,undefined)20:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } record(ai, "$(CM,undefined)20:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } record(ai, "$(CM,undefined)20:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } record(ai, "$(CM,undefined)20:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } record(ai, "$(CM,undefined)20:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)20:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)20:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)20:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)20:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)20:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } record(ai, "$(CM,undefined)20:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } record(ai, "$(CM,undefined)20:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } record(ai, "$(CM,undefined)20:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } record(ai, "$(CM,undefined)20:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } record(ai, "$(CM,undefined)20:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)20:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)20:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)20:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)20:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)20:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)20:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)20:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)20:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)20:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)20:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)20:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)20:DF:PWRWF.TIME") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR1_STAT") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR1_CNT") } record(longout, "$(CM,undefined)00:RFS1A:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=cc_loc1") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CC_LOC") } record(longin, "$(CM,undefined)00:RFS1A:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cc_loc1") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR1_REVID") } record(bo, "$(CM,undefined)00:RFS1A:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RFS1A:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RFS1A:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RFS1A:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RFS1A:CCT1_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=cct1_cavity0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCT1_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS1A:CCT1_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cct1_cavity0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCT1_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RFS1A:CCT1_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1a reg=cct1_cavity1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCT1_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS1A:CCT1_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1a reg=cct1_cavity1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CCT1_CAV1_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RFS1A:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS1A:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS1A:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RFS1A:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RFS1A:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RFS1A:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS1A:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS1A:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1a reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RFS1A:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RFS1A:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RFS1A:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=rfs1a reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS1A:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RFS1A:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RFS1A:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RFS1A:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RFS1A:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RFS1A:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RFS1A:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RFS1A:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:RFS1A:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:RFS1A:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:RFS1A:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:RFS1A:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:RFS1A:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:RFS1A:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:RFS1A:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:RFS1A:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:RFS1A:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:RFS1A:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:RFS1A:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS1A:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS1A:AMC_LOV") field(LNKB, "$(CM,undefined)00:RFS1A:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:RFS1A:AMC_LO") } record(ai, "$(CM,undefined)00:RFS1A:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:RFS1A:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:RFS1A:AMC_LOV") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_LO") } record(ai, "$(CM,undefined)00:RFS1A:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:RFS1A:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1A:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS1A:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS1A:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:RFS1A:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:RFS1A:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:RFS1A:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:RFS1A:AMC_TEMP") } record(ai, "$(CM,undefined)00:RFS1A:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:RFS1A:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:RFS1A:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS1A:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS1A:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:RFS1A:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:RFS1A:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1A:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS1A:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS1A:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:RFS1A:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=rfs1a reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:RFS1A:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:RFS1A:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=rfs1a reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1A:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:RFS1A:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=rfs1a reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:RFS1A:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:RFS1A:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=rfs1a reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1A:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:RFS1A:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=rfs1a reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1A:REGAMC_RBV") } record(longout, "$(CM,undefined)00:RFS2A:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=rfs2a") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:RFS2A:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:RFS2A:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs2a") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:RFS2A:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:RFS2A:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=rfs2a") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:RFS2A:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=1") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=6") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=2") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=3") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:RFS2A:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2a offset=4") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:RFS2A:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_RTT") } record(ai, "$(CM,undefined)00:RFS2A:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=rfs2a") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=rfs2a offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_JSON") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=rfs2a offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=rfs2a offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:RFS2A:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=rfs2a offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:RFS2A:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:RFS2A:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS2A:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:RFS2A:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:RFS2A:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:RFS2A:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:RFS2A:reg_banyan_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=banyan_data signal=rfs2a:banyan_data") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_banyan_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_banyan_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:banyan_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_banyan_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:banyan_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_dtrace_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dtrace_data signal=rfs2a:dtrace_data") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dtrace_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_dtrace_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:dtrace_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_dtrace_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:dtrace_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=fdbk_drive_buf_data signal=rfs2a:fdbk_drive_buf_data") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:fdbk_drive_buf_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:fdbk_drive_buf_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_freq_multi_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=freq_multi_count signal=rfs2a:freq_multi_count") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_freq_multi_count_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_freq_multi_count_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:freq_multi_count") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_freq_multi_count_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:freq_multi_count") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_hist_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hist_dout signal=rfs2a:hist_dout") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hist_dout_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_hist_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:hist_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_hist_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:hist_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_icc_data_U32_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=icc_data_U32 signal=rfs2a:icc_data_U32") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_icc_data_U32_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_icc_data_U32_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:icc_data_U32") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_icc_data_U32_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:icc_data_U32") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_icc_data_U50_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=icc_data_U50 signal=rfs2a:icc_data_U50") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_icc_data_U50_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_icc_data_U50_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:icc_data_U50") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_icc_data_U50_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:icc_data_U50") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_llrf_rom_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=llrf_rom signal=rfs2a:llrf_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_llrf_rom_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_llrf_rom_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:llrf_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_llrf_rom_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:llrf_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_ow_down_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ow_down_conv signal=rfs2a:ow_down_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ow_down_conv_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ow_down_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:ow_down_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_ow_down_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:ow_down_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_ow_up_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ow_up_conv signal=rfs2a:ow_up_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ow_up_conv_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ow_up_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:ow_up_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_ow_up_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:ow_up_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_phasex_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=phasex_dout signal=rfs2a:phasex_dout") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_phasex_dout_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_phasex_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:phasex_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_phasex_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:phasex_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_qsfp_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=qsfp_result signal=rfs2a:qsfp_result") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_qsfp_result_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_qsfp_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_qsfp_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_scanner_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=scanner_result signal=rfs2a:scanner_result") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_scanner_result_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_scanner_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:scanner_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_scanner_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:scanner_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_0_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_circle_data signal=rfs2a:shell_0_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:shell_0_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:shell_0_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_0_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data signal=rfs2a:shell_0_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:shell_0_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:shell_0_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_1_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_circle_data signal=rfs2a:shell_1_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:shell_1_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:shell_1_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_1_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data signal=rfs2a:shell_1_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:shell_1_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:shell_1_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_trace_i_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_i_buf signal=rfs2a:trace_i_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_i_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_i_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:trace_i_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_i_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:trace_i_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_trace_iq_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_iq_buf signal=rfs2a:trace_iq_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_iq_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_iq_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:trace_iq_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_iq_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:trace_iq_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2A:reg_trace_q_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_q_buf signal=rfs2a:trace_q_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_q_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_q_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2a:trace_q_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_q_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2a:trace_q_buf") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:RFS2A:reg_J18_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=J18_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_J18_debug_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U15_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U15_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U15_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U15_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U15_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U15_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U18_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U18_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U18_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U18_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U18_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U18_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U2dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U2dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U2dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U2dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U2dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U2dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U3dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U3dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U3dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_U3dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=U3dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_U3dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_banyan_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=banyan_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_banyan_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cavity0_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity0_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cavity0_detune_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cavity0_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity0_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cavity0_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cavity1_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity1_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cavity1_detune_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cavity1_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cavity1_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cavity1_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cc1_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cc1_latency_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ccr1_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ccr1_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ccr1_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ccr1_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ccr1_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ccr1_counts_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ccr1_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ccr1_rev_id_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ccr1_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ccr1_summary_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity0_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity1_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_0_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_0_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_0_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_0_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_0_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_0_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_0_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_0_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_0_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_1_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_1_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_1_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_1_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_1_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_1_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_1_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_1_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_1_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_timing_err_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_timing_err") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_timing_err_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_clk_phase_diff_out_U2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=clk_phase_diff_out_U2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_clk_phase_diff_out_U2_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_clk_phase_diff_out_U3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=clk_phase_diff_out_U3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_clk_phase_diff_out_U3_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_clk_status_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=clk_status_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_clk_status_out_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_crc_errors_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=crc_errors") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_crc_errors_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ctrace_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ctrace_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ctrace_running_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_dac_enabled_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dac_enabled") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dac_enabled_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_dtrace_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dtrace_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dtrace_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_ffffffff_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ffffffff") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ffffffff_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_4xout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_4xout") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_4xout_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_adc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_adc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_adc_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_clkout3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_clkout3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_clkout3_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_dco_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_dco") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_dco_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_gtx_rx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_gtx_rx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_gtx_rx_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_frequency_gtx_tx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=frequency_gtx_tx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_frequency_gtx_tx_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_hello_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hello_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hello_0_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_hello_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hello_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hello_1_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_hello_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hello_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hello_2_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_hello_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hello_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hello_3_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_hist_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hist_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hist_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U2_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=idelay_value_out_U2_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U2_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U2_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=idelay_value_out_U2_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U2_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U3_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=idelay_value_out_U3_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U3_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U3_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=idelay_value_out_U3_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_idelay_value_out_U3_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_llrf_circle_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=llrf_circle_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_llrf_circle_ready_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_llspi_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=llspi_result") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_llspi_result_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_llspi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=llspi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_llspi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_phasex_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=phasex_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_phasex_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_slow_chain_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=slow_chain_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_slow_chain_out_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_slow_data_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=slow_data_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_slow_data_ready_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_telem_monitor_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=telem_monitor") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_telem_monitor_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_tgen_0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=tgen_0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_tgen_0_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_tgen_1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=tgen_1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_tgen_1_status_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_trace_status1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_status1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_status1_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_trace_status2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_status2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_status2_RBV") } record(longin, "$(CM,undefined)00:RFS2A:reg_uart_rx_hold_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=uart_rx_hold") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_uart_rx_hold_RBV") } record(aao, "$(CM,undefined)00:RFS2A:reg_idelay_base") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=idelay_base offset=0") field(FTVL, "LONG") field(NELM, "16") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_idelay_base") } record(aai, "$(CM,undefined)00:RFS2A:reg_idelay_base_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=idelay_base") field(FTVL, "LONG") field(NELM, "16") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_idelay_base_RBV") } record(aao, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_sf_consts_RBV") } record(aao, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_sf_consts_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_adc_mmcm") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=adc_mmcm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_adc_mmcm") } record(longin, "$(CM,undefined)00:RFS2A:reg_adc_mmcm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=adc_mmcm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_adc_mmcm_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_amplitude") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=amplitude") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_amplitude") } record(longin, "$(CM,undefined)00:RFS2A:reg_amplitude_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=amplitude") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_amplitude_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_average_len") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=average_len") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_average_len") } record(longin, "$(CM,undefined)00:RFS2A:reg_average_len_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=average_len") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_average_len_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_buf_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=buf_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_buf_trig") } record(longin, "$(CM,undefined)00:RFS2A:reg_buf_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=buf_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_buf_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cav0_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cav0_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cav0_ilock_engage") } record(longin, "$(CM,undefined)00:RFS2A:reg_cav0_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cav0_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cav0_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cav1_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cav1_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cav1_ilock_engage") } record(longin, "$(CM,undefined)00:RFS2A:reg_cav1_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cav1_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cav1_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cc_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cc_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cc_error_clear") } record(longin, "$(CM,undefined)00:RFS2A:reg_cc_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cc_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cc_error_clear_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cc_loc1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cc_loc1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cc_loc1") } record(longin, "$(CM,undefined)00:RFS2A:reg_cc_loc1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cc_loc1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cc_loc1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity0_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity0_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_status_aux") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity0_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity1_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity1_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_status_aux") } record(longin, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cct1_cavity1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cct1_cavity1_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cfreq_src_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cfreq_src_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cfreq_src_sel") } record(longin, "$(CM,undefined)00:RFS2A:reg_cfreq_src_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cfreq_src_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cfreq_src_sel_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cic_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cic_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cic_period") } record(longin, "$(CM,undefined)00:RFS2A:reg_cic_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cic_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cic_period_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_cic_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cic_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_cic_shift") } record(longin, "$(CM,undefined)00:RFS2A:reg_cic_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=cic_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_cic_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_circle_buf_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=circle_buf_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_circle_buf_flip") } record(longin, "$(CM,undefined)00:RFS2A:reg_circle_buf_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=circle_buf_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_circle_buf_flip_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_circle_buf_stop") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=circle_buf_stop") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_circle_buf_stop") } record(longin, "$(CM,undefined)00:RFS2A:reg_circle_buf_stop_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=circle_buf_stop") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_circle_buf_stop_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U15_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U15_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U15_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U18_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U18_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U18_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U18_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U18_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U2_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U2_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U2_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U2_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U2_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U2_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U2_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U2_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U2_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U2_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U2_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U2_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U3_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U3_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U3_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U3_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U3_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U3_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U3_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U3_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U3_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U3_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U3_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U3_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_U4_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_U4_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_U4_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_U4_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_U4_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_U4_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_banyan_mask") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_banyan_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_banyan_mask") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_banyan_mask_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_banyan_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_banyan_mask_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_bitslip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_bitslip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_bitslip") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_bitslip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_bitslip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_bitslip_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_clk_status_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_clk_status_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_clk_status_we") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_clk_status_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_clk_status_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_clk_status_we_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_idelayctrl_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_idelayctrl_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_idelayctrl_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_idelayctrl_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_idelayctrl_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_idelayctrl_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_llspi_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_llspi_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_llspi_we") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_llspi_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_llspi_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_llspi_we_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_mmcm_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_mmcm_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_mmcm_reset_r") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_mmcm_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_mmcm_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_mmcm_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_periph_config") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_periph_config") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_periph_config_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_periph_config_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_phasex_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_phasex_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_phasex_trig") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_phasex_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_phasex_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_phasex_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_rawadc_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_rawadc_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_rawadc_trig") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_rawadc_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_rawadc_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_rawadc_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_scan_trigger_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_scan_trigger_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_scan_trigger_we") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_scan_trigger_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_scan_trigger_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_scan_trigger_we_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_scanner_debug") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_scanner_debug") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_scanner_debug") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_scanner_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_scanner_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_scanner_debug_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_sync_ad7794_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_sync_ad7794_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_sync_ad7794_cset") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_sync_ad7794_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_sync_ad7794_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_sync_ad7794_cset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_config_sync_tps62210_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=config_sync_tps62210_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_config_sync_tps62210_cset") } record(longin, "$(CM,undefined)00:RFS2A:reg_config_sync_tps62210_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=config_sync_tps62210_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_config_sync_tps62210_cset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ctrace_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ctrace_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ctrace_start") } record(longin, "$(CM,undefined)00:RFS2A:reg_ctrace_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ctrace_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ctrace_start_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_dac_dds_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dac_dds_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_dac_dds_reset") } record(longin, "$(CM,undefined)00:RFS2A:reg_dac_dds_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dac_dds_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dac_dds_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_dac_iq_phase") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dac_iq_phase") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_dac_iq_phase") } record(longin, "$(CM,undefined)00:RFS2A:reg_dac_iq_phase_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dac_iq_phase") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dac_iq_phase_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_dac_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dac_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_dac_mode") } record(longin, "$(CM,undefined)00:RFS2A:reg_dac_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dac_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dac_mode_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ddsa_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ddsa_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ddsa_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_ddsa_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ddsa_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ddsa_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ddsa_phstep_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_h") } record(longin, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ddsa_phstep_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_h_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ddsa_phstep_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_l") } record(longin, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ddsa_phstep_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ddsa_phstep_l_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_domain_jump_realign") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=domain_jump_realign") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_domain_jump_realign") } record(longin, "$(CM,undefined)00:RFS2A:reg_domain_jump_realign_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=domain_jump_realign") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_domain_jump_realign_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_dtrace_cmd") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=dtrace_cmd") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_dtrace_cmd") } record(longin, "$(CM,undefined)00:RFS2A:reg_dtrace_cmd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=dtrace_cmd") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_dtrace_cmd_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=fdbk_drive_buf_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_ctl") } record(longin, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=fdbk_drive_buf_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_fdbk_drive_buf_ctl_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_fiber_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_fiber_reset") } record(longin, "$(CM,undefined)00:RFS2A:reg_fiber_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_fiber_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_hist_count_w_strobe") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=hist_count_w_strobe") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_hist_count_w_strobe") } record(longin, "$(CM,undefined)00:RFS2A:reg_hist_count_w_strobe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=hist_count_w_strobe") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_hist_count_w_strobe_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_0_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_0_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_0_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_0_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_0_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_0_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_0_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_init") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_0_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_0_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_step") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_0_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_0_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_1_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_1_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_1_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_1_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_1_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_1_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_1_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_init") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_1_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=i_beam_1_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_step") } record(longin, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=i_beam_1_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_i_beam_1_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_icc_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=icc_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_icc_cfg") } record(longin, "$(CM,undefined)00:RFS2A:reg_icc_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=icc_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_icc_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_lamp_test_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=lamp_test_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_lamp_test_trig") } record(longin, "$(CM,undefined)00:RFS2A:reg_lamp_test_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=lamp_test_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_lamp_test_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_llrf_dsp_dac_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=llrf_dsp_dac_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_llrf_dsp_dac_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_llrf_dsp_dac_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=llrf_dsp_dac_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_llrf_dsp_dac_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_lo_amp") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=lo_amp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_lo_amp") } record(longin, "$(CM,undefined)00:RFS2A:reg_lo_amp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=lo_amp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_lo_amp_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_phase_step_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=phase_step_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_phase_step_h") } record(longin, "$(CM,undefined)00:RFS2A:reg_phase_step_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=phase_step_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_phase_step_h_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_phase_step_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=phase_step_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_phase_step_l") } record(longin, "$(CM,undefined)00:RFS2A:reg_phase_step_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=phase_step_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_phase_step_l_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_prc_dds_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=prc_dds_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_prc_dds_ph_reset") } record(longin, "$(CM,undefined)00:RFS2A:reg_prc_dds_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=prc_dds_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_prc_dds_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_prc_dsp_cav_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=prc_dsp_cav_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_prc_dsp_cav_sel") } record(longin, "$(CM,undefined)00:RFS2A:reg_prc_dsp_cav_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=prc_dsp_cav_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_prc_dsp_cav_sel_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=prc_dsp_prl_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_cfg") } record(longin, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=prc_dsp_prl_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_gain") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=prc_dsp_prl_gain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_gain") } record(longin, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_gain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=prc_dsp_prl_gain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_prc_dsp_prl_gain_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_qsfp_i2c_reg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_qsfp_i2c_reg") } record(longin, "$(CM,undefined)00:RFS2A:reg_qsfp_i2c_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_qsfp_i2c_reg_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_rewind") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=rewind") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_rewind") } record(longin, "$(CM,undefined)00:RFS2A:reg_rewind_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=rewind") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_rewind_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_sfp_address_set") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=sfp_address_set") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_sfp_address_set") } record(longin, "$(CM,undefined)00:RFS2A:reg_sfp_address_set_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=sfp_address_set") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_sfp_address_set_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_tag") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_tag") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ssa_stim_ampstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ssa_stim_ampstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ssa_stim_ampstep") } record(longin, "$(CM,undefined)00:RFS2A:reg_ssa_stim_ampstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ssa_stim_ampstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ssa_stim_ampstep_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ssa_stim_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ssa_stim_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ssa_stim_en") } record(longin, "$(CM,undefined)00:RFS2A:reg_ssa_stim_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ssa_stim_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ssa_stim_en_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ssa_stim_g_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ssa_stim_g_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ssa_stim_g_period") } record(longin, "$(CM,undefined)00:RFS2A:reg_ssa_stim_g_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ssa_stim_g_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ssa_stim_g_period_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_ssa_stim_pertstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ssa_stim_pertstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_ssa_stim_pertstep") } record(longin, "$(CM,undefined)00:RFS2A:reg_ssa_stim_pertstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=ssa_stim_pertstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_ssa_stim_pertstep_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_start_fdbk_dac_enable") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=start_fdbk_dac_enable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_start_fdbk_dac_enable") } record(longin, "$(CM,undefined)00:RFS2A:reg_start_fdbk_dac_enable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=start_fdbk_dac_enable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_start_fdbk_dac_enable_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_tag_now") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=tag_now") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_tag_now") } record(longin, "$(CM,undefined)00:RFS2A:reg_tag_now_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=tag_now") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_tag_now_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_telem0_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=telem0_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_telem0_src_id") } record(longin, "$(CM,undefined)00:RFS2A:reg_telem0_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=telem0_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_telem0_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_telem1_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=telem1_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_telem1_src_id") } record(longin, "$(CM,undefined)00:RFS2A:reg_telem1_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=telem1_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_telem1_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_tgen_0_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=tgen_0_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_tgen_0_bank_next") } record(longin, "$(CM,undefined)00:RFS2A:reg_tgen_0_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=tgen_0_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_tgen_0_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_tgen_1_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=tgen_1_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_tgen_1_bank_next") } record(longin, "$(CM,undefined)00:RFS2A:reg_tgen_1_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=tgen_1_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_tgen_1_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=trace_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_trace_keep") } record(longin, "$(CM,undefined)00:RFS2A:reg_trace_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trace_reset_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=trace_reset_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_trace_reset_we") } record(longin, "$(CM,undefined)00:RFS2A:reg_trace_reset_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trace_reset_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trace_reset_we_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trig_internal") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=trig_internal") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_trig_internal") } record(longin, "$(CM,undefined)00:RFS2A:reg_trig_internal_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trig_internal") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trig_internal_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_trig_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=trig_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_trig_mode") } record(longin, "$(CM,undefined)00:RFS2A:reg_trig_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=trig_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_trig_mode_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_wave0_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=wave0_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_wave0_src") } record(longin, "$(CM,undefined)00:RFS2A:reg_wave0_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=wave0_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_wave0_src_RBV") } record(longout, "$(CM,undefined)00:RFS2A:reg_wave1_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=wave1_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_wave1_src") } record(longin, "$(CM,undefined)00:RFS2A:reg_wave1_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=wave1_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:reg_wave1_src_RBV") } record(aao, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_0_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_shell_1_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS2A:reg_tgen_0_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=tgen_0_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_tgen_0_delay_pc_XXX") } record(aao, "$(CM,undefined)00:RFS2A:reg_tgen_1_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=tgen_1_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2A:reg_tgen_1_delay_pc_XXX") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:RFS2A:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=rfs2a reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:RFS2A:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS2A:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:RFS2A:CLKCHK_") { field(INPA, "$(CM,undefined)00:RFS2A:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:RFS2A:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:RFS2A:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs2a") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:RFS2A:AGG_STS_") { field(INPA, "$(CM,undefined)00:RFS2A:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS2A:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:RFS2A:STATUS") } record(stringin, "$(CM,undefined)00:RFS2A:STATUS") { field(INP , "$(CM,undefined)00:RFS2A:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:RFS2A:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:RFS2A:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:RFS2A:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:RFS2A:DF_FC_SRC") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)30:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)30:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)30:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)30:ACQ_DECIM") field(LNK2, "$(CM,undefined)30:ACQ_MASK") field(LNK3, "$(CM,undefined)30:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)30:ACQ_MODE") field(FLNK, "$(CM,undefined)30:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)30:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs2a") field(FLNK, "$(CM,undefined)30:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)30:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)30:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)30:ACQ_DECIM") } record(calc, "$(CM,undefined)30:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)30:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)30:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)30:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)30:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)30:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)30:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)30:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)30:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)30:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)30:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)30:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)30:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)30:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)30:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)30:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)30:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)30:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)30:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)30:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)30:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)30:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)30:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_0_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)30:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)30:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)30:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)30:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)30:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)30:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)30:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)30:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)30:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)30:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)30:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)30:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)30:ACQ_CMD_ PP") } # write 1 to reg circle_buf_flip record(longout, "$(CM,undefined)30:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=circle_buf_flip") field(VAL , "1") field(FLNK, "$(CM,undefined)30:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)30:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)30:ACQ_RDY_RBV_") } # wait for value & 1 == 1 for reg llrf_circle_ready record(bo, "$(CM,undefined)30:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs2a retry=0.1 reg=llrf_circle_ready mask=1 value=1") field(FLNK, "$(CM,undefined)30:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)30:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)30:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)30:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)30:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") field(INP , "@name=rfs2a reg=shell_0_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)30:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)30:ACQ_MODE") } record(longout, "$(CM,undefined)30:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)30:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)30:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=34") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)30:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)30:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)30:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)30:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)30:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)30:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)30:CH0:WF") field(LNK1, "$(CM,undefined)30:CH1:WF") field(LNK2, "$(CM,undefined)30:CH2:WF") field(LNK3, "$(CM,undefined)30:CH3:WF") field(LNK4, "$(CM,undefined)30:CH4:WF") field(LNK5, "$(CM,undefined)30:CH5:WF") field(LNK6, "$(CM,undefined)30:CH6:WF") field(LNK7, "$(CM,undefined)30:CH7:WF") field(LNK8, "$(CM,undefined)30:CH8:WF") field(LNK9, "$(CM,undefined)30:CH9:WF") field(LNKA, "$(CM,undefined)30:CH10:WF") field(LNKB, "$(CM,undefined)30:CH11:WF") field(LNKC, "$(CM,undefined)30:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)30:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)30:ACQ_CNT") { field(SDIS, "$(CM,undefined)30:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)30:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)30:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)30:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2a reg=shell_0_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)30:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)30:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)30:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)30:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)30:ACQ_DLY_") { field(SDIS, "$(CM,undefined)30:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)30:ACQ_HLDOFF field(OUT , "$(CM,undefined)30:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)30:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)30:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)40:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2a") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)40:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)40:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)40:ACQ_DECIM") field(LNK2, "$(CM,undefined)40:ACQ_MASK") field(LNK3, "$(CM,undefined)40:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)40:ACQ_MODE") field(FLNK, "$(CM,undefined)40:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)40:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs2a") field(FLNK, "$(CM,undefined)40:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)40:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)40:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)40:ACQ_DECIM") } record(calc, "$(CM,undefined)40:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)40:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)40:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)40:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)40:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)40:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)40:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)40:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)40:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)40:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)40:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)40:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)40:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)40:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)40:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)40:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)40:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)40:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)40:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)40:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)40:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)40:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)40:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=shell_1_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)40:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)40:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)40:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)40:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)40:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)40:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)40:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)40:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)40:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)40:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)40:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)40:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)40:ACQ_CMD_ PP") } # write 2 to reg circle_buf_flip record(longout, "$(CM,undefined)40:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=circle_buf_flip") field(VAL , "2") field(FLNK, "$(CM,undefined)40:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)40:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)40:ACQ_RDY_RBV_") } # wait for value & 2 == 2 for reg llrf_circle_ready record(bo, "$(CM,undefined)40:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs2a retry=0.1 reg=llrf_circle_ready mask=2 value=2") field(FLNK, "$(CM,undefined)40:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)40:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)40:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)40:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)40:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") field(INP , "@name=rfs2a reg=shell_1_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)40:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)40:ACQ_MODE") } record(longout, "$(CM,undefined)40:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)40:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)40:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=34") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)40:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)40:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)40:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)40:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)40:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)40:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)40:CH0:WF") field(LNK1, "$(CM,undefined)40:CH1:WF") field(LNK2, "$(CM,undefined)40:CH2:WF") field(LNK3, "$(CM,undefined)40:CH3:WF") field(LNK4, "$(CM,undefined)40:CH4:WF") field(LNK5, "$(CM,undefined)40:CH5:WF") field(LNK6, "$(CM,undefined)40:CH6:WF") field(LNK7, "$(CM,undefined)40:CH7:WF") field(LNK8, "$(CM,undefined)40:CH8:WF") field(LNK9, "$(CM,undefined)40:CH9:WF") field(LNKA, "$(CM,undefined)40:CH10:WF") field(LNKB, "$(CM,undefined)40:CH11:WF") field(LNKC, "$(CM,undefined)40:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)40:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)40:ACQ_CNT") { field(SDIS, "$(CM,undefined)40:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)40:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)40:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)40:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2a reg=shell_1_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)40:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)40:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)40:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)40:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)40:ACQ_DLY_") { field(SDIS, "$(CM,undefined)40:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)40:ACQ_HLDOFF field(OUT , "$(CM,undefined)40:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)40:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)40:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)30:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)30:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)30:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)30:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_0_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)30:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)30:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)30:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)30:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)30:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)40:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)40:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)40:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)40:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=shell_1_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)40:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)40:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)40:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)40:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)40:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH0:OFFSET") } record(longout, "$(CM,undefined)30:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)30:CH0:STEP") } record(longout, "$(CM,undefined)30:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)30:CH0:WF") info(feed:info:time0, "$(CM,undefined)30:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)30:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH0:NORD") { field(INP , "$(CM,undefined)30:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH1:OFFSET") } record(longout, "$(CM,undefined)30:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)30:CH1:STEP") } record(longout, "$(CM,undefined)30:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)30:CH1:WF") info(feed:info:time1, "$(CM,undefined)30:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)30:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH1:NORD") { field(INP , "$(CM,undefined)30:CH1:WF.NORD") field(FLNK, "$(CM,undefined)30:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH2:OFFSET") } record(longout, "$(CM,undefined)30:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)30:CH2:STEP") } record(longout, "$(CM,undefined)30:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)30:CH2:WF") info(feed:info:time2, "$(CM,undefined)30:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)30:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH2:NORD") { field(INP , "$(CM,undefined)30:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH3:OFFSET") } record(longout, "$(CM,undefined)30:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)30:CH3:STEP") } record(longout, "$(CM,undefined)30:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)30:CH3:WF") info(feed:info:time3, "$(CM,undefined)30:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)30:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH3:NORD") { field(INP , "$(CM,undefined)30:CH3:WF.NORD") field(FLNK, "$(CM,undefined)30:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH4:OFFSET") } record(longout, "$(CM,undefined)30:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)30:CH4:STEP") } record(longout, "$(CM,undefined)30:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)30:CH4:WF") info(feed:info:time4, "$(CM,undefined)30:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)30:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH4:NORD") { field(INP , "$(CM,undefined)30:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH5:OFFSET") } record(longout, "$(CM,undefined)30:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)30:CH5:STEP") } record(longout, "$(CM,undefined)30:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)30:CH5:WF") info(feed:info:time5, "$(CM,undefined)30:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)30:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH5:NORD") { field(INP , "$(CM,undefined)30:CH5:WF.NORD") field(FLNK, "$(CM,undefined)30:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH6:OFFSET") } record(longout, "$(CM,undefined)30:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)30:CH6:STEP") } record(longout, "$(CM,undefined)30:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)30:CH6:WF") info(feed:info:time6, "$(CM,undefined)30:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)30:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH6:NORD") { field(INP , "$(CM,undefined)30:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH7:OFFSET") } record(longout, "$(CM,undefined)30:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)30:CH7:STEP") } record(longout, "$(CM,undefined)30:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)30:CH7:WF") info(feed:info:time7, "$(CM,undefined)30:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)30:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH7:NORD") { field(INP , "$(CM,undefined)30:CH7:WF.NORD") field(FLNK, "$(CM,undefined)30:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH8:OFFSET") } record(longout, "$(CM,undefined)30:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)30:CH8:STEP") } record(longout, "$(CM,undefined)30:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)30:CH8:WF") info(feed:info:time8, "$(CM,undefined)30:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)30:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH8:NORD") { field(INP , "$(CM,undefined)30:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH9:OFFSET") } record(longout, "$(CM,undefined)30:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)30:CH9:STEP") } record(longout, "$(CM,undefined)30:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)30:CH9:WF") info(feed:info:time9, "$(CM,undefined)30:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)30:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH9:NORD") { field(INP , "$(CM,undefined)30:CH9:WF.NORD") field(FLNK, "$(CM,undefined)30:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH10:OFFSET") } record(longout, "$(CM,undefined)30:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)30:CH10:STEP") } record(longout, "$(CM,undefined)30:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)30:CH10:WF") info(feed:info:time10, "$(CM,undefined)30:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)30:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH10:NORD") { field(INP , "$(CM,undefined)30:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)30:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)30:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)30:CH11:OFFSET") } record(longout, "$(CM,undefined)30:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)30:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)30:CH11:STEP") } record(longout, "$(CM,undefined)30:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)30:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)30:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)30:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)30:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)30:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)30:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)30:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)30:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)30:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)30:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)30:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)30:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_0_circle_data signal=$(CM,undefined)30:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)30:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)30:CH11:WF") info(feed:info:time11, "$(CM,undefined)30:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)30:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)30:CH11:NORD") { field(INP , "$(CM,undefined)30:CH11:WF.NORD") field(FLNK, "$(CM,undefined)30:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)30:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)30:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)30:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)30:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)30:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)30:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CH11:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH0:OFFSET") } record(longout, "$(CM,undefined)40:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)40:CH0:STEP") } record(longout, "$(CM,undefined)40:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)40:CH0:WF") info(feed:info:time0, "$(CM,undefined)40:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)40:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH0:NORD") { field(INP , "$(CM,undefined)40:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH1:OFFSET") } record(longout, "$(CM,undefined)40:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)40:CH1:STEP") } record(longout, "$(CM,undefined)40:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)40:CH1:WF") info(feed:info:time1, "$(CM,undefined)40:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)40:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH1:NORD") { field(INP , "$(CM,undefined)40:CH1:WF.NORD") field(FLNK, "$(CM,undefined)40:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH2:OFFSET") } record(longout, "$(CM,undefined)40:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)40:CH2:STEP") } record(longout, "$(CM,undefined)40:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)40:CH2:WF") info(feed:info:time2, "$(CM,undefined)40:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)40:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH2:NORD") { field(INP , "$(CM,undefined)40:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH3:OFFSET") } record(longout, "$(CM,undefined)40:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)40:CH3:STEP") } record(longout, "$(CM,undefined)40:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)40:CH3:WF") info(feed:info:time3, "$(CM,undefined)40:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)40:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH3:NORD") { field(INP , "$(CM,undefined)40:CH3:WF.NORD") field(FLNK, "$(CM,undefined)40:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH4:OFFSET") } record(longout, "$(CM,undefined)40:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)40:CH4:STEP") } record(longout, "$(CM,undefined)40:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)40:CH4:WF") info(feed:info:time4, "$(CM,undefined)40:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)40:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH4:NORD") { field(INP , "$(CM,undefined)40:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH5:OFFSET") } record(longout, "$(CM,undefined)40:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)40:CH5:STEP") } record(longout, "$(CM,undefined)40:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)40:CH5:WF") info(feed:info:time5, "$(CM,undefined)40:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)40:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH5:NORD") { field(INP , "$(CM,undefined)40:CH5:WF.NORD") field(FLNK, "$(CM,undefined)40:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH6:OFFSET") } record(longout, "$(CM,undefined)40:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)40:CH6:STEP") } record(longout, "$(CM,undefined)40:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)40:CH6:WF") info(feed:info:time6, "$(CM,undefined)40:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)40:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH6:NORD") { field(INP , "$(CM,undefined)40:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH7:OFFSET") } record(longout, "$(CM,undefined)40:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)40:CH7:STEP") } record(longout, "$(CM,undefined)40:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)40:CH7:WF") info(feed:info:time7, "$(CM,undefined)40:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)40:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH7:NORD") { field(INP , "$(CM,undefined)40:CH7:WF.NORD") field(FLNK, "$(CM,undefined)40:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH8:OFFSET") } record(longout, "$(CM,undefined)40:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)40:CH8:STEP") } record(longout, "$(CM,undefined)40:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)40:CH8:WF") info(feed:info:time8, "$(CM,undefined)40:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)40:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH8:NORD") { field(INP , "$(CM,undefined)40:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH9:OFFSET") } record(longout, "$(CM,undefined)40:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)40:CH9:STEP") } record(longout, "$(CM,undefined)40:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)40:CH9:WF") info(feed:info:time9, "$(CM,undefined)40:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)40:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH9:NORD") { field(INP , "$(CM,undefined)40:CH9:WF.NORD") field(FLNK, "$(CM,undefined)40:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH10:OFFSET") } record(longout, "$(CM,undefined)40:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)40:CH10:STEP") } record(longout, "$(CM,undefined)40:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)40:CH10:WF") info(feed:info:time10, "$(CM,undefined)40:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)40:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH10:NORD") { field(INP , "$(CM,undefined)40:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)40:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)40:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)40:CH11:OFFSET") } record(longout, "$(CM,undefined)40:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)40:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)40:CH11:STEP") } record(longout, "$(CM,undefined)40:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)40:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)40:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)40:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)40:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)40:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)40:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)40:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)40:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)40:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)40:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)40:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)40:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2a") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2a reg=shell_1_circle_data signal=$(CM,undefined)40:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)40:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)40:CH11:WF") info(feed:info:time11, "$(CM,undefined)40:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)40:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)40:CH11:NORD") { field(INP , "$(CM,undefined)40:CH11:WF.NORD") field(FLNK, "$(CM,undefined)40:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)40:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)40:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)40:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)40:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)40:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)40:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CH11:TWF_.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)30:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH0:TWF", "$(CM,undefined)30:DRV:TWF") alias("$(CM,undefined)30:CH0:WF", "$(CM,undefined)30:DRV:IWF") alias("$(CM,undefined)30:CH1:WF", "$(CM,undefined)30:DRV:QWF") alias("$(CM,undefined)30:CH0:SCALE", "$(CM,undefined)30:DRV:ISCALE") alias("$(CM,undefined)30:CH1:SCALE", "$(CM,undefined)30:DRV:QSCALE") alias("$(CM,undefined)30:CH0:NORD", "$(CM,undefined)30:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)30:DRV:ENABLE") } record(aai, "$(CM,undefined)30:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)30:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:DRV:ENABLE", "$(CM,undefined)30:CH0:ENABLE") alias("$(CM,undefined)30:DRV:ENABLE", "$(CM,undefined)30:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)30:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)30:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)30:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)30:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)30:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)30:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } record(aai, "$(CM,undefined)30:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)30:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH2:TWF", "$(CM,undefined)30:FWD:TWF") alias("$(CM,undefined)30:CH2:WF", "$(CM,undefined)30:FWD:IWF") alias("$(CM,undefined)30:CH3:WF", "$(CM,undefined)30:FWD:QWF") alias("$(CM,undefined)30:CH2:SCALE", "$(CM,undefined)30:FWD:ISCALE") alias("$(CM,undefined)30:CH3:SCALE", "$(CM,undefined)30:FWD:QSCALE") alias("$(CM,undefined)30:CH2:NORD", "$(CM,undefined)30:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)30:FWD:ENABLE") } record(aai, "$(CM,undefined)30:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)30:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:FWD:ENABLE", "$(CM,undefined)30:CH2:ENABLE") alias("$(CM,undefined)30:FWD:ENABLE", "$(CM,undefined)30:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)30:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)30:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)30:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)30:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)30:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)30:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } record(aai, "$(CM,undefined)30:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)30:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH4:TWF", "$(CM,undefined)30:REV:TWF") alias("$(CM,undefined)30:CH4:WF", "$(CM,undefined)30:REV:IWF") alias("$(CM,undefined)30:CH5:WF", "$(CM,undefined)30:REV:QWF") alias("$(CM,undefined)30:CH4:SCALE", "$(CM,undefined)30:REV:ISCALE") alias("$(CM,undefined)30:CH5:SCALE", "$(CM,undefined)30:REV:QSCALE") alias("$(CM,undefined)30:CH4:NORD", "$(CM,undefined)30:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)30:REV:ENABLE") } record(aai, "$(CM,undefined)30:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)30:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:REV:ENABLE", "$(CM,undefined)30:CH4:ENABLE") alias("$(CM,undefined)30:REV:ENABLE", "$(CM,undefined)30:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)30:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)30:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)30:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)30:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)30:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aSub, "$(CM,undefined)30:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } record(aai, "$(CM,undefined)30:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)30:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH6:TWF", "$(CM,undefined)30:CAV:TWF") alias("$(CM,undefined)30:CH6:WF", "$(CM,undefined)30:CAV:IWF") alias("$(CM,undefined)30:CH7:WF", "$(CM,undefined)30:CAV:QWF") alias("$(CM,undefined)30:CH6:SCALE", "$(CM,undefined)30:CAV:ISCALE") alias("$(CM,undefined)30:CH7:SCALE", "$(CM,undefined)30:CAV:QSCALE") alias("$(CM,undefined)30:CH6:NORD", "$(CM,undefined)30:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)30:CAV:ENABLE") } record(aai, "$(CM,undefined)30:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)30:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:CAV:ENABLE", "$(CM,undefined)30:CH6:ENABLE") alias("$(CM,undefined)30:CAV:ENABLE", "$(CM,undefined)30:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)30:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)30:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)30:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)30:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)30:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)30:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } record(aai, "$(CM,undefined)30:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)30:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH8:TWF", "$(CM,undefined)30:DAC:TWF") alias("$(CM,undefined)30:CH8:WF", "$(CM,undefined)30:DAC:IWF") alias("$(CM,undefined)30:CH9:WF", "$(CM,undefined)30:DAC:QWF") alias("$(CM,undefined)30:CH8:SCALE", "$(CM,undefined)30:DAC:ISCALE") alias("$(CM,undefined)30:CH9:SCALE", "$(CM,undefined)30:DAC:QSCALE") alias("$(CM,undefined)30:CH8:NORD", "$(CM,undefined)30:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)30:DAC:ENABLE") } record(aai, "$(CM,undefined)30:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)30:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:DAC:ENABLE", "$(CM,undefined)30:CH8:ENABLE") alias("$(CM,undefined)30:DAC:ENABLE", "$(CM,undefined)30:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)30:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)30:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)30:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)30:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)30:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)30:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } record(aai, "$(CM,undefined)30:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)30:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)30:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)30:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)30:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)30:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)30:CH10:TWF", "$(CM,undefined)30:DF:TWF") alias("$(CM,undefined)30:CH10:WF", "$(CM,undefined)30:DF:IWF") alias("$(CM,undefined)30:CH11:WF", "$(CM,undefined)30:DF:QWF") alias("$(CM,undefined)30:CH10:SCALE", "$(CM,undefined)30:DF:ISCALE") alias("$(CM,undefined)30:CH11:SCALE", "$(CM,undefined)30:DF:QSCALE") alias("$(CM,undefined)30:CH10:NORD", "$(CM,undefined)30:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)30:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)30:DF:ENABLE") } record(aai, "$(CM,undefined)30:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)30:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)30:DF:ENABLE", "$(CM,undefined)30:CH10:ENABLE") alias("$(CM,undefined)30:DF:ENABLE", "$(CM,undefined)30:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)30:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)30:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)30:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)30:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)30:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)30:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)30:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)30:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)30:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)30:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)30:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)30:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)30:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)30:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)30:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aSub, "$(CM,undefined)30:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)30:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)30:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } record(aai, "$(CM,undefined)30:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)30:DF:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)40:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH0:TWF", "$(CM,undefined)40:DRV:TWF") alias("$(CM,undefined)40:CH0:WF", "$(CM,undefined)40:DRV:IWF") alias("$(CM,undefined)40:CH1:WF", "$(CM,undefined)40:DRV:QWF") alias("$(CM,undefined)40:CH0:SCALE", "$(CM,undefined)40:DRV:ISCALE") alias("$(CM,undefined)40:CH1:SCALE", "$(CM,undefined)40:DRV:QSCALE") alias("$(CM,undefined)40:CH0:NORD", "$(CM,undefined)40:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)40:DRV:ENABLE") } record(aai, "$(CM,undefined)40:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)40:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:DRV:ENABLE", "$(CM,undefined)40:CH0:ENABLE") alias("$(CM,undefined)40:DRV:ENABLE", "$(CM,undefined)40:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)40:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)40:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)40:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)40:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)40:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)40:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } record(aai, "$(CM,undefined)40:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)40:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH2:TWF", "$(CM,undefined)40:FWD:TWF") alias("$(CM,undefined)40:CH2:WF", "$(CM,undefined)40:FWD:IWF") alias("$(CM,undefined)40:CH3:WF", "$(CM,undefined)40:FWD:QWF") alias("$(CM,undefined)40:CH2:SCALE", "$(CM,undefined)40:FWD:ISCALE") alias("$(CM,undefined)40:CH3:SCALE", "$(CM,undefined)40:FWD:QSCALE") alias("$(CM,undefined)40:CH2:NORD", "$(CM,undefined)40:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)40:FWD:ENABLE") } record(aai, "$(CM,undefined)40:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)40:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:FWD:ENABLE", "$(CM,undefined)40:CH2:ENABLE") alias("$(CM,undefined)40:FWD:ENABLE", "$(CM,undefined)40:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)40:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)40:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)40:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)40:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)40:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)40:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } record(aai, "$(CM,undefined)40:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)40:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH4:TWF", "$(CM,undefined)40:REV:TWF") alias("$(CM,undefined)40:CH4:WF", "$(CM,undefined)40:REV:IWF") alias("$(CM,undefined)40:CH5:WF", "$(CM,undefined)40:REV:QWF") alias("$(CM,undefined)40:CH4:SCALE", "$(CM,undefined)40:REV:ISCALE") alias("$(CM,undefined)40:CH5:SCALE", "$(CM,undefined)40:REV:QSCALE") alias("$(CM,undefined)40:CH4:NORD", "$(CM,undefined)40:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)40:REV:ENABLE") } record(aai, "$(CM,undefined)40:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)40:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:REV:ENABLE", "$(CM,undefined)40:CH4:ENABLE") alias("$(CM,undefined)40:REV:ENABLE", "$(CM,undefined)40:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)40:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)40:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)40:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)40:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)40:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aSub, "$(CM,undefined)40:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } record(aai, "$(CM,undefined)40:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)40:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH6:TWF", "$(CM,undefined)40:CAV:TWF") alias("$(CM,undefined)40:CH6:WF", "$(CM,undefined)40:CAV:IWF") alias("$(CM,undefined)40:CH7:WF", "$(CM,undefined)40:CAV:QWF") alias("$(CM,undefined)40:CH6:SCALE", "$(CM,undefined)40:CAV:ISCALE") alias("$(CM,undefined)40:CH7:SCALE", "$(CM,undefined)40:CAV:QSCALE") alias("$(CM,undefined)40:CH6:NORD", "$(CM,undefined)40:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)40:CAV:ENABLE") } record(aai, "$(CM,undefined)40:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)40:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:CAV:ENABLE", "$(CM,undefined)40:CH6:ENABLE") alias("$(CM,undefined)40:CAV:ENABLE", "$(CM,undefined)40:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)40:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)40:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)40:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)40:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)40:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)40:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } record(aai, "$(CM,undefined)40:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)40:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH8:TWF", "$(CM,undefined)40:DAC:TWF") alias("$(CM,undefined)40:CH8:WF", "$(CM,undefined)40:DAC:IWF") alias("$(CM,undefined)40:CH9:WF", "$(CM,undefined)40:DAC:QWF") alias("$(CM,undefined)40:CH8:SCALE", "$(CM,undefined)40:DAC:ISCALE") alias("$(CM,undefined)40:CH9:SCALE", "$(CM,undefined)40:DAC:QSCALE") alias("$(CM,undefined)40:CH8:NORD", "$(CM,undefined)40:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)40:DAC:ENABLE") } record(aai, "$(CM,undefined)40:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)40:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:DAC:ENABLE", "$(CM,undefined)40:CH8:ENABLE") alias("$(CM,undefined)40:DAC:ENABLE", "$(CM,undefined)40:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)40:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)40:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)40:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)40:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)40:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)40:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } record(aai, "$(CM,undefined)40:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)40:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)40:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)40:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)40:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)40:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)40:CH10:TWF", "$(CM,undefined)40:DF:TWF") alias("$(CM,undefined)40:CH10:WF", "$(CM,undefined)40:DF:IWF") alias("$(CM,undefined)40:CH11:WF", "$(CM,undefined)40:DF:QWF") alias("$(CM,undefined)40:CH10:SCALE", "$(CM,undefined)40:DF:ISCALE") alias("$(CM,undefined)40:CH11:SCALE", "$(CM,undefined)40:DF:QSCALE") alias("$(CM,undefined)40:CH10:NORD", "$(CM,undefined)40:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)40:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)40:DF:ENABLE") } record(aai, "$(CM,undefined)40:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)40:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)40:DF:ENABLE", "$(CM,undefined)40:CH10:ENABLE") alias("$(CM,undefined)40:DF:ENABLE", "$(CM,undefined)40:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)40:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)40:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)40:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)40:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)40:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)40:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)40:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)40:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)40:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)40:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)40:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)40:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)40:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)40:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)40:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aSub, "$(CM,undefined)40:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)40:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)40:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } record(aai, "$(CM,undefined)40:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)40:DF:IWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)30:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } record(ai, "$(CM,undefined)30:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } record(ai, "$(CM,undefined)30:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } record(ai, "$(CM,undefined)30:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } record(ai, "$(CM,undefined)30:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } record(ai, "$(CM,undefined)30:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)30:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } record(ai, "$(CM,undefined)30:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } record(ai, "$(CM,undefined)30:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } record(ai, "$(CM,undefined)30:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } record(ai, "$(CM,undefined)30:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } record(ai, "$(CM,undefined)30:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)30:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)30:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } record(ai, "$(CM,undefined)30:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } record(ai, "$(CM,undefined)30:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } record(ai, "$(CM,undefined)30:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } record(ai, "$(CM,undefined)30:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } record(ai, "$(CM,undefined)30:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } record(ai, "$(CM,undefined)30:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } record(ai, "$(CM,undefined)30:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } record(ai, "$(CM,undefined)30:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } record(ai, "$(CM,undefined)30:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } record(ai, "$(CM,undefined)30:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)30:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } record(ai, "$(CM,undefined)30:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } record(ai, "$(CM,undefined)30:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } record(ai, "$(CM,undefined)30:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } record(ai, "$(CM,undefined)30:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } record(ai, "$(CM,undefined)30:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)30:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)30:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } record(ai, "$(CM,undefined)30:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } record(ai, "$(CM,undefined)30:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } record(ai, "$(CM,undefined)30:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } record(ai, "$(CM,undefined)30:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } record(ai, "$(CM,undefined)30:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)30:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)30:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)30:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)30:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)30:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } record(ai, "$(CM,undefined)30:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } record(ai, "$(CM,undefined)30:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } record(ai, "$(CM,undefined)30:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } record(ai, "$(CM,undefined)30:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } record(ai, "$(CM,undefined)30:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)30:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)30:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)30:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)30:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)30:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } record(ai, "$(CM,undefined)30:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } record(ai, "$(CM,undefined)30:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } record(ai, "$(CM,undefined)30:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } record(ai, "$(CM,undefined)30:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } record(ai, "$(CM,undefined)30:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)30:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)30:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)30:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)30:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)30:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)30:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)30:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)30:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)30:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)30:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)30:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)30:DF:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)40:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } record(ai, "$(CM,undefined)40:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } record(ai, "$(CM,undefined)40:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } record(ai, "$(CM,undefined)40:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } record(ai, "$(CM,undefined)40:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } record(ai, "$(CM,undefined)40:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)40:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } record(ai, "$(CM,undefined)40:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } record(ai, "$(CM,undefined)40:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } record(ai, "$(CM,undefined)40:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } record(ai, "$(CM,undefined)40:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } record(ai, "$(CM,undefined)40:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)40:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)40:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } record(ai, "$(CM,undefined)40:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } record(ai, "$(CM,undefined)40:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } record(ai, "$(CM,undefined)40:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } record(ai, "$(CM,undefined)40:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } record(ai, "$(CM,undefined)40:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } record(ai, "$(CM,undefined)40:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } record(ai, "$(CM,undefined)40:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } record(ai, "$(CM,undefined)40:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } record(ai, "$(CM,undefined)40:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } record(ai, "$(CM,undefined)40:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)40:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } record(ai, "$(CM,undefined)40:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } record(ai, "$(CM,undefined)40:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } record(ai, "$(CM,undefined)40:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } record(ai, "$(CM,undefined)40:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } record(ai, "$(CM,undefined)40:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)40:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)40:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } record(ai, "$(CM,undefined)40:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } record(ai, "$(CM,undefined)40:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } record(ai, "$(CM,undefined)40:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } record(ai, "$(CM,undefined)40:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } record(ai, "$(CM,undefined)40:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)40:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)40:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)40:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)40:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)40:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } record(ai, "$(CM,undefined)40:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } record(ai, "$(CM,undefined)40:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } record(ai, "$(CM,undefined)40:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } record(ai, "$(CM,undefined)40:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } record(ai, "$(CM,undefined)40:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)40:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)40:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)40:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)40:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)40:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } record(ai, "$(CM,undefined)40:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } record(ai, "$(CM,undefined)40:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } record(ai, "$(CM,undefined)40:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } record(ai, "$(CM,undefined)40:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } record(ai, "$(CM,undefined)40:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)40:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)40:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)40:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)40:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)40:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)40:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)40:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)40:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)40:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)40:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)40:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)40:DF:PWRWF.TIME") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR1_STAT") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR1_CNT") } record(longout, "$(CM,undefined)00:RFS2A:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cc_loc1") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CC_LOC") } record(longin, "$(CM,undefined)00:RFS2A:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cc_loc1") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR1_REVID") } record(bo, "$(CM,undefined)00:RFS2A:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RFS2A:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RFS2A:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RFS2A:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RFS2A:CCT1_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCT1_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS2A:CCT1_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cct1_cavity0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCT1_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RFS2A:CCT1_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2a reg=cct1_cavity1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCT1_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS2A:CCT1_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2a reg=cct1_cavity1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CCT1_CAV1_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RFS2A:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS2A:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS2A:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RFS2A:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RFS2A:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RFS2A:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS2A:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS2A:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2a reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RFS2A:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RFS2A:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RFS2A:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=rfs2a reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS2A:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RFS2A:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RFS2A:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RFS2A:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RFS2A:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RFS2A:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RFS2A:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RFS2A:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:RFS2A:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:RFS2A:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:RFS2A:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:RFS2A:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:RFS2A:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:RFS2A:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:RFS2A:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:RFS2A:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:RFS2A:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:RFS2A:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:RFS2A:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS2A:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS2A:AMC_LOV") field(LNKB, "$(CM,undefined)00:RFS2A:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:RFS2A:AMC_LO") } record(ai, "$(CM,undefined)00:RFS2A:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:RFS2A:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:RFS2A:AMC_LOV") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_LO") } record(ai, "$(CM,undefined)00:RFS2A:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:RFS2A:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2A:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS2A:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS2A:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:RFS2A:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:RFS2A:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:RFS2A:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:RFS2A:AMC_TEMP") } record(ai, "$(CM,undefined)00:RFS2A:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:RFS2A:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:RFS2A:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS2A:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS2A:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:RFS2A:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:RFS2A:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2A:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS2A:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS2A:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2A:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:RFS2A:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=rfs2a reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:RFS2A:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:RFS2A:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=rfs2a reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:RFS2A:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=rfs2a reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:RFS2A:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:RFS2A:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=rfs2a reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:RFS2A:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=rfs2a reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2A:REGAMC_RBV") } record(longout, "$(CM,undefined)00:RFS1B:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=rfs1b") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:RFS1B:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:RFS1B:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs1b") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:RFS1B:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:RFS1B:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=rfs1b") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:RFS1B:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=1") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=6") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=2") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=3") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:RFS1B:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs1b offset=4") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:RFS1B:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_RTT") } record(ai, "$(CM,undefined)00:RFS1B:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=rfs1b") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=rfs1b offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_JSON") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=rfs1b offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=rfs1b offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:RFS1B:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=rfs1b offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:RFS1B:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:RFS1B:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS1B:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:RFS1B:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:RFS1B:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:RFS1B:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:RFS1B:reg_banyan_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=banyan_data signal=rfs1b:banyan_data") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_banyan_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_banyan_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:banyan_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_banyan_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:banyan_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_dtrace_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dtrace_data signal=rfs1b:dtrace_data") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dtrace_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_dtrace_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:dtrace_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_dtrace_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:dtrace_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=fdbk_drive_buf_data signal=rfs1b:fdbk_drive_buf_data") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:fdbk_drive_buf_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:fdbk_drive_buf_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_freq_multi_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=freq_multi_count signal=rfs1b:freq_multi_count") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_freq_multi_count_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_freq_multi_count_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:freq_multi_count") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_freq_multi_count_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:freq_multi_count") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_hist_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hist_dout signal=rfs1b:hist_dout") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hist_dout_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_hist_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:hist_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_hist_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:hist_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_icc_data_U32_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=icc_data_U32 signal=rfs1b:icc_data_U32") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_icc_data_U32_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_icc_data_U32_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:icc_data_U32") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_icc_data_U32_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:icc_data_U32") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_icc_data_U50_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=icc_data_U50 signal=rfs1b:icc_data_U50") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_icc_data_U50_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_icc_data_U50_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:icc_data_U50") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_icc_data_U50_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:icc_data_U50") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_llrf_rom_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=llrf_rom signal=rfs1b:llrf_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_llrf_rom_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_llrf_rom_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:llrf_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_llrf_rom_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:llrf_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_ow_down_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ow_down_conv signal=rfs1b:ow_down_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ow_down_conv_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ow_down_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:ow_down_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_ow_down_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:ow_down_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_ow_up_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ow_up_conv signal=rfs1b:ow_up_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ow_up_conv_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ow_up_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:ow_up_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_ow_up_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:ow_up_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_phasex_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=phasex_dout signal=rfs1b:phasex_dout") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_phasex_dout_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_phasex_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:phasex_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_phasex_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:phasex_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_qsfp_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=qsfp_result signal=rfs1b:qsfp_result") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_qsfp_result_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_qsfp_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_qsfp_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_scanner_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=scanner_result signal=rfs1b:scanner_result") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_scanner_result_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_scanner_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:scanner_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_scanner_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:scanner_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_0_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_circle_data signal=rfs1b:shell_0_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:shell_0_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:shell_0_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_0_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data signal=rfs1b:shell_0_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:shell_0_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:shell_0_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_1_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_circle_data signal=rfs1b:shell_1_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:shell_1_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:shell_1_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_1_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data signal=rfs1b:shell_1_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:shell_1_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:shell_1_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_trace_i_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_i_buf signal=rfs1b:trace_i_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_i_buf_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_i_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:trace_i_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_i_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:trace_i_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_trace_iq_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_iq_buf signal=rfs1b:trace_iq_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_iq_buf_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_iq_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:trace_iq_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_iq_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:trace_iq_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS1B:reg_trace_q_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_q_buf signal=rfs1b:trace_q_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_q_buf_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_q_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs1b:trace_q_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_q_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs1b:trace_q_buf") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:RFS1B:reg_J18_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=J18_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_J18_debug_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U15_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U15_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U15_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U15_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U15_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U15_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U18_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U18_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U18_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U18_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U18_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U18_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U2dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U2dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U2dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U2dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U2dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U2dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U3dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U3dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U3dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_U3dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=U3dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_U3dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_banyan_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=banyan_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_banyan_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cavity0_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity0_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cavity0_detune_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cavity0_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity0_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cavity0_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cavity1_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity1_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cavity1_detune_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cavity1_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cavity1_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cavity1_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cc1_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cc1_latency_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ccr1_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ccr1_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ccr1_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ccr1_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ccr1_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ccr1_counts_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ccr1_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ccr1_rev_id_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ccr1_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ccr1_summary_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity0_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity1_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_0_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_0_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_0_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_0_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_0_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_0_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_0_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_0_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_0_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_1_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_1_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_1_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_1_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_1_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_1_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_1_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_1_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_1_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_timing_err_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_timing_err") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_timing_err_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_clk_phase_diff_out_U2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=clk_phase_diff_out_U2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_clk_phase_diff_out_U2_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_clk_phase_diff_out_U3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=clk_phase_diff_out_U3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_clk_phase_diff_out_U3_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_clk_status_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=clk_status_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_clk_status_out_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_crc_errors_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=crc_errors") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_crc_errors_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ctrace_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ctrace_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ctrace_running_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_dac_enabled_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dac_enabled") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dac_enabled_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_dtrace_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dtrace_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dtrace_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_ffffffff_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ffffffff") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ffffffff_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_4xout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_4xout") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_4xout_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_adc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_adc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_adc_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_clkout3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_clkout3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_clkout3_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_dco_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_dco") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_dco_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_gtx_rx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_gtx_rx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_gtx_rx_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_frequency_gtx_tx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=frequency_gtx_tx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_frequency_gtx_tx_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_hello_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hello_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hello_0_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_hello_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hello_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hello_1_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_hello_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hello_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hello_2_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_hello_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hello_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hello_3_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_hist_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hist_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hist_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U2_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=idelay_value_out_U2_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U2_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U2_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=idelay_value_out_U2_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U2_msb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U3_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=idelay_value_out_U3_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U3_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U3_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=idelay_value_out_U3_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_idelay_value_out_U3_msb_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_llrf_circle_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=llrf_circle_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_llrf_circle_ready_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_llspi_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=llspi_result") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_llspi_result_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_llspi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=llspi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_llspi_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_phasex_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=phasex_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_phasex_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_slow_chain_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=slow_chain_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_slow_chain_out_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_slow_data_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=slow_data_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_slow_data_ready_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_telem_monitor_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=telem_monitor") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_telem_monitor_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_tgen_0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=tgen_0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_tgen_0_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_tgen_1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=tgen_1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_tgen_1_status_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_trace_status1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_status1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_status1_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_trace_status2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_status2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_status2_RBV") } record(longin, "$(CM,undefined)00:RFS1B:reg_uart_rx_hold_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=uart_rx_hold") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_uart_rx_hold_RBV") } record(aao, "$(CM,undefined)00:RFS1B:reg_idelay_base") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=idelay_base offset=0") field(FTVL, "LONG") field(NELM, "16") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_idelay_base") } record(aai, "$(CM,undefined)00:RFS1B:reg_idelay_base_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=idelay_base") field(FTVL, "LONG") field(NELM, "16") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_idelay_base_RBV") } record(aao, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_sf_consts_RBV") } record(aao, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_sf_consts_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_adc_mmcm") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=adc_mmcm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_adc_mmcm") } record(longin, "$(CM,undefined)00:RFS1B:reg_adc_mmcm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=adc_mmcm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_adc_mmcm_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_amplitude") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=amplitude") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_amplitude") } record(longin, "$(CM,undefined)00:RFS1B:reg_amplitude_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=amplitude") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_amplitude_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_average_len") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=average_len") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_average_len") } record(longin, "$(CM,undefined)00:RFS1B:reg_average_len_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=average_len") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_average_len_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_buf_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=buf_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_buf_trig") } record(longin, "$(CM,undefined)00:RFS1B:reg_buf_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=buf_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_buf_trig_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cav0_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cav0_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cav0_ilock_engage") } record(longin, "$(CM,undefined)00:RFS1B:reg_cav0_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cav0_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cav0_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cav1_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cav1_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cav1_ilock_engage") } record(longin, "$(CM,undefined)00:RFS1B:reg_cav1_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cav1_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cav1_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cc_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cc_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cc_error_clear") } record(longin, "$(CM,undefined)00:RFS1B:reg_cc_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cc_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cc_error_clear_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cc_loc1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cc_loc1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cc_loc1") } record(longin, "$(CM,undefined)00:RFS1B:reg_cc_loc1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cc_loc1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cc_loc1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity0_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity0_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_status_aux") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity0_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity1_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity1_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_status_aux") } record(longin, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cct1_cavity1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cct1_cavity1_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cfreq_src_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cfreq_src_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cfreq_src_sel") } record(longin, "$(CM,undefined)00:RFS1B:reg_cfreq_src_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cfreq_src_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cfreq_src_sel_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cic_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cic_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cic_period") } record(longin, "$(CM,undefined)00:RFS1B:reg_cic_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cic_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cic_period_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_cic_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cic_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_cic_shift") } record(longin, "$(CM,undefined)00:RFS1B:reg_cic_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=cic_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_cic_shift_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_circle_buf_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=circle_buf_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_circle_buf_flip") } record(longin, "$(CM,undefined)00:RFS1B:reg_circle_buf_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=circle_buf_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_circle_buf_flip_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_circle_buf_stop") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=circle_buf_stop") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_circle_buf_stop") } record(longin, "$(CM,undefined)00:RFS1B:reg_circle_buf_stop_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=circle_buf_stop") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_circle_buf_stop_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U15_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U15_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U15_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U18_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U18_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U18_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U18_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U18_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U2_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U2_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U2_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U2_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U2_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U2_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U2_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U2_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U2_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U2_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U2_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U2_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U3_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U3_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U3_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U3_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U3_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U3_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U3_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U3_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U3_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U3_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U3_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U3_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_U4_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_U4_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_U4_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_U4_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_U4_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_U4_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_banyan_mask") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_banyan_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_banyan_mask") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_banyan_mask_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_banyan_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_banyan_mask_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_bitslip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_bitslip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_bitslip") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_bitslip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_bitslip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_bitslip_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_clk_status_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_clk_status_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_clk_status_we") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_clk_status_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_clk_status_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_clk_status_we_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_idelayctrl_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_idelayctrl_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_idelayctrl_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_idelayctrl_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_idelayctrl_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_idelayctrl_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_llspi_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_llspi_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_llspi_we") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_llspi_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_llspi_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_llspi_we_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_mmcm_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_mmcm_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_mmcm_reset_r") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_mmcm_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_mmcm_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_mmcm_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_periph_config") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_periph_config") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_periph_config_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_periph_config_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_phasex_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_phasex_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_phasex_trig") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_phasex_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_phasex_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_phasex_trig_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_rawadc_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_rawadc_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_rawadc_trig") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_rawadc_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_rawadc_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_rawadc_trig_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_scan_trigger_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_scan_trigger_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_scan_trigger_we") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_scan_trigger_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_scan_trigger_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_scan_trigger_we_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_scanner_debug") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_scanner_debug") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_scanner_debug") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_scanner_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_scanner_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_scanner_debug_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_sync_ad7794_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_sync_ad7794_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_sync_ad7794_cset") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_sync_ad7794_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_sync_ad7794_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_sync_ad7794_cset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_config_sync_tps62210_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=config_sync_tps62210_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_config_sync_tps62210_cset") } record(longin, "$(CM,undefined)00:RFS1B:reg_config_sync_tps62210_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=config_sync_tps62210_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_config_sync_tps62210_cset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ctrace_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ctrace_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ctrace_start") } record(longin, "$(CM,undefined)00:RFS1B:reg_ctrace_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ctrace_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ctrace_start_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_dac_dds_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dac_dds_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_dac_dds_reset") } record(longin, "$(CM,undefined)00:RFS1B:reg_dac_dds_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dac_dds_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dac_dds_reset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_dac_iq_phase") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dac_iq_phase") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_dac_iq_phase") } record(longin, "$(CM,undefined)00:RFS1B:reg_dac_iq_phase_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dac_iq_phase") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dac_iq_phase_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_dac_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dac_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_dac_mode") } record(longin, "$(CM,undefined)00:RFS1B:reg_dac_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dac_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dac_mode_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ddsa_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ddsa_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ddsa_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_ddsa_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ddsa_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ddsa_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ddsa_phstep_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_h") } record(longin, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ddsa_phstep_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_h_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ddsa_phstep_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_l") } record(longin, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ddsa_phstep_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ddsa_phstep_l_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_domain_jump_realign") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=domain_jump_realign") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_domain_jump_realign") } record(longin, "$(CM,undefined)00:RFS1B:reg_domain_jump_realign_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=domain_jump_realign") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_domain_jump_realign_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_dtrace_cmd") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=dtrace_cmd") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_dtrace_cmd") } record(longin, "$(CM,undefined)00:RFS1B:reg_dtrace_cmd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=dtrace_cmd") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_dtrace_cmd_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=fdbk_drive_buf_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_ctl") } record(longin, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=fdbk_drive_buf_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_fdbk_drive_buf_ctl_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_fiber_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_fiber_reset") } record(longin, "$(CM,undefined)00:RFS1B:reg_fiber_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_fiber_reset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_hist_count_w_strobe") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=hist_count_w_strobe") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_hist_count_w_strobe") } record(longin, "$(CM,undefined)00:RFS1B:reg_hist_count_w_strobe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=hist_count_w_strobe") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_hist_count_w_strobe_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_0_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_0_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_0_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_0_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_0_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_0_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_0_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_init") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_0_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_0_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_step") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_0_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_0_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_1_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_1_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_1_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_1_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_1_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_1_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_1_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_init") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_1_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=i_beam_1_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_step") } record(longin, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=i_beam_1_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_i_beam_1_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_icc_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=icc_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_icc_cfg") } record(longin, "$(CM,undefined)00:RFS1B:reg_icc_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=icc_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_icc_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_lamp_test_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=lamp_test_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_lamp_test_trig") } record(longin, "$(CM,undefined)00:RFS1B:reg_lamp_test_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=lamp_test_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_lamp_test_trig_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_llrf_dsp_dac_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=llrf_dsp_dac_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_llrf_dsp_dac_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_llrf_dsp_dac_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=llrf_dsp_dac_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_llrf_dsp_dac_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_lo_amp") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=lo_amp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_lo_amp") } record(longin, "$(CM,undefined)00:RFS1B:reg_lo_amp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=lo_amp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_lo_amp_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_phase_step_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=phase_step_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_phase_step_h") } record(longin, "$(CM,undefined)00:RFS1B:reg_phase_step_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=phase_step_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_phase_step_h_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_phase_step_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=phase_step_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_phase_step_l") } record(longin, "$(CM,undefined)00:RFS1B:reg_phase_step_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=phase_step_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_phase_step_l_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_prc_dds_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=prc_dds_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_prc_dds_ph_reset") } record(longin, "$(CM,undefined)00:RFS1B:reg_prc_dds_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=prc_dds_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_prc_dds_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_prc_dsp_cav_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=prc_dsp_cav_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_prc_dsp_cav_sel") } record(longin, "$(CM,undefined)00:RFS1B:reg_prc_dsp_cav_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=prc_dsp_cav_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_prc_dsp_cav_sel_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=prc_dsp_prl_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_cfg") } record(longin, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=prc_dsp_prl_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_gain") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=prc_dsp_prl_gain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_gain") } record(longin, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_gain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=prc_dsp_prl_gain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_prc_dsp_prl_gain_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_qsfp_i2c_reg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_qsfp_i2c_reg") } record(longin, "$(CM,undefined)00:RFS1B:reg_qsfp_i2c_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_qsfp_i2c_reg_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_rewind") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=rewind") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_rewind") } record(longin, "$(CM,undefined)00:RFS1B:reg_rewind_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=rewind") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_rewind_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_sfp_address_set") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=sfp_address_set") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_sfp_address_set") } record(longin, "$(CM,undefined)00:RFS1B:reg_sfp_address_set_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=sfp_address_set") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_sfp_address_set_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_tag") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_tag") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ssa_stim_ampstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ssa_stim_ampstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ssa_stim_ampstep") } record(longin, "$(CM,undefined)00:RFS1B:reg_ssa_stim_ampstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ssa_stim_ampstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ssa_stim_ampstep_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ssa_stim_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ssa_stim_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ssa_stim_en") } record(longin, "$(CM,undefined)00:RFS1B:reg_ssa_stim_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ssa_stim_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ssa_stim_en_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ssa_stim_g_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ssa_stim_g_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ssa_stim_g_period") } record(longin, "$(CM,undefined)00:RFS1B:reg_ssa_stim_g_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ssa_stim_g_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ssa_stim_g_period_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_ssa_stim_pertstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ssa_stim_pertstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_ssa_stim_pertstep") } record(longin, "$(CM,undefined)00:RFS1B:reg_ssa_stim_pertstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=ssa_stim_pertstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_ssa_stim_pertstep_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_start_fdbk_dac_enable") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=start_fdbk_dac_enable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_start_fdbk_dac_enable") } record(longin, "$(CM,undefined)00:RFS1B:reg_start_fdbk_dac_enable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=start_fdbk_dac_enable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_start_fdbk_dac_enable_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_tag_now") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=tag_now") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_tag_now") } record(longin, "$(CM,undefined)00:RFS1B:reg_tag_now_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=tag_now") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_tag_now_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_telem0_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=telem0_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_telem0_src_id") } record(longin, "$(CM,undefined)00:RFS1B:reg_telem0_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=telem0_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_telem0_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_telem1_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=telem1_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_telem1_src_id") } record(longin, "$(CM,undefined)00:RFS1B:reg_telem1_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=telem1_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_telem1_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_tgen_0_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=tgen_0_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_tgen_0_bank_next") } record(longin, "$(CM,undefined)00:RFS1B:reg_tgen_0_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=tgen_0_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_tgen_0_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_tgen_1_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=tgen_1_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_tgen_1_bank_next") } record(longin, "$(CM,undefined)00:RFS1B:reg_tgen_1_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=tgen_1_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_tgen_1_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=trace_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_trace_keep") } record(longin, "$(CM,undefined)00:RFS1B:reg_trace_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_keep_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trace_reset_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=trace_reset_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_trace_reset_we") } record(longin, "$(CM,undefined)00:RFS1B:reg_trace_reset_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trace_reset_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trace_reset_we_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trig_internal") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=trig_internal") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_trig_internal") } record(longin, "$(CM,undefined)00:RFS1B:reg_trig_internal_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trig_internal") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trig_internal_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_trig_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=trig_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_trig_mode") } record(longin, "$(CM,undefined)00:RFS1B:reg_trig_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=trig_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_trig_mode_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_wave0_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=wave0_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_wave0_src") } record(longin, "$(CM,undefined)00:RFS1B:reg_wave0_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=wave0_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_wave0_src_RBV") } record(longout, "$(CM,undefined)00:RFS1B:reg_wave1_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=wave1_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_wave1_src") } record(longin, "$(CM,undefined)00:RFS1B:reg_wave1_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=wave1_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:reg_wave1_src_RBV") } record(aao, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_0_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_shell_1_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS1B:reg_tgen_0_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=tgen_0_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_tgen_0_delay_pc_XXX") } record(aao, "$(CM,undefined)00:RFS1B:reg_tgen_1_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=tgen_1_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS1B:reg_tgen_1_delay_pc_XXX") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:RFS1B:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=rfs1b reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:RFS1B:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS1B:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:RFS1B:CLKCHK_") { field(INPA, "$(CM,undefined)00:RFS1B:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:RFS1B:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:RFS1B:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs1b") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:RFS1B:AGG_STS_") { field(INPA, "$(CM,undefined)00:RFS1B:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS1B:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:RFS1B:STATUS") } record(stringin, "$(CM,undefined)00:RFS1B:STATUS") { field(INP , "$(CM,undefined)00:RFS1B:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:RFS1B:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:RFS1B:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:RFS1B:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:RFS1B:DF_FC_SRC") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)50:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)50:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)50:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)50:ACQ_DECIM") field(LNK2, "$(CM,undefined)50:ACQ_MASK") field(LNK3, "$(CM,undefined)50:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)50:ACQ_MODE") field(FLNK, "$(CM,undefined)50:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)50:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs1b") field(FLNK, "$(CM,undefined)50:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)50:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)50:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)50:ACQ_DECIM") } record(calc, "$(CM,undefined)50:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)50:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)50:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)50:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)50:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)50:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)50:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)50:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)50:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)50:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)50:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)50:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)50:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)50:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)50:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)50:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)50:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)50:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)50:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)50:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)50:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)50:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)50:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_0_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)50:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)50:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)50:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)50:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)50:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)50:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)50:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)50:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)50:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)50:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)50:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)50:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)50:ACQ_CMD_ PP") } # write 1 to reg circle_buf_flip record(longout, "$(CM,undefined)50:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=circle_buf_flip") field(VAL , "1") field(FLNK, "$(CM,undefined)50:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)50:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)50:ACQ_RDY_RBV_") } # wait for value & 1 == 1 for reg llrf_circle_ready record(bo, "$(CM,undefined)50:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs1b retry=0.1 reg=llrf_circle_ready mask=1 value=1") field(FLNK, "$(CM,undefined)50:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)50:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)50:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)50:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)50:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") field(INP , "@name=rfs1b reg=shell_0_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)50:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)50:ACQ_MODE") } record(longout, "$(CM,undefined)50:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)50:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)50:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=34") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)50:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)50:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)50:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)50:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)50:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)50:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)50:CH0:WF") field(LNK1, "$(CM,undefined)50:CH1:WF") field(LNK2, "$(CM,undefined)50:CH2:WF") field(LNK3, "$(CM,undefined)50:CH3:WF") field(LNK4, "$(CM,undefined)50:CH4:WF") field(LNK5, "$(CM,undefined)50:CH5:WF") field(LNK6, "$(CM,undefined)50:CH6:WF") field(LNK7, "$(CM,undefined)50:CH7:WF") field(LNK8, "$(CM,undefined)50:CH8:WF") field(LNK9, "$(CM,undefined)50:CH9:WF") field(LNKA, "$(CM,undefined)50:CH10:WF") field(LNKB, "$(CM,undefined)50:CH11:WF") field(LNKC, "$(CM,undefined)50:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)50:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)50:ACQ_CNT") { field(SDIS, "$(CM,undefined)50:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)50:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)50:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)50:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1b reg=shell_0_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)50:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)50:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)50:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)50:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)50:ACQ_DLY_") { field(SDIS, "$(CM,undefined)50:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)50:ACQ_HLDOFF field(OUT , "$(CM,undefined)50:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)50:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)50:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)60:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs1b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)60:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)60:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)60:ACQ_DECIM") field(LNK2, "$(CM,undefined)60:ACQ_MASK") field(LNK3, "$(CM,undefined)60:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)60:ACQ_MODE") field(FLNK, "$(CM,undefined)60:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)60:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs1b") field(FLNK, "$(CM,undefined)60:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)60:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)60:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)60:ACQ_DECIM") } record(calc, "$(CM,undefined)60:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)60:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)60:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)60:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)60:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)60:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)60:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)60:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)60:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)60:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)60:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)60:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)60:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)60:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)60:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)60:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)60:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)60:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)60:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)60:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)60:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)60:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)60:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=shell_1_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)60:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)60:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)60:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)60:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)60:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)60:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)60:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)60:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)60:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)60:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)60:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)60:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)60:ACQ_CMD_ PP") } # write 2 to reg circle_buf_flip record(longout, "$(CM,undefined)60:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=circle_buf_flip") field(VAL , "2") field(FLNK, "$(CM,undefined)60:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)60:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)60:ACQ_RDY_RBV_") } # wait for value & 2 == 2 for reg llrf_circle_ready record(bo, "$(CM,undefined)60:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs1b retry=0.1 reg=llrf_circle_ready mask=2 value=2") field(FLNK, "$(CM,undefined)60:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)60:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)60:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)60:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)60:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") field(INP , "@name=rfs1b reg=shell_1_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)60:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)60:ACQ_MODE") } record(longout, "$(CM,undefined)60:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)60:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)60:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=34") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)60:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)60:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)60:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)60:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)60:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)60:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)60:CH0:WF") field(LNK1, "$(CM,undefined)60:CH1:WF") field(LNK2, "$(CM,undefined)60:CH2:WF") field(LNK3, "$(CM,undefined)60:CH3:WF") field(LNK4, "$(CM,undefined)60:CH4:WF") field(LNK5, "$(CM,undefined)60:CH5:WF") field(LNK6, "$(CM,undefined)60:CH6:WF") field(LNK7, "$(CM,undefined)60:CH7:WF") field(LNK8, "$(CM,undefined)60:CH8:WF") field(LNK9, "$(CM,undefined)60:CH9:WF") field(LNKA, "$(CM,undefined)60:CH10:WF") field(LNKB, "$(CM,undefined)60:CH11:WF") field(LNKC, "$(CM,undefined)60:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)60:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)60:ACQ_CNT") { field(SDIS, "$(CM,undefined)60:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)60:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)60:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)60:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs1b reg=shell_1_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)60:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)60:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)60:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)60:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)60:ACQ_DLY_") { field(SDIS, "$(CM,undefined)60:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)60:ACQ_HLDOFF field(OUT , "$(CM,undefined)60:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)60:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)60:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)50:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)50:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)50:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)50:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_0_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)50:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)50:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)50:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)50:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)50:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)60:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)60:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)60:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)60:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=shell_1_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)60:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)60:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)60:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)60:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)60:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH0:OFFSET") } record(longout, "$(CM,undefined)50:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)50:CH0:STEP") } record(longout, "$(CM,undefined)50:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)50:CH0:WF") info(feed:info:time0, "$(CM,undefined)50:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)50:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH0:NORD") { field(INP , "$(CM,undefined)50:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH1:OFFSET") } record(longout, "$(CM,undefined)50:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)50:CH1:STEP") } record(longout, "$(CM,undefined)50:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)50:CH1:WF") info(feed:info:time1, "$(CM,undefined)50:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)50:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH1:NORD") { field(INP , "$(CM,undefined)50:CH1:WF.NORD") field(FLNK, "$(CM,undefined)50:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH2:OFFSET") } record(longout, "$(CM,undefined)50:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)50:CH2:STEP") } record(longout, "$(CM,undefined)50:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)50:CH2:WF") info(feed:info:time2, "$(CM,undefined)50:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)50:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH2:NORD") { field(INP , "$(CM,undefined)50:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH3:OFFSET") } record(longout, "$(CM,undefined)50:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)50:CH3:STEP") } record(longout, "$(CM,undefined)50:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)50:CH3:WF") info(feed:info:time3, "$(CM,undefined)50:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)50:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH3:NORD") { field(INP , "$(CM,undefined)50:CH3:WF.NORD") field(FLNK, "$(CM,undefined)50:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH4:OFFSET") } record(longout, "$(CM,undefined)50:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)50:CH4:STEP") } record(longout, "$(CM,undefined)50:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)50:CH4:WF") info(feed:info:time4, "$(CM,undefined)50:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)50:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH4:NORD") { field(INP , "$(CM,undefined)50:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH5:OFFSET") } record(longout, "$(CM,undefined)50:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)50:CH5:STEP") } record(longout, "$(CM,undefined)50:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)50:CH5:WF") info(feed:info:time5, "$(CM,undefined)50:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)50:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH5:NORD") { field(INP , "$(CM,undefined)50:CH5:WF.NORD") field(FLNK, "$(CM,undefined)50:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH6:OFFSET") } record(longout, "$(CM,undefined)50:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)50:CH6:STEP") } record(longout, "$(CM,undefined)50:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)50:CH6:WF") info(feed:info:time6, "$(CM,undefined)50:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)50:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH6:NORD") { field(INP , "$(CM,undefined)50:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH7:OFFSET") } record(longout, "$(CM,undefined)50:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)50:CH7:STEP") } record(longout, "$(CM,undefined)50:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)50:CH7:WF") info(feed:info:time7, "$(CM,undefined)50:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)50:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH7:NORD") { field(INP , "$(CM,undefined)50:CH7:WF.NORD") field(FLNK, "$(CM,undefined)50:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH8:OFFSET") } record(longout, "$(CM,undefined)50:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)50:CH8:STEP") } record(longout, "$(CM,undefined)50:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)50:CH8:WF") info(feed:info:time8, "$(CM,undefined)50:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)50:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH8:NORD") { field(INP , "$(CM,undefined)50:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH9:OFFSET") } record(longout, "$(CM,undefined)50:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)50:CH9:STEP") } record(longout, "$(CM,undefined)50:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)50:CH9:WF") info(feed:info:time9, "$(CM,undefined)50:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)50:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH9:NORD") { field(INP , "$(CM,undefined)50:CH9:WF.NORD") field(FLNK, "$(CM,undefined)50:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH10:OFFSET") } record(longout, "$(CM,undefined)50:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)50:CH10:STEP") } record(longout, "$(CM,undefined)50:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)50:CH10:WF") info(feed:info:time10, "$(CM,undefined)50:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)50:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH10:NORD") { field(INP , "$(CM,undefined)50:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)50:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)50:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)50:CH11:OFFSET") } record(longout, "$(CM,undefined)50:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)50:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)50:CH11:STEP") } record(longout, "$(CM,undefined)50:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)50:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)50:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)50:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)50:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)50:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)50:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)50:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)50:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)50:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)50:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)50:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)50:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_0_circle_data signal=$(CM,undefined)50:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)50:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)50:CH11:WF") info(feed:info:time11, "$(CM,undefined)50:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)50:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)50:CH11:NORD") { field(INP , "$(CM,undefined)50:CH11:WF.NORD") field(FLNK, "$(CM,undefined)50:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)50:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)50:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)50:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)50:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)50:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)50:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CH11:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH0:OFFSET") } record(longout, "$(CM,undefined)60:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)60:CH0:STEP") } record(longout, "$(CM,undefined)60:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)60:CH0:WF") info(feed:info:time0, "$(CM,undefined)60:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)60:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH0:NORD") { field(INP , "$(CM,undefined)60:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH1:OFFSET") } record(longout, "$(CM,undefined)60:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)60:CH1:STEP") } record(longout, "$(CM,undefined)60:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)60:CH1:WF") info(feed:info:time1, "$(CM,undefined)60:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)60:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH1:NORD") { field(INP , "$(CM,undefined)60:CH1:WF.NORD") field(FLNK, "$(CM,undefined)60:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH2:OFFSET") } record(longout, "$(CM,undefined)60:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)60:CH2:STEP") } record(longout, "$(CM,undefined)60:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)60:CH2:WF") info(feed:info:time2, "$(CM,undefined)60:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)60:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH2:NORD") { field(INP , "$(CM,undefined)60:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH3:OFFSET") } record(longout, "$(CM,undefined)60:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)60:CH3:STEP") } record(longout, "$(CM,undefined)60:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)60:CH3:WF") info(feed:info:time3, "$(CM,undefined)60:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)60:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH3:NORD") { field(INP , "$(CM,undefined)60:CH3:WF.NORD") field(FLNK, "$(CM,undefined)60:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH4:OFFSET") } record(longout, "$(CM,undefined)60:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)60:CH4:STEP") } record(longout, "$(CM,undefined)60:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)60:CH4:WF") info(feed:info:time4, "$(CM,undefined)60:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)60:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH4:NORD") { field(INP , "$(CM,undefined)60:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH5:OFFSET") } record(longout, "$(CM,undefined)60:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)60:CH5:STEP") } record(longout, "$(CM,undefined)60:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)60:CH5:WF") info(feed:info:time5, "$(CM,undefined)60:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)60:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH5:NORD") { field(INP , "$(CM,undefined)60:CH5:WF.NORD") field(FLNK, "$(CM,undefined)60:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH6:OFFSET") } record(longout, "$(CM,undefined)60:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)60:CH6:STEP") } record(longout, "$(CM,undefined)60:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)60:CH6:WF") info(feed:info:time6, "$(CM,undefined)60:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)60:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH6:NORD") { field(INP , "$(CM,undefined)60:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH7:OFFSET") } record(longout, "$(CM,undefined)60:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)60:CH7:STEP") } record(longout, "$(CM,undefined)60:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)60:CH7:WF") info(feed:info:time7, "$(CM,undefined)60:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)60:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH7:NORD") { field(INP , "$(CM,undefined)60:CH7:WF.NORD") field(FLNK, "$(CM,undefined)60:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH8:OFFSET") } record(longout, "$(CM,undefined)60:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)60:CH8:STEP") } record(longout, "$(CM,undefined)60:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)60:CH8:WF") info(feed:info:time8, "$(CM,undefined)60:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)60:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH8:NORD") { field(INP , "$(CM,undefined)60:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH9:OFFSET") } record(longout, "$(CM,undefined)60:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)60:CH9:STEP") } record(longout, "$(CM,undefined)60:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)60:CH9:WF") info(feed:info:time9, "$(CM,undefined)60:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)60:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH9:NORD") { field(INP , "$(CM,undefined)60:CH9:WF.NORD") field(FLNK, "$(CM,undefined)60:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH10:OFFSET") } record(longout, "$(CM,undefined)60:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)60:CH10:STEP") } record(longout, "$(CM,undefined)60:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)60:CH10:WF") info(feed:info:time10, "$(CM,undefined)60:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)60:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH10:NORD") { field(INP , "$(CM,undefined)60:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)60:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)60:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)60:CH11:OFFSET") } record(longout, "$(CM,undefined)60:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)60:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)60:CH11:STEP") } record(longout, "$(CM,undefined)60:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)60:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)60:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)60:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)60:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)60:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)60:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)60:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)60:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)60:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)60:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)60:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)60:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs1b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs1b reg=shell_1_circle_data signal=$(CM,undefined)60:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)60:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)60:CH11:WF") info(feed:info:time11, "$(CM,undefined)60:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)60:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)60:CH11:NORD") { field(INP , "$(CM,undefined)60:CH11:WF.NORD") field(FLNK, "$(CM,undefined)60:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)60:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)60:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)60:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)60:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)60:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)60:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CH11:TWF_.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)50:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH0:TWF", "$(CM,undefined)50:DRV:TWF") alias("$(CM,undefined)50:CH0:WF", "$(CM,undefined)50:DRV:IWF") alias("$(CM,undefined)50:CH1:WF", "$(CM,undefined)50:DRV:QWF") alias("$(CM,undefined)50:CH0:SCALE", "$(CM,undefined)50:DRV:ISCALE") alias("$(CM,undefined)50:CH1:SCALE", "$(CM,undefined)50:DRV:QSCALE") alias("$(CM,undefined)50:CH0:NORD", "$(CM,undefined)50:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)50:DRV:ENABLE") } record(aai, "$(CM,undefined)50:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)50:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:DRV:ENABLE", "$(CM,undefined)50:CH0:ENABLE") alias("$(CM,undefined)50:DRV:ENABLE", "$(CM,undefined)50:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)50:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)50:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)50:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)50:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)50:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)50:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } record(aai, "$(CM,undefined)50:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)50:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH2:TWF", "$(CM,undefined)50:FWD:TWF") alias("$(CM,undefined)50:CH2:WF", "$(CM,undefined)50:FWD:IWF") alias("$(CM,undefined)50:CH3:WF", "$(CM,undefined)50:FWD:QWF") alias("$(CM,undefined)50:CH2:SCALE", "$(CM,undefined)50:FWD:ISCALE") alias("$(CM,undefined)50:CH3:SCALE", "$(CM,undefined)50:FWD:QSCALE") alias("$(CM,undefined)50:CH2:NORD", "$(CM,undefined)50:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)50:FWD:ENABLE") } record(aai, "$(CM,undefined)50:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)50:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:FWD:ENABLE", "$(CM,undefined)50:CH2:ENABLE") alias("$(CM,undefined)50:FWD:ENABLE", "$(CM,undefined)50:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)50:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)50:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)50:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)50:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)50:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)50:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } record(aai, "$(CM,undefined)50:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)50:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH4:TWF", "$(CM,undefined)50:REV:TWF") alias("$(CM,undefined)50:CH4:WF", "$(CM,undefined)50:REV:IWF") alias("$(CM,undefined)50:CH5:WF", "$(CM,undefined)50:REV:QWF") alias("$(CM,undefined)50:CH4:SCALE", "$(CM,undefined)50:REV:ISCALE") alias("$(CM,undefined)50:CH5:SCALE", "$(CM,undefined)50:REV:QSCALE") alias("$(CM,undefined)50:CH4:NORD", "$(CM,undefined)50:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)50:REV:ENABLE") } record(aai, "$(CM,undefined)50:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)50:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:REV:ENABLE", "$(CM,undefined)50:CH4:ENABLE") alias("$(CM,undefined)50:REV:ENABLE", "$(CM,undefined)50:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)50:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)50:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)50:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)50:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)50:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aSub, "$(CM,undefined)50:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } record(aai, "$(CM,undefined)50:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)50:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH6:TWF", "$(CM,undefined)50:CAV:TWF") alias("$(CM,undefined)50:CH6:WF", "$(CM,undefined)50:CAV:IWF") alias("$(CM,undefined)50:CH7:WF", "$(CM,undefined)50:CAV:QWF") alias("$(CM,undefined)50:CH6:SCALE", "$(CM,undefined)50:CAV:ISCALE") alias("$(CM,undefined)50:CH7:SCALE", "$(CM,undefined)50:CAV:QSCALE") alias("$(CM,undefined)50:CH6:NORD", "$(CM,undefined)50:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)50:CAV:ENABLE") } record(aai, "$(CM,undefined)50:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)50:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:CAV:ENABLE", "$(CM,undefined)50:CH6:ENABLE") alias("$(CM,undefined)50:CAV:ENABLE", "$(CM,undefined)50:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)50:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)50:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)50:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)50:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)50:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)50:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } record(aai, "$(CM,undefined)50:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)50:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH8:TWF", "$(CM,undefined)50:DAC:TWF") alias("$(CM,undefined)50:CH8:WF", "$(CM,undefined)50:DAC:IWF") alias("$(CM,undefined)50:CH9:WF", "$(CM,undefined)50:DAC:QWF") alias("$(CM,undefined)50:CH8:SCALE", "$(CM,undefined)50:DAC:ISCALE") alias("$(CM,undefined)50:CH9:SCALE", "$(CM,undefined)50:DAC:QSCALE") alias("$(CM,undefined)50:CH8:NORD", "$(CM,undefined)50:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)50:DAC:ENABLE") } record(aai, "$(CM,undefined)50:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)50:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:DAC:ENABLE", "$(CM,undefined)50:CH8:ENABLE") alias("$(CM,undefined)50:DAC:ENABLE", "$(CM,undefined)50:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)50:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)50:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)50:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)50:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)50:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)50:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } record(aai, "$(CM,undefined)50:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)50:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)50:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)50:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)50:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)50:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)50:CH10:TWF", "$(CM,undefined)50:DF:TWF") alias("$(CM,undefined)50:CH10:WF", "$(CM,undefined)50:DF:IWF") alias("$(CM,undefined)50:CH11:WF", "$(CM,undefined)50:DF:QWF") alias("$(CM,undefined)50:CH10:SCALE", "$(CM,undefined)50:DF:ISCALE") alias("$(CM,undefined)50:CH11:SCALE", "$(CM,undefined)50:DF:QSCALE") alias("$(CM,undefined)50:CH10:NORD", "$(CM,undefined)50:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)50:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)50:DF:ENABLE") } record(aai, "$(CM,undefined)50:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)50:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)50:DF:ENABLE", "$(CM,undefined)50:CH10:ENABLE") alias("$(CM,undefined)50:DF:ENABLE", "$(CM,undefined)50:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)50:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)50:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)50:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)50:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)50:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)50:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)50:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)50:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)50:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)50:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)50:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)50:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)50:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)50:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)50:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aSub, "$(CM,undefined)50:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)50:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)50:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } record(aai, "$(CM,undefined)50:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)50:DF:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)60:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH0:TWF", "$(CM,undefined)60:DRV:TWF") alias("$(CM,undefined)60:CH0:WF", "$(CM,undefined)60:DRV:IWF") alias("$(CM,undefined)60:CH1:WF", "$(CM,undefined)60:DRV:QWF") alias("$(CM,undefined)60:CH0:SCALE", "$(CM,undefined)60:DRV:ISCALE") alias("$(CM,undefined)60:CH1:SCALE", "$(CM,undefined)60:DRV:QSCALE") alias("$(CM,undefined)60:CH0:NORD", "$(CM,undefined)60:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)60:DRV:ENABLE") } record(aai, "$(CM,undefined)60:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)60:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:DRV:ENABLE", "$(CM,undefined)60:CH0:ENABLE") alias("$(CM,undefined)60:DRV:ENABLE", "$(CM,undefined)60:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)60:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)60:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)60:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)60:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)60:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)60:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } record(aai, "$(CM,undefined)60:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)60:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH2:TWF", "$(CM,undefined)60:FWD:TWF") alias("$(CM,undefined)60:CH2:WF", "$(CM,undefined)60:FWD:IWF") alias("$(CM,undefined)60:CH3:WF", "$(CM,undefined)60:FWD:QWF") alias("$(CM,undefined)60:CH2:SCALE", "$(CM,undefined)60:FWD:ISCALE") alias("$(CM,undefined)60:CH3:SCALE", "$(CM,undefined)60:FWD:QSCALE") alias("$(CM,undefined)60:CH2:NORD", "$(CM,undefined)60:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)60:FWD:ENABLE") } record(aai, "$(CM,undefined)60:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)60:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:FWD:ENABLE", "$(CM,undefined)60:CH2:ENABLE") alias("$(CM,undefined)60:FWD:ENABLE", "$(CM,undefined)60:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)60:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)60:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)60:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)60:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)60:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)60:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } record(aai, "$(CM,undefined)60:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)60:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH4:TWF", "$(CM,undefined)60:REV:TWF") alias("$(CM,undefined)60:CH4:WF", "$(CM,undefined)60:REV:IWF") alias("$(CM,undefined)60:CH5:WF", "$(CM,undefined)60:REV:QWF") alias("$(CM,undefined)60:CH4:SCALE", "$(CM,undefined)60:REV:ISCALE") alias("$(CM,undefined)60:CH5:SCALE", "$(CM,undefined)60:REV:QSCALE") alias("$(CM,undefined)60:CH4:NORD", "$(CM,undefined)60:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)60:REV:ENABLE") } record(aai, "$(CM,undefined)60:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)60:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:REV:ENABLE", "$(CM,undefined)60:CH4:ENABLE") alias("$(CM,undefined)60:REV:ENABLE", "$(CM,undefined)60:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)60:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)60:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)60:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)60:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)60:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aSub, "$(CM,undefined)60:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } record(aai, "$(CM,undefined)60:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)60:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH6:TWF", "$(CM,undefined)60:CAV:TWF") alias("$(CM,undefined)60:CH6:WF", "$(CM,undefined)60:CAV:IWF") alias("$(CM,undefined)60:CH7:WF", "$(CM,undefined)60:CAV:QWF") alias("$(CM,undefined)60:CH6:SCALE", "$(CM,undefined)60:CAV:ISCALE") alias("$(CM,undefined)60:CH7:SCALE", "$(CM,undefined)60:CAV:QSCALE") alias("$(CM,undefined)60:CH6:NORD", "$(CM,undefined)60:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)60:CAV:ENABLE") } record(aai, "$(CM,undefined)60:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)60:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:CAV:ENABLE", "$(CM,undefined)60:CH6:ENABLE") alias("$(CM,undefined)60:CAV:ENABLE", "$(CM,undefined)60:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)60:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)60:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)60:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)60:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)60:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)60:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } record(aai, "$(CM,undefined)60:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)60:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH8:TWF", "$(CM,undefined)60:DAC:TWF") alias("$(CM,undefined)60:CH8:WF", "$(CM,undefined)60:DAC:IWF") alias("$(CM,undefined)60:CH9:WF", "$(CM,undefined)60:DAC:QWF") alias("$(CM,undefined)60:CH8:SCALE", "$(CM,undefined)60:DAC:ISCALE") alias("$(CM,undefined)60:CH9:SCALE", "$(CM,undefined)60:DAC:QSCALE") alias("$(CM,undefined)60:CH8:NORD", "$(CM,undefined)60:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)60:DAC:ENABLE") } record(aai, "$(CM,undefined)60:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)60:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:DAC:ENABLE", "$(CM,undefined)60:CH8:ENABLE") alias("$(CM,undefined)60:DAC:ENABLE", "$(CM,undefined)60:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)60:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)60:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)60:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)60:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)60:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)60:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } record(aai, "$(CM,undefined)60:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)60:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)60:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)60:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)60:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)60:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)60:CH10:TWF", "$(CM,undefined)60:DF:TWF") alias("$(CM,undefined)60:CH10:WF", "$(CM,undefined)60:DF:IWF") alias("$(CM,undefined)60:CH11:WF", "$(CM,undefined)60:DF:QWF") alias("$(CM,undefined)60:CH10:SCALE", "$(CM,undefined)60:DF:ISCALE") alias("$(CM,undefined)60:CH11:SCALE", "$(CM,undefined)60:DF:QSCALE") alias("$(CM,undefined)60:CH10:NORD", "$(CM,undefined)60:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)60:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)60:DF:ENABLE") } record(aai, "$(CM,undefined)60:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)60:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)60:DF:ENABLE", "$(CM,undefined)60:CH10:ENABLE") alias("$(CM,undefined)60:DF:ENABLE", "$(CM,undefined)60:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)60:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)60:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)60:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)60:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)60:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)60:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)60:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)60:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)60:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)60:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)60:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)60:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)60:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)60:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)60:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aSub, "$(CM,undefined)60:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)60:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)60:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } record(aai, "$(CM,undefined)60:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)60:DF:IWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)50:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } record(ai, "$(CM,undefined)50:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } record(ai, "$(CM,undefined)50:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } record(ai, "$(CM,undefined)50:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } record(ai, "$(CM,undefined)50:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } record(ai, "$(CM,undefined)50:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)50:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } record(ai, "$(CM,undefined)50:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } record(ai, "$(CM,undefined)50:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } record(ai, "$(CM,undefined)50:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } record(ai, "$(CM,undefined)50:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } record(ai, "$(CM,undefined)50:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)50:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)50:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } record(ai, "$(CM,undefined)50:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } record(ai, "$(CM,undefined)50:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } record(ai, "$(CM,undefined)50:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } record(ai, "$(CM,undefined)50:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } record(ai, "$(CM,undefined)50:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } record(ai, "$(CM,undefined)50:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } record(ai, "$(CM,undefined)50:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } record(ai, "$(CM,undefined)50:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } record(ai, "$(CM,undefined)50:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } record(ai, "$(CM,undefined)50:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)50:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } record(ai, "$(CM,undefined)50:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } record(ai, "$(CM,undefined)50:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } record(ai, "$(CM,undefined)50:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } record(ai, "$(CM,undefined)50:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } record(ai, "$(CM,undefined)50:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)50:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)50:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } record(ai, "$(CM,undefined)50:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } record(ai, "$(CM,undefined)50:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } record(ai, "$(CM,undefined)50:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } record(ai, "$(CM,undefined)50:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } record(ai, "$(CM,undefined)50:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)50:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)50:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)50:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)50:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)50:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } record(ai, "$(CM,undefined)50:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } record(ai, "$(CM,undefined)50:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } record(ai, "$(CM,undefined)50:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } record(ai, "$(CM,undefined)50:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } record(ai, "$(CM,undefined)50:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)50:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)50:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)50:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)50:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)50:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } record(ai, "$(CM,undefined)50:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } record(ai, "$(CM,undefined)50:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } record(ai, "$(CM,undefined)50:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } record(ai, "$(CM,undefined)50:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } record(ai, "$(CM,undefined)50:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)50:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)50:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)50:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)50:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)50:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)50:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)50:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)50:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)50:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)50:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)50:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)50:DF:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)60:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } record(ai, "$(CM,undefined)60:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } record(ai, "$(CM,undefined)60:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } record(ai, "$(CM,undefined)60:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } record(ai, "$(CM,undefined)60:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } record(ai, "$(CM,undefined)60:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)60:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } record(ai, "$(CM,undefined)60:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } record(ai, "$(CM,undefined)60:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } record(ai, "$(CM,undefined)60:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } record(ai, "$(CM,undefined)60:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } record(ai, "$(CM,undefined)60:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)60:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)60:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } record(ai, "$(CM,undefined)60:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } record(ai, "$(CM,undefined)60:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } record(ai, "$(CM,undefined)60:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } record(ai, "$(CM,undefined)60:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } record(ai, "$(CM,undefined)60:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } record(ai, "$(CM,undefined)60:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } record(ai, "$(CM,undefined)60:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } record(ai, "$(CM,undefined)60:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } record(ai, "$(CM,undefined)60:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } record(ai, "$(CM,undefined)60:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)60:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } record(ai, "$(CM,undefined)60:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } record(ai, "$(CM,undefined)60:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } record(ai, "$(CM,undefined)60:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } record(ai, "$(CM,undefined)60:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } record(ai, "$(CM,undefined)60:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)60:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)60:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } record(ai, "$(CM,undefined)60:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } record(ai, "$(CM,undefined)60:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } record(ai, "$(CM,undefined)60:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } record(ai, "$(CM,undefined)60:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } record(ai, "$(CM,undefined)60:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)60:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)60:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)60:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)60:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)60:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } record(ai, "$(CM,undefined)60:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } record(ai, "$(CM,undefined)60:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } record(ai, "$(CM,undefined)60:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } record(ai, "$(CM,undefined)60:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } record(ai, "$(CM,undefined)60:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)60:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)60:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)60:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)60:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)60:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } record(ai, "$(CM,undefined)60:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } record(ai, "$(CM,undefined)60:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } record(ai, "$(CM,undefined)60:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } record(ai, "$(CM,undefined)60:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } record(ai, "$(CM,undefined)60:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)60:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)60:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)60:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)60:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)60:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)60:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)60:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)60:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)60:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)60:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)60:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)60:DF:PWRWF.TIME") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR1_STAT") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR1_CNT") } record(longout, "$(CM,undefined)00:RFS1B:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cc_loc1") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CC_LOC") } record(longin, "$(CM,undefined)00:RFS1B:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cc_loc1") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR1_REVID") } record(bo, "$(CM,undefined)00:RFS1B:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RFS1B:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RFS1B:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RFS1B:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RFS1B:CCT1_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCT1_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS1B:CCT1_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cct1_cavity0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCT1_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RFS1B:CCT1_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs1b reg=cct1_cavity1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCT1_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS1B:CCT1_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs1b reg=cct1_cavity1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CCT1_CAV1_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RFS1B:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS1B:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS1B:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RFS1B:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RFS1B:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RFS1B:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS1B:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS1B:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs1b reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RFS1B:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RFS1B:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RFS1B:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=rfs1b reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS1B:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RFS1B:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RFS1B:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RFS1B:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RFS1B:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RFS1B:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RFS1B:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RFS1B:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:RFS1B:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:RFS1B:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:RFS1B:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:RFS1B:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:RFS1B:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:RFS1B:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:RFS1B:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:RFS1B:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:RFS1B:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:RFS1B:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:RFS1B:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS1B:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS1B:AMC_LOV") field(LNKB, "$(CM,undefined)00:RFS1B:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:RFS1B:AMC_LO") } record(ai, "$(CM,undefined)00:RFS1B:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:RFS1B:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:RFS1B:AMC_LOV") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_LO") } record(ai, "$(CM,undefined)00:RFS1B:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:RFS1B:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS1B:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS1B:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS1B:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:RFS1B:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:RFS1B:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:RFS1B:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:RFS1B:AMC_TEMP") } record(ai, "$(CM,undefined)00:RFS1B:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:RFS1B:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:RFS1B:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS1B:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS1B:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:RFS1B:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:RFS1B:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS1B:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS1B:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS1B:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS1B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:RFS1B:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=rfs1b reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:RFS1B:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:RFS1B:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=rfs1b reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:RFS1B:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=rfs1b reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:RFS1B:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:RFS1B:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=rfs1b reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:RFS1B:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=rfs1b reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS1B:REGAMC_RBV") } record(longout, "$(CM,undefined)00:RFS2B:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=rfs2b") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:RFS2B:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:RFS2B:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs2b") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:RFS2B:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:RFS2B:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=rfs2b") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:RFS2B:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=1") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=6") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=2") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=3") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:RFS2B:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=rfs2b offset=4") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:RFS2B:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_RTT") } record(ai, "$(CM,undefined)00:RFS2B:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=rfs2b") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=rfs2b offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_JSON") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=rfs2b offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=rfs2b offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:RFS2B:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=rfs2b offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:RFS2B:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:RFS2B:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS2B:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:RFS2B:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:RFS2B:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:RFS2B:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:RFS2B:reg_banyan_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=banyan_data signal=rfs2b:banyan_data") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_banyan_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_banyan_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:banyan_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_banyan_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:banyan_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_dtrace_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dtrace_data signal=rfs2b:dtrace_data") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dtrace_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_dtrace_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:dtrace_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_dtrace_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:dtrace_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=fdbk_drive_buf_data signal=rfs2b:fdbk_drive_buf_data") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:fdbk_drive_buf_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:fdbk_drive_buf_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_freq_multi_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=freq_multi_count signal=rfs2b:freq_multi_count") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_freq_multi_count_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_freq_multi_count_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:freq_multi_count") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_freq_multi_count_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:freq_multi_count") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_hist_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hist_dout signal=rfs2b:hist_dout") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hist_dout_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_hist_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:hist_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_hist_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:hist_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_icc_data_U32_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=icc_data_U32 signal=rfs2b:icc_data_U32") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_icc_data_U32_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_icc_data_U32_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:icc_data_U32") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_icc_data_U32_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:icc_data_U32") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_icc_data_U50_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=icc_data_U50 signal=rfs2b:icc_data_U50") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_icc_data_U50_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_icc_data_U50_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:icc_data_U50") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_icc_data_U50_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:icc_data_U50") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_llrf_rom_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=llrf_rom signal=rfs2b:llrf_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_llrf_rom_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_llrf_rom_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:llrf_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_llrf_rom_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:llrf_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_ow_down_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ow_down_conv signal=rfs2b:ow_down_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ow_down_conv_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ow_down_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:ow_down_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_ow_down_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:ow_down_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_ow_up_conv_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ow_up_conv signal=rfs2b:ow_up_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ow_up_conv_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ow_up_conv_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:ow_up_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_ow_up_conv_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:ow_up_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_phasex_dout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=phasex_dout signal=rfs2b:phasex_dout") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_phasex_dout_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_phasex_dout_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:phasex_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_phasex_dout_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:phasex_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_qsfp_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=qsfp_result signal=rfs2b:qsfp_result") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_qsfp_result_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_qsfp_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_qsfp_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_scanner_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=scanner_result signal=rfs2b:scanner_result") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_scanner_result_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_scanner_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:scanner_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_scanner_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:scanner_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_0_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_circle_data signal=rfs2b:shell_0_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:shell_0_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:shell_0_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_0_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data signal=rfs2b:shell_0_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:shell_0_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:shell_0_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_1_circle_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_circle_data signal=rfs2b:shell_1_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_circle_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_circle_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:shell_1_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_circle_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:shell_1_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_1_slow_data_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data signal=rfs2b:shell_1_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_slow_data_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_slow_data_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:shell_1_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_slow_data_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:shell_1_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_trace_i_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_i_buf signal=rfs2b:trace_i_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_i_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_i_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:trace_i_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_i_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:trace_i_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_trace_iq_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_iq_buf signal=rfs2b:trace_iq_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_iq_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_iq_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:trace_iq_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_iq_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:trace_iq_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RFS2B:reg_trace_q_buf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_q_buf signal=rfs2b:trace_q_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_q_buf_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_q_buf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=rfs2b:trace_q_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_q_buf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=rfs2b:trace_q_buf") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:RFS2B:reg_J18_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=J18_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_J18_debug_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U15_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U15_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U15_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U15_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U15_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U15_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U18_spi_rdbk_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U18_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U18_spi_rdbk_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U18_spi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U18_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U18_spi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U2dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U2dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U2dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U2dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U2dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U2dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U3dout_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U3dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U3dout_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_U3dout_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=U3dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_U3dout_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_banyan_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=banyan_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_banyan_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cavity0_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity0_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cavity0_detune_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cavity0_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity0_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cavity0_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cavity1_detune_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity1_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cavity1_detune_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cavity1_sat_count_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cavity1_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cavity1_sat_count_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cc1_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cc1_latency_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ccr1_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ccr1_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ccr1_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ccr1_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ccr1_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ccr1_counts_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ccr1_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ccr1_rev_id_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ccr1_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ccr1_summary_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity0_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity1_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_0_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_0_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_0_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_0_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_0_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_0_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_0_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_0_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_0_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_1_amp_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_1_amp_max_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_1_amp_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_1_amp_min_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_1_frequency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_1_frequency_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_1_frequency_valid_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_1_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_1_frequency_valid_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_timing_err_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_timing_err") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_timing_err_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_clk_phase_diff_out_U2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=clk_phase_diff_out_U2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_clk_phase_diff_out_U2_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_clk_phase_diff_out_U3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=clk_phase_diff_out_U3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_clk_phase_diff_out_U3_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_clk_status_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=clk_status_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_clk_status_out_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_crc_errors_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=crc_errors") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_crc_errors_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ctrace_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ctrace_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ctrace_running_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_dac_enabled_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dac_enabled") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dac_enabled_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_dtrace_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dtrace_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dtrace_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_ffffffff_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ffffffff") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ffffffff_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_4xout_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_4xout") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_4xout_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_adc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_adc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_adc_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_clkout3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_clkout3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_clkout3_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_dco_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_dco") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_dco_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_gtx_rx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_gtx_rx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_gtx_rx_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_frequency_gtx_tx_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=frequency_gtx_tx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_frequency_gtx_tx_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_hello_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hello_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hello_0_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_hello_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hello_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hello_1_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_hello_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hello_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hello_2_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_hello_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hello_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hello_3_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_hist_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hist_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hist_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U2_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=idelay_value_out_U2_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U2_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U2_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=idelay_value_out_U2_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U2_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U3_lsb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=idelay_value_out_U3_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U3_lsb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U3_msb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=idelay_value_out_U3_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_idelay_value_out_U3_msb_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_llrf_circle_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=llrf_circle_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_llrf_circle_ready_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_llspi_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=llspi_result") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_llspi_result_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_llspi_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=llspi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_llspi_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_phasex_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=phasex_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_phasex_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_slow_chain_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=slow_chain_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_slow_chain_out_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_slow_data_ready_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=slow_data_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_slow_data_ready_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_telem_monitor_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=telem_monitor") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_telem_monitor_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_tgen_0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=tgen_0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_tgen_0_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_tgen_1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=tgen_1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_tgen_1_status_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_trace_status1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_status1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_status1_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_trace_status2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_status2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_status2_RBV") } record(longin, "$(CM,undefined)00:RFS2B:reg_uart_rx_hold_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=uart_rx_hold") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_uart_rx_hold_RBV") } record(aao, "$(CM,undefined)00:RFS2B:reg_idelay_base") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=idelay_base offset=0") field(FTVL, "LONG") field(NELM, "16") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_idelay_base") } record(aai, "$(CM,undefined)00:RFS2B:reg_idelay_base_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=idelay_base") field(FTVL, "LONG") field(NELM, "16") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_idelay_base_RBV") } record(aao, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_sf_consts_RBV") } record(aao, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_sf_consts") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_sf_consts") } record(aai, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_sf_consts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_sf_consts_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_adc_mmcm") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=adc_mmcm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_adc_mmcm") } record(longin, "$(CM,undefined)00:RFS2B:reg_adc_mmcm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=adc_mmcm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_adc_mmcm_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_amplitude") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=amplitude") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_amplitude") } record(longin, "$(CM,undefined)00:RFS2B:reg_amplitude_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=amplitude") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_amplitude_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_average_len") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=average_len") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_average_len") } record(longin, "$(CM,undefined)00:RFS2B:reg_average_len_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=average_len") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_average_len_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_buf_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=buf_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_buf_trig") } record(longin, "$(CM,undefined)00:RFS2B:reg_buf_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=buf_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_buf_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cav0_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cav0_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cav0_ilock_engage") } record(longin, "$(CM,undefined)00:RFS2B:reg_cav0_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cav0_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cav0_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cav1_ilock_engage") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cav1_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cav1_ilock_engage") } record(longin, "$(CM,undefined)00:RFS2B:reg_cav1_ilock_engage_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cav1_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cav1_ilock_engage_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cc_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cc_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cc_error_clear") } record(longin, "$(CM,undefined)00:RFS2B:reg_cc_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cc_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cc_error_clear_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cc_loc1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cc_loc1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cc_loc1") } record(longin, "$(CM,undefined)00:RFS2B:reg_cc_loc1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cc_loc1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cc_loc1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity0_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity0_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_status_aux") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity0_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity1_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity1_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_detune_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_status_aux") } record(longin, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cct1_cavity1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cct1_cavity1_status_aux_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cfreq_src_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cfreq_src_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cfreq_src_sel") } record(longin, "$(CM,undefined)00:RFS2B:reg_cfreq_src_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cfreq_src_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cfreq_src_sel_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cic_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cic_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cic_period") } record(longin, "$(CM,undefined)00:RFS2B:reg_cic_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cic_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cic_period_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_cic_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cic_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_cic_shift") } record(longin, "$(CM,undefined)00:RFS2B:reg_cic_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=cic_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_cic_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_circle_buf_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=circle_buf_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_circle_buf_flip") } record(longin, "$(CM,undefined)00:RFS2B:reg_circle_buf_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=circle_buf_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_circle_buf_flip_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_circle_buf_stop") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=circle_buf_stop") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_circle_buf_stop") } record(longin, "$(CM,undefined)00:RFS2B:reg_circle_buf_stop_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=circle_buf_stop") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_circle_buf_stop_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U15_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U15_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U15_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_data_addr_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U18_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_data_addr_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_data_addr_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U18_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_data_addr_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_read_and_start_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U18_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_read_and_start_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_read_and_start_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U18_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U18_spi_read_and_start_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U2_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U2_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U2_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U2_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U2_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U2_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U2_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U2_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U2_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U2_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U2_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U2_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U3_clk_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U3_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U3_clk_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U3_clk_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U3_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U3_clk_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U3_iserdes_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U3_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U3_iserdes_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U3_iserdes_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U3_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U3_iserdes_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_U4_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_U4_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_U4_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_U4_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_U4_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_U4_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_banyan_mask") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_banyan_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_banyan_mask") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_banyan_mask_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_banyan_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_banyan_mask_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_bitslip") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_bitslip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_bitslip") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_bitslip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_bitslip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_bitslip_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_clk_status_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_clk_status_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_clk_status_we") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_clk_status_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_clk_status_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_clk_status_we_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_idelayctrl_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_idelayctrl_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_idelayctrl_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_idelayctrl_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_idelayctrl_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_idelayctrl_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_llspi_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_llspi_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_llspi_we") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_llspi_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_llspi_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_llspi_we_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_mmcm_reset_r") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_mmcm_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_mmcm_reset_r") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_mmcm_reset_r_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_mmcm_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_mmcm_reset_r_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_periph_config") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_periph_config") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_periph_config_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_periph_config_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_phasex_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_phasex_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_phasex_trig") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_phasex_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_phasex_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_phasex_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_rawadc_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_rawadc_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_rawadc_trig") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_rawadc_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_rawadc_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_rawadc_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_scan_trigger_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_scan_trigger_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_scan_trigger_we") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_scan_trigger_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_scan_trigger_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_scan_trigger_we_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_scanner_debug") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_scanner_debug") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_scanner_debug") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_scanner_debug_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_scanner_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_scanner_debug_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_sync_ad7794_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_sync_ad7794_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_sync_ad7794_cset") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_sync_ad7794_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_sync_ad7794_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_sync_ad7794_cset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_config_sync_tps62210_cset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=config_sync_tps62210_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_config_sync_tps62210_cset") } record(longin, "$(CM,undefined)00:RFS2B:reg_config_sync_tps62210_cset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=config_sync_tps62210_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_config_sync_tps62210_cset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ctrace_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ctrace_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ctrace_start") } record(longin, "$(CM,undefined)00:RFS2B:reg_ctrace_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ctrace_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ctrace_start_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_dac_dds_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dac_dds_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_dac_dds_reset") } record(longin, "$(CM,undefined)00:RFS2B:reg_dac_dds_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dac_dds_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dac_dds_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_dac_iq_phase") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dac_iq_phase") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_dac_iq_phase") } record(longin, "$(CM,undefined)00:RFS2B:reg_dac_iq_phase_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dac_iq_phase") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dac_iq_phase_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_dac_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dac_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_dac_mode") } record(longin, "$(CM,undefined)00:RFS2B:reg_dac_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dac_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dac_mode_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ddsa_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ddsa_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ddsa_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_ddsa_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ddsa_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ddsa_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ddsa_phstep_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_h") } record(longin, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ddsa_phstep_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_h_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ddsa_phstep_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_l") } record(longin, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ddsa_phstep_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ddsa_phstep_l_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_domain_jump_realign") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=domain_jump_realign") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_domain_jump_realign") } record(longin, "$(CM,undefined)00:RFS2B:reg_domain_jump_realign_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=domain_jump_realign") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_domain_jump_realign_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_dtrace_cmd") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=dtrace_cmd") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_dtrace_cmd") } record(longin, "$(CM,undefined)00:RFS2B:reg_dtrace_cmd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=dtrace_cmd") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_dtrace_cmd_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=fdbk_drive_buf_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_ctl") } record(longin, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=fdbk_drive_buf_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_fdbk_drive_buf_ctl_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_fiber_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_fiber_reset") } record(longin, "$(CM,undefined)00:RFS2B:reg_fiber_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_fiber_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_hist_count_w_strobe") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=hist_count_w_strobe") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_hist_count_w_strobe") } record(longin, "$(CM,undefined)00:RFS2B:reg_hist_count_w_strobe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=hist_count_w_strobe") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_hist_count_w_strobe_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_0_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_0_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_0_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_0_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_0_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_0_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_0_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_init") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_0_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_0_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_step") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_0_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_0_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_1_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_1_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_1_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_1_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_1_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_1_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_init") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_1_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_init") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_init_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_1_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_init_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=i_beam_1_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_step") } record(longin, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=i_beam_1_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_i_beam_1_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_icc_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=icc_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_icc_cfg") } record(longin, "$(CM,undefined)00:RFS2B:reg_icc_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=icc_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_icc_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_lamp_test_trig") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=lamp_test_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_lamp_test_trig") } record(longin, "$(CM,undefined)00:RFS2B:reg_lamp_test_trig_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=lamp_test_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_lamp_test_trig_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_llrf_dsp_dac_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=llrf_dsp_dac_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_llrf_dsp_dac_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_llrf_dsp_dac_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=llrf_dsp_dac_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_llrf_dsp_dac_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_lo_amp") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=lo_amp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_lo_amp") } record(longin, "$(CM,undefined)00:RFS2B:reg_lo_amp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=lo_amp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_lo_amp_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_phase_step_h") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=phase_step_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_phase_step_h") } record(longin, "$(CM,undefined)00:RFS2B:reg_phase_step_h_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=phase_step_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_phase_step_h_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_phase_step_l") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=phase_step_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_phase_step_l") } record(longin, "$(CM,undefined)00:RFS2B:reg_phase_step_l_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=phase_step_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_phase_step_l_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_prc_dds_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=prc_dds_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_prc_dds_ph_reset") } record(longin, "$(CM,undefined)00:RFS2B:reg_prc_dds_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=prc_dds_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_prc_dds_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_prc_dsp_cav_sel") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=prc_dsp_cav_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_prc_dsp_cav_sel") } record(longin, "$(CM,undefined)00:RFS2B:reg_prc_dsp_cav_sel_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=prc_dsp_cav_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_prc_dsp_cav_sel_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_cfg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=prc_dsp_prl_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_cfg") } record(longin, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_cfg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=prc_dsp_prl_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_cfg_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_gain") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=prc_dsp_prl_gain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_gain") } record(longin, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_gain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=prc_dsp_prl_gain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_prc_dsp_prl_gain_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_qsfp_i2c_reg") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_qsfp_i2c_reg") } record(longin, "$(CM,undefined)00:RFS2B:reg_qsfp_i2c_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_qsfp_i2c_reg_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_rewind") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=rewind") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_rewind") } record(longin, "$(CM,undefined)00:RFS2B:reg_rewind_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=rewind") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_rewind_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_sfp_address_set") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=sfp_address_set") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_sfp_address_set") } record(longin, "$(CM,undefined)00:RFS2B:reg_sfp_address_set_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=sfp_address_set") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_sfp_address_set_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_tag") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_chan_keep") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_ctlr_ph_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_ctlr_ph_reset") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_ctlr_ph_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_ctlr_ph_reset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_coarse_scale") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_coarse_scale") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_coarse_scale_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_coeff_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_lim_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_ph_offset_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_sel_thresh_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_2_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_fdbk_core_mp_proc_setmp_3_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1a_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_kx_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_0") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_0_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_1") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_lp_notch_lp1b_ky_1_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_modulo") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_modulo") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_modulo_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_modulo_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_phase_step") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_phase_step") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_phase_step_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_phase_step_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_piezo_dc") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_piezo_dc") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_piezo_dc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_piezo_dc_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_tag") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_tag") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_tag_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_tag_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_use_fiber_iq") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_use_fiber_iq") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_use_fiber_iq_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_use_fiber_iq_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_samp_per") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_samp_per") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_samp_per_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_samp_per_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_shift") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_shift") } record(longin, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_shift_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_wave_shift_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ssa_stim_ampstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ssa_stim_ampstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ssa_stim_ampstep") } record(longin, "$(CM,undefined)00:RFS2B:reg_ssa_stim_ampstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ssa_stim_ampstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ssa_stim_ampstep_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ssa_stim_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ssa_stim_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ssa_stim_en") } record(longin, "$(CM,undefined)00:RFS2B:reg_ssa_stim_en_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ssa_stim_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ssa_stim_en_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ssa_stim_g_period") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ssa_stim_g_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ssa_stim_g_period") } record(longin, "$(CM,undefined)00:RFS2B:reg_ssa_stim_g_period_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ssa_stim_g_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ssa_stim_g_period_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_ssa_stim_pertstep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ssa_stim_pertstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_ssa_stim_pertstep") } record(longin, "$(CM,undefined)00:RFS2B:reg_ssa_stim_pertstep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=ssa_stim_pertstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_ssa_stim_pertstep_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_start_fdbk_dac_enable") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=start_fdbk_dac_enable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_start_fdbk_dac_enable") } record(longin, "$(CM,undefined)00:RFS2B:reg_start_fdbk_dac_enable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=start_fdbk_dac_enable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_start_fdbk_dac_enable_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_tag_now") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=tag_now") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_tag_now") } record(longin, "$(CM,undefined)00:RFS2B:reg_tag_now_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=tag_now") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_tag_now_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_telem0_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=telem0_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_telem0_src_id") } record(longin, "$(CM,undefined)00:RFS2B:reg_telem0_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=telem0_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_telem0_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_telem1_src_id") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=telem1_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_telem1_src_id") } record(longin, "$(CM,undefined)00:RFS2B:reg_telem1_src_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=telem1_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_telem1_src_id_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_tgen_0_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=tgen_0_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_tgen_0_bank_next") } record(longin, "$(CM,undefined)00:RFS2B:reg_tgen_0_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=tgen_0_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_tgen_0_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_tgen_1_bank_next") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=tgen_1_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_tgen_1_bank_next") } record(longin, "$(CM,undefined)00:RFS2B:reg_tgen_1_bank_next_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=tgen_1_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_tgen_1_bank_next_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=trace_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_trace_keep") } record(longin, "$(CM,undefined)00:RFS2B:reg_trace_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_keep_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trace_reset_we") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=trace_reset_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_trace_reset_we") } record(longin, "$(CM,undefined)00:RFS2B:reg_trace_reset_we_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trace_reset_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trace_reset_we_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trig_internal") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=trig_internal") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_trig_internal") } record(longin, "$(CM,undefined)00:RFS2B:reg_trig_internal_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trig_internal") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trig_internal_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_trig_mode") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=trig_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_trig_mode") } record(longin, "$(CM,undefined)00:RFS2B:reg_trig_mode_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=trig_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_trig_mode_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_wave0_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=wave0_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_wave0_src") } record(longin, "$(CM,undefined)00:RFS2B:reg_wave0_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=wave0_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_wave0_src_RBV") } record(longout, "$(CM,undefined)00:RFS2B:reg_wave1_src") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=wave1_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_wave1_src") } record(longin, "$(CM,undefined)00:RFS2B:reg_wave1_src_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=wave1_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:reg_wave1_src_RBV") } record(aao, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_0_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_trace_en") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_shell_1_dsp_piezo_trace_en") } record(aao, "$(CM,undefined)00:RFS2B:reg_tgen_0_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=tgen_0_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_tgen_0_delay_pc_XXX") } record(aao, "$(CM,undefined)00:RFS2B:reg_tgen_1_delay_pc_XXX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=tgen_1_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RFS2B:reg_tgen_1_delay_pc_XXX") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:RFS2B:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=rfs2b reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:RFS2B:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS2B:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:RFS2B:CLKCHK_") { field(INPA, "$(CM,undefined)00:RFS2B:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:RFS2B:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:RFS2B:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=rfs2b") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:RFS2B:AGG_STS_") { field(INPA, "$(CM,undefined)00:RFS2B:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RFS2B:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:RFS2B:STATUS") } record(stringin, "$(CM,undefined)00:RFS2B:STATUS") { field(INP , "$(CM,undefined)00:RFS2B:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:RFS2B:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:RFS2B:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:RFS2B:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:RFS2B:DF_FC_SRC") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)70:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)70:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)70:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)70:ACQ_DECIM") field(LNK2, "$(CM,undefined)70:ACQ_MASK") field(LNK3, "$(CM,undefined)70:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)70:ACQ_MODE") field(FLNK, "$(CM,undefined)70:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)70:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs2b") field(FLNK, "$(CM,undefined)70:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)70:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)70:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)70:ACQ_DECIM") } record(calc, "$(CM,undefined)70:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)70:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)70:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)70:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)70:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)70:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)70:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)70:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)70:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)70:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)70:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)70:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)70:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)70:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)70:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)70:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)70:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)70:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)70:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)70:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)70:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)70:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)70:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_0_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)70:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)70:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)70:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)70:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)70:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)70:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)70:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)70:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)70:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)70:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)70:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)70:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)70:ACQ_CMD_ PP") } # write 1 to reg circle_buf_flip record(longout, "$(CM,undefined)70:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=circle_buf_flip") field(VAL , "1") field(FLNK, "$(CM,undefined)70:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)70:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)70:ACQ_RDY_RBV_") } # wait for value & 1 == 1 for reg llrf_circle_ready record(bo, "$(CM,undefined)70:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs2b retry=0.1 reg=llrf_circle_ready mask=1 value=1") field(FLNK, "$(CM,undefined)70:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)70:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)70:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)70:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)70:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") field(INP , "@name=rfs2b reg=shell_0_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)70:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)70:ACQ_MODE") } record(longout, "$(CM,undefined)70:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)70:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)70:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=34") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)70:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)70:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)70:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)70:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)70:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)70:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)70:CH0:WF") field(LNK1, "$(CM,undefined)70:CH1:WF") field(LNK2, "$(CM,undefined)70:CH2:WF") field(LNK3, "$(CM,undefined)70:CH3:WF") field(LNK4, "$(CM,undefined)70:CH4:WF") field(LNK5, "$(CM,undefined)70:CH5:WF") field(LNK6, "$(CM,undefined)70:CH6:WF") field(LNK7, "$(CM,undefined)70:CH7:WF") field(LNK8, "$(CM,undefined)70:CH8:WF") field(LNK9, "$(CM,undefined)70:CH9:WF") field(LNKA, "$(CM,undefined)70:CH10:WF") field(LNKB, "$(CM,undefined)70:CH11:WF") field(LNKC, "$(CM,undefined)70:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)70:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)70:ACQ_CNT") { field(SDIS, "$(CM,undefined)70:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)70:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)70:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)70:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2b reg=shell_0_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)70:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)70:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)70:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)70:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)70:ACQ_DLY_") { field(SDIS, "$(CM,undefined)70:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)70:ACQ_HLDOFF field(OUT , "$(CM,undefined)70:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)70:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)70:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # waveform buffer handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # BASE - Record name prefix # NAME - FEED Device name # BIT - Channel bit number (0 is first channel) # MASK - Channel bit mask (1 is first channel) # SIZE - Max signal length (eg. 8192) # local (re)initialization record(longin, "$(CM,undefined)80:ACQ_INIT1_") { field(DTYP, "FEED On Connect") field(INP , "@name=rfs2b") field(SCAN, "I/O Intr") field(PHAS, "0") field(FLNK, "$(CM,undefined)80:ACQ_INIT2_") field(TPRO, "0") } # push out channel mask and decimation factor record(fanout, "$(CM,undefined)80:ACQ_INIT2_") { field(LNK1, "$(CM,undefined)80:ACQ_DECIM") field(LNK2, "$(CM,undefined)80:ACQ_MASK") field(LNK3, "$(CM,undefined)80:ACQ_TAG_RBV") field(LNK4, "") field(LNK5, "") field(LNK6, "$(CM,undefined)80:ACQ_MODE") field(FLNK, "$(CM,undefined)80:ACQ_INIT3_") field(TPRO, "0") } # wait for write completion before triggering first acquisition record(longin, "$(CM,undefined)80:ACQ_INIT3_") { field(DTYP, "FEED Sync") field(INP , "@name=rfs2b") field(FLNK, "$(CM,undefined)80:ACQ_MODE") field(TPRO, "0") } # timebase logic record(longout, "$(CM,undefined)80:ACQ_DECIM") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_wave_samp_per wait=false") field(VAL , "1") field(DRVH, "0xff") field(DRVL, "1") field(HOPR, "0xff") field(LOPR, "1") field(FLNK, "$(CM,undefined)80:ACQ_SAMP_PERIOD") field(TPRO, "0") info(autosaveFields_pass0, "VAL") info(feed:info:setting, "$(CM,undefined)80:ACQ_DECIM") } record(calc, "$(CM,undefined)80:ACQ_SAMP_PERIOD") { field(INPA, "$(CM,undefined)80:ACQ_DECIM") field(INPB, "33") # cic_base_period field(INPC, "94.29e6") # samp/sec field(CALC, "B*2*A/C") field(FLNK, "$(CM,undefined)80:ACQ_AMPCALC") field(TSEL, "$(CM,undefined)80:ACQ_DECIM.TIME") } # amplitude record(aSub, "$(CM,undefined)80:ACQ_AMPCALC") { field(SNAM, "asub_yscale") field(FTA , "ULONG") # wave_samp_per register field(INPA, "$(CM,undefined)80:ACQ_DECIM MSI NPP") field(FTB , "ULONG") # cic_period field(INPB, "33") # cic_base_period field(FTVA, "ULONG") # wave_shift field(OUTA, "$(CM,undefined)80:ACQ_WAVESHIFT MSI PP") field(FTVB, "DOUBLE") # yscale (referenced in feed_wf_acquire_signal.template) field(EFLG, "ALWAYS") } record(longout, "$(CM,undefined)80:ACQ_WAVESHIFT") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_wave_shift wait=false") field(DRVL, "0") field(DRVH, "255") } # channel mask logic record(mbboDirect, "$(CM,undefined)80:ACQ_MASK") { field(DESC, "Channel selection bitmask") field(OUT , "$(CM,undefined)80:ACQ_MASK2_ PP") field(TPRO, "0") info(autosaveFields_pass0, "VAL B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB") } record(longout, "$(CM,undefined)80:ACQ_MASK2_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_chan_keep wait=false") field(FLNK, "$(CM,undefined)80:ACQ_MASK3_") field(TPRO, "0") } record(aSub, "$(CM,undefined)80:ACQ_MASK3_") { field(SNAM, "asub_split_bits") field(FTA , "LONG") field(INPA, "$(CM,undefined)80:ACQ_MASK2_ NPP") field(FTVA, "LONG") field(FTVB, "LONG") field(FTVC, "LONG") field(FTVD, "LONG") field(FTVE, "LONG") field(FTVF, "LONG") field(FTVG, "LONG") field(FTVH, "LONG") field(FTVI, "LONG") field(FTVJ, "LONG") field(FTVK, "LONG") field(FTVL, "LONG") field(FTVM, "LONG") # individual signals monitor one of VALB -> VALM # to detect config changes field(EFLG, "ALWAYS") } # tag handling # we manage the tag. Clients may increment on request # as part of acqusition update sequencing record(busy, "$(CM,undefined)80:ACQ_TAGINC_CMD") { field(OUT , "$(CM,undefined)80:ACQ_TAGINC_CALC_.PROC PP") } record(calcout, "$(CM,undefined)80:ACQ_TAGINC_CALC_") { # prevent inc on cancel/complete field(SDIS, "$(CM,undefined)80:ACQ_TAGINC_CMD") field(DISV, "0") field(INPA, "$(CM,undefined)80:ACQ_TAGINC_CALC_") field(INPB, "255") field(CALC, "(A+1)&0xff") # 8 bit counter field(OUT , "$(CM,undefined)80:ACQ_TAG_RBVX_ PP") } record(longout, "$(CM,undefined)80:ACQ_TAG_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(OUT , "$(CM,undefined)80:ACQ_TAG_RBV PP") } record(longout, "$(CM,undefined)80:ACQ_TAG_RBV") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=shell_1_dsp_tag") field(VAL , "0") field(FLNK, "$(CM,undefined)80:ACQ_TAGDONE_CMD_") info(feed:info:readback, "$(CM,undefined)80:ACQ_TAG_RBV") info(feed:info:increment, "$(CM,undefined)80:ACQ_TAGINC_CMD") } # Complete TagInc record(longout, "$(CM,undefined)80:ACQ_TAGDONE_CMD_") { field(VAL, "0") field(OUT, "$(CM,undefined)80:ACQ_TAGINC_CMD PP") } # acquisition trigger logic record(bo, "$(CM,undefined)80:ACQ_MODE") { field(ZNAM, "Single") field(ONAM, "Normal") field(VAL , "0") field(FLNK, "$(CM,undefined)80:ACQ_CMD") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)80:ACQ_HLDOFF") { field(DESC, "re-arm holdoff time") field(OUT , "$(CM,undefined)80:ACQ_DLY_.ODLY NPP") field(PINI, "YES") field(DRVH, "5.0") field(DRVL, "0.1") field(VAL , "1.0") field(EGU , "s") field(PREC, "2") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)80:ACQ_CMD") { field(DESC, "Start aquisition") field(ZNAM, "Acquire") field(ONAM, "Acquire") field(FLNK, "$(CM,undefined)80:ACQ_CMDX_") field(TPRO, "0") } record(longout, "$(CM,undefined)80:ACQ_CMDX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK, "$(CM,undefined)80:ACQ_CMD_ PP") } # write 2 to reg circle_buf_flip record(longout, "$(CM,undefined)80:ACQ_CMD_") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=circle_buf_flip") field(VAL , "2") field(FLNK, "$(CM,undefined)80:ACQ_RDY_RBVX_") field(TPRO, "0") } record(longout, "$(CM,undefined)80:ACQ_RDY_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)80:ACQ_RDY_RBV_") } # wait for value & 2 == 2 for reg llrf_circle_ready record(bo, "$(CM,undefined)80:ACQ_RDY_RBV_") { field(DTYP, "FEED Register Watch") field(OUT , "@name=rfs2b retry=0.1 reg=llrf_circle_ready mask=2 value=2") field(FLNK, "$(CM,undefined)80:ACQ_CIRCRAWX_") field(TPRO, "0") } record(longout, "$(CM,undefined)80:ACQ_CIRCRAWX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)80:ACQ_CIRCRAW_") } # actual readback of sample buffer # only first element is used, but all are read in record(ai, "$(CM,undefined)80:ACQ_CIRCRAW_") { field(SDIS, "$(CM,undefined)80:ACQ_RDY_RBV_ MSI") field(DISV, "-42") # alarm propagation only, should never disable scan field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") field(INP , "@name=rfs2b reg=shell_1_circle_data") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:ACQ_TAG1_RBVX_") field(TPRO, "0") info(feed:info:acqcnt, "$(CM,undefined)80:ACQ_CNT") info(feed:info:acqmode, "$(CM,undefined)80:ACQ_MODE") } record(longout, "$(CM,undefined)80:ACQ_TAG1_RBVX_") { field(DTYP, "FEED Hack lp:1745039") field(FLNK , "$(CM,undefined)80:ACQ_TAG1_RBV") } # actual readback of slow buffer record(longin, "$(CM,undefined)80:ACQ_TAG1_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=34") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)80:ACQ_TAG2_RBV") field(TPRO, "0") info(feed:info:tag1, "$(CM,undefined)80:ACQ_TAG1_RBV") } record(longin, "$(CM,undefined)80:ACQ_TAG2_RBV") { field(DTYP, "FEED Register Read") field(DESC, "Tag at end of acq.") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=33 wait=false") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)80:ACQ_NEXT_FOUT_") field(TPRO, "0") info(feed:info:tag2, "$(CM,undefined)80:ACQ_TAG2_RBV") } # does downstream processing # of signals, I/Q pairs, and stats record(fanout, "$(CM,undefined)80:ACQ_NEXT_FOUT_") { field(LNK0, "$(CM,undefined)80:CH0:WF") field(LNK1, "$(CM,undefined)80:CH1:WF") field(LNK2, "$(CM,undefined)80:CH2:WF") field(LNK3, "$(CM,undefined)80:CH3:WF") field(LNK4, "$(CM,undefined)80:CH4:WF") field(LNK5, "$(CM,undefined)80:CH5:WF") field(LNK6, "$(CM,undefined)80:CH6:WF") field(LNK7, "$(CM,undefined)80:CH7:WF") field(LNK8, "$(CM,undefined)80:CH8:WF") field(LNK9, "$(CM,undefined)80:CH9:WF") field(LNKA, "$(CM,undefined)80:CH10:WF") field(LNKB, "$(CM,undefined)80:CH11:WF") field(LNKC, "$(CM,undefined)80:DIAG_CNT_CALC_") field(LNKD, "") field(LNKE, "") field(LNKF, "") field(FLNK, "$(CM,undefined)80:ACQ_CNT") field(TPRO, "0") } # at this point all signal/pair/stats records are updated. # So external clients can monitor CNT or SLOWRAW to detect new data # and be confident that any get() issued after a subscription update # will not fetch data from a previous acquisition. record(calc, "$(CM,undefined)80:ACQ_CNT") { field(SDIS, "$(CM,undefined)80:ACQ_RDY_RBV_ MSI") field(DISV, "-42") field(INPA, "$(CM,undefined)80:ACQ_CNT") field(CALC, "A+1") field(FLNK, "$(CM,undefined)80:ACQ_SLOWRAW") field(TPRO, "0") } # used by wait_for_acq() in ca.py record(aai, "$(CM,undefined)80:ACQ_SLOWRAW") { field(DTYP, "FEED Register Read") field(DESC, "Tag at start of acq.") field(INP , "@name=rfs2b reg=shell_1_slow_data wait=false") field(FTVL, "UCHAR") # slow_data width=8 field(NELM, "128") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") field(FLNK, "$(CM,undefined)80:ACQ_DLY_") field(TPRO, "0") info(feed:info:rawinput, "$(CM,undefined)80:ACQ_SLOWRAW") } record(calc, "$(CM,undefined)80:ACQ_RATE") { field(SCAN, "10 second") field(INPA, "$(CM,undefined)80:ACQ_CNT") field(CALC, "C:=A-B;B:=A;C/10") field(EGU , "Hz") field(PREC, "2") } record(calcout, "$(CM,undefined)80:ACQ_DLY_") { field(SDIS, "$(CM,undefined)80:ACQ_MODE") field(DISV, "0") # disable when Single field(CALC, "0") field(ODLY, "1.0") # overwritten by $(CM,undefined)80:ACQ_HLDOFF field(OUT , "$(CM,undefined)80:ACQ_CMD PP") field(TPRO, "0") } # common window for all waveform stats record(ao, "$(CM,undefined)80:ACQ_STAT_START") { field(PREC, "6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(ao, "$(CM,undefined)80:ACQ_STAT_WIDTH") { field(PREC, "6") field(VAL , "1") # default to a large value to include entire period field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)70:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)70:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)70:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)70:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_0_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)70:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)70:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)70:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)70:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)70:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_CNTRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=17 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_CNT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_CNTRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_CNT PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_CNT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=19 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_STAT PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC1_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC1_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=23 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC1_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC1_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC1_MAX PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC1_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC1_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC1_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=21 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC1_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC1_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC1_MIN PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC2_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC1_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC2_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=27 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC2_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC2_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC2_MAX PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC2_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC2_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC2_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=25 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC2_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC2_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC2_MIN PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC3_MAX_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC2_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC3_MAXRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=31 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC3_MAX_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC3_MAXRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC3_MAX PP MSI") field(FLNK, "$(CM,undefined)80:DIAG_ADC3_MIN_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC3_MAX") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:DIAG_ADC3_MINRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=29 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:DIAG_ADC3_MIN_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:DIAG_ADC3_MINRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:DIAG_ADC3_MIN PP MSI") field(FLNK, "$(CM,undefined)80:OFLW_STAT_CALC_") # to extrernal logic } record(longin, "$(CM,undefined)80:DIAG_ADC3_MIN") { field(LOLO, "-32768") field(LOW , "-29204") field(HIGH, "29204") field(HIHI, "32767") field(LLSV, "MAJOR") field(LSV , "MINOR") field(HSV , "MINOR") field(HHSV, "MAJOR") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # Extract two bytes from the slow data array # and concatinate into a 16-bit integer # # PREF - Our record prefix # BASE - Prefix of feed_wf_acquire_base.template # BIT - Channel bit number (0 is first channel) # OFFH - Address offset of high byte (lower index) # OFFL - Address offset of low byte # LOW - Low alarm level of final 16-bit unsigned integer # HIGH - High alarm level of final 16-bit unsigned integer # SIGN - Bit mask including sign bit, and all higher bits record(aai, "$(CM,undefined)80:OFLW_STATRAW_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=shell_1_slow_data offset=35 wait=false") field(FTVL, "UCHAR") field(NELM, "2") } record(aSub, "$(CM,undefined)80:OFLW_STAT_CALC_") { field(SNAM, "asub_feed_bcat") field(FTA , "UCHAR") field(FTVA, "ULONG") field(INPA, "$(CM,undefined)80:OFLW_STATRAW_ PP MSI") field(NOA , "2") field(OUTA, "$(CM,undefined)80:OFLW_STAT PP MSI") field(FLNK, "") # to extrernal logic } record(longin, "$(CM,undefined)80:OFLW_STAT") { field(LOLO, "") field(LOW , "") field(HIGH, "") field(HIHI, "") field(LLSV, "") field(LSV , "") field(HSV , "") field(HHSV, "") field(TSEL, "$(CM,undefined)80:ACQ_CIRCRAW_.TIME") info(autosaveFields_pass0, "LOLO LOW HIGH HIHI HHSV HSV LSV LLSV") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH0:OFFSET") } record(longout, "$(CM,undefined)70:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)70:CH0:STEP") } record(longout, "$(CM,undefined)70:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)70:CH0:WF") info(feed:info:time0, "$(CM,undefined)70:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)70:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH0:NORD") { field(INP , "$(CM,undefined)70:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH1:OFFSET") } record(longout, "$(CM,undefined)70:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)70:CH1:STEP") } record(longout, "$(CM,undefined)70:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)70:CH1:WF") info(feed:info:time1, "$(CM,undefined)70:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)70:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH1:NORD") { field(INP , "$(CM,undefined)70:CH1:WF.NORD") field(FLNK, "$(CM,undefined)70:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH2:OFFSET") } record(longout, "$(CM,undefined)70:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)70:CH2:STEP") } record(longout, "$(CM,undefined)70:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)70:CH2:WF") info(feed:info:time2, "$(CM,undefined)70:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)70:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH2:NORD") { field(INP , "$(CM,undefined)70:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH3:OFFSET") } record(longout, "$(CM,undefined)70:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)70:CH3:STEP") } record(longout, "$(CM,undefined)70:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)70:CH3:WF") info(feed:info:time3, "$(CM,undefined)70:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)70:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH3:NORD") { field(INP , "$(CM,undefined)70:CH3:WF.NORD") field(FLNK, "$(CM,undefined)70:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH4:OFFSET") } record(longout, "$(CM,undefined)70:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)70:CH4:STEP") } record(longout, "$(CM,undefined)70:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)70:CH4:WF") info(feed:info:time4, "$(CM,undefined)70:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)70:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH4:NORD") { field(INP , "$(CM,undefined)70:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH5:OFFSET") } record(longout, "$(CM,undefined)70:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)70:CH5:STEP") } record(longout, "$(CM,undefined)70:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)70:CH5:WF") info(feed:info:time5, "$(CM,undefined)70:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)70:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH5:NORD") { field(INP , "$(CM,undefined)70:CH5:WF.NORD") field(FLNK, "$(CM,undefined)70:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH6:OFFSET") } record(longout, "$(CM,undefined)70:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)70:CH6:STEP") } record(longout, "$(CM,undefined)70:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)70:CH6:WF") info(feed:info:time6, "$(CM,undefined)70:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)70:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH6:NORD") { field(INP , "$(CM,undefined)70:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH7:OFFSET") } record(longout, "$(CM,undefined)70:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)70:CH7:STEP") } record(longout, "$(CM,undefined)70:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)70:CH7:WF") info(feed:info:time7, "$(CM,undefined)70:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)70:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH7:NORD") { field(INP , "$(CM,undefined)70:CH7:WF.NORD") field(FLNK, "$(CM,undefined)70:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH8:OFFSET") } record(longout, "$(CM,undefined)70:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)70:CH8:STEP") } record(longout, "$(CM,undefined)70:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)70:CH8:WF") info(feed:info:time8, "$(CM,undefined)70:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)70:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH8:NORD") { field(INP , "$(CM,undefined)70:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH9:OFFSET") } record(longout, "$(CM,undefined)70:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)70:CH9:STEP") } record(longout, "$(CM,undefined)70:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)70:CH9:WF") info(feed:info:time9, "$(CM,undefined)70:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)70:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH9:NORD") { field(INP , "$(CM,undefined)70:CH9:WF.NORD") field(FLNK, "$(CM,undefined)70:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH10:OFFSET") } record(longout, "$(CM,undefined)70:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)70:CH10:STEP") } record(longout, "$(CM,undefined)70:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)70:CH10:WF") info(feed:info:time10, "$(CM,undefined)70:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)70:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH10:NORD") { field(INP , "$(CM,undefined)70:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)70:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)70:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)70:CH11:OFFSET") } record(longout, "$(CM,undefined)70:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)70:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)70:CH11:STEP") } record(longout, "$(CM,undefined)70:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)70:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)70:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)70:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)70:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)70:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)70:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)70:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)70:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)70:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)70:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)70:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)70:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_0_circle_data signal=$(CM,undefined)70:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)70:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)70:CH11:WF") info(feed:info:time11, "$(CM,undefined)70:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)70:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)70:CH11:NORD") { field(INP , "$(CM,undefined)70:CH11:WF.NORD") field(FLNK, "$(CM,undefined)70:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)70:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)70:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)70:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)70:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)70:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)70:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CH11:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH0:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALB CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH0:OFFSET") } record(longout, "$(CM,undefined)80:CH0:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALB") field(FLNK, "$(CM,undefined)80:CH0:STEP") } record(longout, "$(CM,undefined)80:CH0:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH0:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH0:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH0:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH0:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH0:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH0:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH0:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH0:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH0:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH0:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH0: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH0:NORD") field(TPRO, "0") info(feed:info:input0, "$(CM,undefined)80:CH0:WF") info(feed:info:time0, "$(CM,undefined)80:CH0:TWF") info(feed:info:scale0, "$(CM,undefined)80:CH0:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH0:NORD") { field(INP , "$(CM,undefined)80:CH0:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH0:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH0:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH0:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH0:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH0:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH1:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALC CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH1:OFFSET") } record(longout, "$(CM,undefined)80:CH1:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALC") field(FLNK, "$(CM,undefined)80:CH1:STEP") } record(longout, "$(CM,undefined)80:CH1:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH1:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH1:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH1:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH1:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH1:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH1:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH1:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH1:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH1:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH1:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH1: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH1:NORD") field(TPRO, "0") info(feed:info:input1, "$(CM,undefined)80:CH1:WF") info(feed:info:time1, "$(CM,undefined)80:CH1:TWF") info(feed:info:scale1, "$(CM,undefined)80:CH1:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH1:NORD") { field(INP , "$(CM,undefined)80:CH1:WF.NORD") field(FLNK, "$(CM,undefined)80:DRV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH1:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH1:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH1:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH1:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH1:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH2:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALD CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH2:OFFSET") } record(longout, "$(CM,undefined)80:CH2:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALD") field(FLNK, "$(CM,undefined)80:CH2:STEP") } record(longout, "$(CM,undefined)80:CH2:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH2:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH2:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH2:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH2:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH2:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH2:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH2:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH2:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH2:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH2:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH2: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH2:NORD") field(TPRO, "0") info(feed:info:input2, "$(CM,undefined)80:CH2:WF") info(feed:info:time2, "$(CM,undefined)80:CH2:TWF") info(feed:info:scale2, "$(CM,undefined)80:CH2:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH2:NORD") { field(INP , "$(CM,undefined)80:CH2:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH2:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH2:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH2:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH2:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH2:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH3:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALE CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH3:OFFSET") } record(longout, "$(CM,undefined)80:CH3:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALE") field(FLNK, "$(CM,undefined)80:CH3:STEP") } record(longout, "$(CM,undefined)80:CH3:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH3:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH3:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH3:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH3:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH3:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH3:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH3:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH3:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH3:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH3:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH3: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH3:NORD") field(TPRO, "0") info(feed:info:input3, "$(CM,undefined)80:CH3:WF") info(feed:info:time3, "$(CM,undefined)80:CH3:TWF") info(feed:info:scale3, "$(CM,undefined)80:CH3:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH3:NORD") { field(INP , "$(CM,undefined)80:CH3:WF.NORD") field(FLNK, "$(CM,undefined)80:FWD:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH3:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH3:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH3:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH3:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH3:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH4:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALF CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH4:OFFSET") } record(longout, "$(CM,undefined)80:CH4:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALF") field(FLNK, "$(CM,undefined)80:CH4:STEP") } record(longout, "$(CM,undefined)80:CH4:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH4:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH4:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH4:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH4:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH4:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH4:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH4:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH4:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH4:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH4:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH4: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH4:NORD") field(TPRO, "0") info(feed:info:input4, "$(CM,undefined)80:CH4:WF") info(feed:info:time4, "$(CM,undefined)80:CH4:TWF") info(feed:info:scale4, "$(CM,undefined)80:CH4:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH4:NORD") { field(INP , "$(CM,undefined)80:CH4:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH4:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH4:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH4:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH4:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH4:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH5:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALG CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH5:OFFSET") } record(longout, "$(CM,undefined)80:CH5:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALG") field(FLNK, "$(CM,undefined)80:CH5:STEP") } record(longout, "$(CM,undefined)80:CH5:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH5:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH5:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH5:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH5:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH5:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH5:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH5:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH5:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH5:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH5:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH5: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH5:NORD") field(TPRO, "0") info(feed:info:input5, "$(CM,undefined)80:CH5:WF") info(feed:info:time5, "$(CM,undefined)80:CH5:TWF") info(feed:info:scale5, "$(CM,undefined)80:CH5:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH5:NORD") { field(INP , "$(CM,undefined)80:CH5:WF.NORD") field(FLNK, "$(CM,undefined)80:REV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH5:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH5:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH5:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH5:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH5:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH6:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALH CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH6:OFFSET") } record(longout, "$(CM,undefined)80:CH6:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALH") field(FLNK, "$(CM,undefined)80:CH6:STEP") } record(longout, "$(CM,undefined)80:CH6:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH6:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH6:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH6:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH6:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH6:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH6:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH6:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH6:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH6:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH6:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH6: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH6:NORD") field(TPRO, "0") info(feed:info:input6, "$(CM,undefined)80:CH6:WF") info(feed:info:time6, "$(CM,undefined)80:CH6:TWF") info(feed:info:scale6, "$(CM,undefined)80:CH6:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH6:NORD") { field(INP , "$(CM,undefined)80:CH6:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH6:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH6:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH6:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH6:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH6:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH7:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALI CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH7:OFFSET") } record(longout, "$(CM,undefined)80:CH7:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALI") field(FLNK, "$(CM,undefined)80:CH7:STEP") } record(longout, "$(CM,undefined)80:CH7:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH7:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH7:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH7:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH7:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH7:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH7:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH7:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH7:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH7:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH7:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH7: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH7:NORD") field(TPRO, "0") info(feed:info:input7, "$(CM,undefined)80:CH7:WF") info(feed:info:time7, "$(CM,undefined)80:CH7:TWF") info(feed:info:scale7, "$(CM,undefined)80:CH7:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH7:NORD") { field(INP , "$(CM,undefined)80:CH7:WF.NORD") field(FLNK, "$(CM,undefined)80:CAV:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH7:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH7:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH7:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH7:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH7:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH8:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALJ CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH8:OFFSET") } record(longout, "$(CM,undefined)80:CH8:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALJ") field(FLNK, "$(CM,undefined)80:CH8:STEP") } record(longout, "$(CM,undefined)80:CH8:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH8:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH8:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH8:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH8:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH8:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH8:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH8:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH8:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH8:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH8:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH8: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH8:NORD") field(TPRO, "0") info(feed:info:input8, "$(CM,undefined)80:CH8:WF") info(feed:info:time8, "$(CM,undefined)80:CH8:TWF") info(feed:info:scale8, "$(CM,undefined)80:CH8:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH8:NORD") { field(INP , "$(CM,undefined)80:CH8:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH8:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH8:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH8:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH8:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH8:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH9:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALK CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH9:OFFSET") } record(longout, "$(CM,undefined)80:CH9:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALK") field(FLNK, "$(CM,undefined)80:CH9:STEP") } record(longout, "$(CM,undefined)80:CH9:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH9:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH9:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH9:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH9:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH9:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH9:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH9:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH9:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH9:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH9:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH9: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH9:NORD") field(TPRO, "0") info(feed:info:input9, "$(CM,undefined)80:CH9:WF") info(feed:info:time9, "$(CM,undefined)80:CH9:TWF") info(feed:info:scale9, "$(CM,undefined)80:CH9:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH9:NORD") { field(INP , "$(CM,undefined)80:CH9:WF.NORD") field(FLNK, "$(CM,undefined)80:DAC:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH9:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH9:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH9:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH9:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH9:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH10:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALL CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH10:OFFSET") } record(longout, "$(CM,undefined)80:CH10:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALL") field(FLNK, "$(CM,undefined)80:CH10:STEP") } record(longout, "$(CM,undefined)80:CH10:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH10:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH10:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH10:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH10:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH10:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH10:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH10:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH10:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH10:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH10:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH10: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH10:NORD") field(TPRO, "0") info(feed:info:input10, "$(CM,undefined)80:CH10:WF") info(feed:info:time10, "$(CM,undefined)80:CH10:TWF") info(feed:info:scale10, "$(CM,undefined)80:CH10:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH10:NORD") { field(INP , "$(CM,undefined)80:CH10:WF.NORD") field(FLNK, "") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH10:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH10:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH10:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH10:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH10:TWF_.TIME") } # waveform buffer signal handling # # Write channel select mask to shell_#_dsp_chan_keep # # Write one to bit N in circle_buf_flip to enable acquisition of channel N # # Wait for bit N in llrf_circle_ready to be set # # Macros # PREF - Record name prefix # NAME - FEED Device name # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # REG - array register name # LETTER - letter of mask field (B -> M) # SIZE - Max signal length (eg. 8192) # configuration logic record(longin, "$(CM,undefined)80:CH11:CONFIG_") { # monitor offset computed in feed_wf_acquire_base.template field(INP , "$(CM,undefined)80:ACQ_MASK3_.VALM CP") field(TPRO, "0") field(FLNK, "$(CM,undefined)80:CH11:OFFSET") } record(longout, "$(CM,undefined)80:CH11:OFFSET") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Signal Offset") field(OUT , "@signal=$(CM,undefined)80:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALM") field(FLNK, "$(CM,undefined)80:CH11:STEP") } record(longout, "$(CM,undefined)80:CH11:STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=$(CM,undefined)80:CH11:") field(OMSL, "closed_loop") field(DOL , "$(CM,undefined)80:ACQ_MASK3_.VALA MSI") field(FLNK, "") } # User scaling factor, applied along with full scale # computed for decimation (wave_samp_per) # Scale from ARB [0, 1) -> EGU record(ao, "$(CM,undefined)80:CH11:SCALE") { field(VAL , "1.0") field(PREC, "9") field(FLNK, "$(CM,undefined)80:CH11:SCALE_CALC_") info(autosaveFields_pass0, "VAL") } record(calcout, "$(CM,undefined)80:CH11:SCALE_CALC_") { field(INPA, "$(CM,undefined)80:CH11:SCALE NPP MSI") field(INPB, "$(CM,undefined)80:ACQ_AMPCALC.VALB CP MSI") # take the full scale value and compute our scaling factor field(CALC, "A/B") # if for some reason we get a junk (INVALID) scaling factor, default to 1.0 field(IVOA, "Set output to IVOV") field(IVOV, "1.0") field(OUT , "$(CM,undefined)80:CH11:SCALE_RBV PP") } # readback of actual scaling factor used # from ADC -> EGU record(ao, "$(CM,undefined)80:CH11:SCALE_RBV") { field(DTYP, "FEED Signal Scale") field(OUT , "@signal=$(CM,undefined)80:CH11:") field(VAL , "1.0") field(PREC, "9") } # waveform update logic # FLNK'd from feed_wf_acquire_base.template record(aai, "$(CM,undefined)80:CH11:WF") { # scan disable when this signal is not selected field(SDIS, "$(CM,undefined)80:CH11:CONFIG_") field(DISV, "-1") field(DTYP, "FEED Register Read") field(DESC, "Reg rfs2b") # wait=false uses values previously readback in feed_wf_acquire_base.template field(INP , "@name=rfs2b reg=shell_1_circle_data signal=$(CM,undefined)80:CH11: wait=false") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSE , "-2") field(FLNK, "$(CM,undefined)80:CH11:NORD") field(TPRO, "0") info(feed:info:input11, "$(CM,undefined)80:CH11:WF") info(feed:info:time11, "$(CM,undefined)80:CH11:TWF") info(feed:info:scale11, "$(CM,undefined)80:CH11:SCALE") } # workaround for bug in aaiRecord. doesn't post monitors on NORD record(longin, "$(CM,undefined)80:CH11:NORD") { field(INP , "$(CM,undefined)80:CH11:WF.NORD") field(FLNK, "$(CM,undefined)80:DF:AP_CALC_") # connect to external (eg. _pair.template) field(TPRO, "0") } record(aSub, "$(CM,undefined)80:CH11:TWF_") { field(SNAM, "asub_feed_timebase") # first value field(FTA , "DOUBLE") field(INPA, "0.0") # step size field(FTB , "DOUBLE") field(INPB, "$(CM,undefined)80:ACQ_SAMP_PERIOD CP MSI") # max element count limit # TODO: calulate real step size field(FTC , "ULONG") field(INPC, "$(CM,undefined)80:CH11:NORD CP MSI") # output array field(FTVA, "DOUBLE") field(NOVA, "8192") field(OUTA, "$(CM,undefined)80:CH11:TWF PP MSI") field(TPRO, "0") field(TSEL, "$(CM,undefined)80:ACQ_SAMP_PERIOD.TIME CA") } record(aai, "$(CM,undefined)80:CH11:TWF") { field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CH11:TWF_.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)70:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH0:TWF", "$(CM,undefined)70:DRV:TWF") alias("$(CM,undefined)70:CH0:WF", "$(CM,undefined)70:DRV:IWF") alias("$(CM,undefined)70:CH1:WF", "$(CM,undefined)70:DRV:QWF") alias("$(CM,undefined)70:CH0:SCALE", "$(CM,undefined)70:DRV:ISCALE") alias("$(CM,undefined)70:CH1:SCALE", "$(CM,undefined)70:DRV:QSCALE") alias("$(CM,undefined)70:CH0:NORD", "$(CM,undefined)70:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)70:DRV:ENABLE") } record(aai, "$(CM,undefined)70:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)70:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:DRV:ENABLE", "$(CM,undefined)70:CH0:ENABLE") alias("$(CM,undefined)70:DRV:ENABLE", "$(CM,undefined)70:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)70:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)70:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)70:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)70:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)70:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)70:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } record(aai, "$(CM,undefined)70:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)70:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH2:TWF", "$(CM,undefined)70:FWD:TWF") alias("$(CM,undefined)70:CH2:WF", "$(CM,undefined)70:FWD:IWF") alias("$(CM,undefined)70:CH3:WF", "$(CM,undefined)70:FWD:QWF") alias("$(CM,undefined)70:CH2:SCALE", "$(CM,undefined)70:FWD:ISCALE") alias("$(CM,undefined)70:CH3:SCALE", "$(CM,undefined)70:FWD:QSCALE") alias("$(CM,undefined)70:CH2:NORD", "$(CM,undefined)70:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)70:FWD:ENABLE") } record(aai, "$(CM,undefined)70:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)70:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:FWD:ENABLE", "$(CM,undefined)70:CH2:ENABLE") alias("$(CM,undefined)70:FWD:ENABLE", "$(CM,undefined)70:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)70:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)70:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)70:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)70:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)70:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)70:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } record(aai, "$(CM,undefined)70:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)70:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH4:TWF", "$(CM,undefined)70:REV:TWF") alias("$(CM,undefined)70:CH4:WF", "$(CM,undefined)70:REV:IWF") alias("$(CM,undefined)70:CH5:WF", "$(CM,undefined)70:REV:QWF") alias("$(CM,undefined)70:CH4:SCALE", "$(CM,undefined)70:REV:ISCALE") alias("$(CM,undefined)70:CH5:SCALE", "$(CM,undefined)70:REV:QSCALE") alias("$(CM,undefined)70:CH4:NORD", "$(CM,undefined)70:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)70:REV:ENABLE") } record(aai, "$(CM,undefined)70:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)70:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:REV:ENABLE", "$(CM,undefined)70:CH4:ENABLE") alias("$(CM,undefined)70:REV:ENABLE", "$(CM,undefined)70:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)70:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)70:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)70:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)70:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)70:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aSub, "$(CM,undefined)70:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } record(aai, "$(CM,undefined)70:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)70:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH6:TWF", "$(CM,undefined)70:CAV:TWF") alias("$(CM,undefined)70:CH6:WF", "$(CM,undefined)70:CAV:IWF") alias("$(CM,undefined)70:CH7:WF", "$(CM,undefined)70:CAV:QWF") alias("$(CM,undefined)70:CH6:SCALE", "$(CM,undefined)70:CAV:ISCALE") alias("$(CM,undefined)70:CH7:SCALE", "$(CM,undefined)70:CAV:QSCALE") alias("$(CM,undefined)70:CH6:NORD", "$(CM,undefined)70:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)70:CAV:ENABLE") } record(aai, "$(CM,undefined)70:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)70:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:CAV:ENABLE", "$(CM,undefined)70:CH6:ENABLE") alias("$(CM,undefined)70:CAV:ENABLE", "$(CM,undefined)70:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)70:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)70:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)70:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)70:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)70:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)70:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } record(aai, "$(CM,undefined)70:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)70:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH8:TWF", "$(CM,undefined)70:DAC:TWF") alias("$(CM,undefined)70:CH8:WF", "$(CM,undefined)70:DAC:IWF") alias("$(CM,undefined)70:CH9:WF", "$(CM,undefined)70:DAC:QWF") alias("$(CM,undefined)70:CH8:SCALE", "$(CM,undefined)70:DAC:ISCALE") alias("$(CM,undefined)70:CH9:SCALE", "$(CM,undefined)70:DAC:QSCALE") alias("$(CM,undefined)70:CH8:NORD", "$(CM,undefined)70:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)70:DAC:ENABLE") } record(aai, "$(CM,undefined)70:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)70:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:DAC:ENABLE", "$(CM,undefined)70:CH8:ENABLE") alias("$(CM,undefined)70:DAC:ENABLE", "$(CM,undefined)70:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)70:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)70:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)70:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)70:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)70:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)70:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } record(aai, "$(CM,undefined)70:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)70:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)70:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)70:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)70:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)70:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)70:CH10:TWF", "$(CM,undefined)70:DF:TWF") alias("$(CM,undefined)70:CH10:WF", "$(CM,undefined)70:DF:IWF") alias("$(CM,undefined)70:CH11:WF", "$(CM,undefined)70:DF:QWF") alias("$(CM,undefined)70:CH10:SCALE", "$(CM,undefined)70:DF:ISCALE") alias("$(CM,undefined)70:CH11:SCALE", "$(CM,undefined)70:DF:QSCALE") alias("$(CM,undefined)70:CH10:NORD", "$(CM,undefined)70:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)70:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)70:DF:ENABLE") } record(aai, "$(CM,undefined)70:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)70:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)70:DF:ENABLE", "$(CM,undefined)70:CH10:ENABLE") alias("$(CM,undefined)70:DF:ENABLE", "$(CM,undefined)70:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)70:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)70:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)70:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)70:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)70:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)70:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)70:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)70:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)70:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)70:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)70:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)70:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)70:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)70:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)70:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aSub, "$(CM,undefined)70:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)70:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)70:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } record(aai, "$(CM,undefined)70:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)70:DF:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:DRV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:DRV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:DRV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.BB") field(OUTB, "$(CM,undefined)80:ACQ_MASK.BA PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH0:TWF", "$(CM,undefined)80:DRV:TWF") alias("$(CM,undefined)80:CH0:WF", "$(CM,undefined)80:DRV:IWF") alias("$(CM,undefined)80:CH1:WF", "$(CM,undefined)80:DRV:QWF") alias("$(CM,undefined)80:CH0:SCALE", "$(CM,undefined)80:DRV:ISCALE") alias("$(CM,undefined)80:CH1:SCALE", "$(CM,undefined)80:DRV:QSCALE") alias("$(CM,undefined)80:CH0:NORD", "$(CM,undefined)80:DRV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH0:WF") { info(feed:info:enable0, "$(CM,undefined)80:DRV:ENABLE") } record(aai, "$(CM,undefined)80:CH1:WF") { info(feed:info:enable1, "$(CM,undefined)80:DRV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:DRV:ENABLE", "$(CM,undefined)80:CH0:ENABLE") alias("$(CM,undefined)80:DRV:ENABLE", "$(CM,undefined)80:CH1:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:DRV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:DRV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:DRV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:DRV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:DRV:IWF MSI NPP") field(INPB, "$(CM,undefined)80:DRV:QWF MSI NPP") field(INPC, "$(CM,undefined)80:DRV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:DRV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:DRV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:DRV:AWF MSI PP") field(OUTB, "$(CM,undefined)80:DRV:PWF MSI PP") field(OUTC, "$(CM,undefined)80:DRV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:DRV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:DRV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)80:DRV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:DRV:PWF_CALC_") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aSub, "$(CM,undefined)80:DRV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:DRV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:DRV:UPWF MS PP") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } record(aai, "$(CM,undefined)80:DRV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DRV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:FWD:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:FWD:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:FWD:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.B9") field(OUTB, "$(CM,undefined)80:ACQ_MASK.B8 PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH2:TWF", "$(CM,undefined)80:FWD:TWF") alias("$(CM,undefined)80:CH2:WF", "$(CM,undefined)80:FWD:IWF") alias("$(CM,undefined)80:CH3:WF", "$(CM,undefined)80:FWD:QWF") alias("$(CM,undefined)80:CH2:SCALE", "$(CM,undefined)80:FWD:ISCALE") alias("$(CM,undefined)80:CH3:SCALE", "$(CM,undefined)80:FWD:QSCALE") alias("$(CM,undefined)80:CH2:NORD", "$(CM,undefined)80:FWD:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH2:WF") { info(feed:info:enable2, "$(CM,undefined)80:FWD:ENABLE") } record(aai, "$(CM,undefined)80:CH3:WF") { info(feed:info:enable3, "$(CM,undefined)80:FWD:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:FWD:ENABLE", "$(CM,undefined)80:CH2:ENABLE") alias("$(CM,undefined)80:FWD:ENABLE", "$(CM,undefined)80:CH3:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:FWD:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:FWD:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:FWD:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:FWD:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:FWD:IWF MSI NPP") field(INPB, "$(CM,undefined)80:FWD:QWF MSI NPP") field(INPC, "$(CM,undefined)80:FWD:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:FWD:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:FWD:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:FWD:AWF MSI PP") field(OUTB, "$(CM,undefined)80:FWD:PWF MSI PP") field(OUTC, "$(CM,undefined)80:FWD:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:FWD:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:FWD:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)80:FWD:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:FWD:PWF_CALC_") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aSub, "$(CM,undefined)80:FWD:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:FWD:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:FWD:UPWF MS PP") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } record(aai, "$(CM,undefined)80:FWD:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:FWD:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:REV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:REV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:REV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.B7") field(OUTB, "$(CM,undefined)80:ACQ_MASK.B6 PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH4:TWF", "$(CM,undefined)80:REV:TWF") alias("$(CM,undefined)80:CH4:WF", "$(CM,undefined)80:REV:IWF") alias("$(CM,undefined)80:CH5:WF", "$(CM,undefined)80:REV:QWF") alias("$(CM,undefined)80:CH4:SCALE", "$(CM,undefined)80:REV:ISCALE") alias("$(CM,undefined)80:CH5:SCALE", "$(CM,undefined)80:REV:QSCALE") alias("$(CM,undefined)80:CH4:NORD", "$(CM,undefined)80:REV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH4:WF") { info(feed:info:enable4, "$(CM,undefined)80:REV:ENABLE") } record(aai, "$(CM,undefined)80:CH5:WF") { info(feed:info:enable5, "$(CM,undefined)80:REV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:REV:ENABLE", "$(CM,undefined)80:CH4:ENABLE") alias("$(CM,undefined)80:REV:ENABLE", "$(CM,undefined)80:CH5:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:REV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:REV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:REV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:REV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:REV:IWF MSI NPP") field(INPB, "$(CM,undefined)80:REV:QWF MSI NPP") field(INPC, "$(CM,undefined)80:REV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:REV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:REV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:REV:AWF MSI PP") field(OUTB, "$(CM,undefined)80:REV:PWF MSI PP") field(OUTC, "$(CM,undefined)80:REV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:REV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:REV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)80:REV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:REV:PWF_CALC_") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aSub, "$(CM,undefined)80:REV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:REV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:REV:UPWF MS PP") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } record(aai, "$(CM,undefined)80:REV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:REV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:CAV:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:CAV:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:CAV:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.B5") field(OUTB, "$(CM,undefined)80:ACQ_MASK.B4 PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH6:TWF", "$(CM,undefined)80:CAV:TWF") alias("$(CM,undefined)80:CH6:WF", "$(CM,undefined)80:CAV:IWF") alias("$(CM,undefined)80:CH7:WF", "$(CM,undefined)80:CAV:QWF") alias("$(CM,undefined)80:CH6:SCALE", "$(CM,undefined)80:CAV:ISCALE") alias("$(CM,undefined)80:CH7:SCALE", "$(CM,undefined)80:CAV:QSCALE") alias("$(CM,undefined)80:CH6:NORD", "$(CM,undefined)80:CAV:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH6:WF") { info(feed:info:enable6, "$(CM,undefined)80:CAV:ENABLE") } record(aai, "$(CM,undefined)80:CH7:WF") { info(feed:info:enable7, "$(CM,undefined)80:CAV:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:CAV:ENABLE", "$(CM,undefined)80:CH6:ENABLE") alias("$(CM,undefined)80:CAV:ENABLE", "$(CM,undefined)80:CH7:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:CAV:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:CAV:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:CAV:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:CAV:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:CAV:IWF MSI NPP") field(INPB, "$(CM,undefined)80:CAV:QWF MSI NPP") field(INPC, "$(CM,undefined)80:CAV:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:CAV:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:CAV:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:CAV:AWF MSI PP") field(OUTB, "$(CM,undefined)80:CAV:PWF MSI PP") field(OUTC, "$(CM,undefined)80:CAV:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:CAV:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:CAV:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)80:CAV:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:CAV:PWF_CALC_") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aSub, "$(CM,undefined)80:CAV:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:CAV:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:CAV:UPWF MS PP") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } record(aai, "$(CM,undefined)80:CAV:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:CAV:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:DAC:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:DAC:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:DAC:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.B3") field(OUTB, "$(CM,undefined)80:ACQ_MASK.B2 PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH8:TWF", "$(CM,undefined)80:DAC:TWF") alias("$(CM,undefined)80:CH8:WF", "$(CM,undefined)80:DAC:IWF") alias("$(CM,undefined)80:CH9:WF", "$(CM,undefined)80:DAC:QWF") alias("$(CM,undefined)80:CH8:SCALE", "$(CM,undefined)80:DAC:ISCALE") alias("$(CM,undefined)80:CH9:SCALE", "$(CM,undefined)80:DAC:QSCALE") alias("$(CM,undefined)80:CH8:NORD", "$(CM,undefined)80:DAC:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH8:WF") { info(feed:info:enable8, "$(CM,undefined)80:DAC:ENABLE") } record(aai, "$(CM,undefined)80:CH9:WF") { info(feed:info:enable9, "$(CM,undefined)80:DAC:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:DAC:ENABLE", "$(CM,undefined)80:CH8:ENABLE") alias("$(CM,undefined)80:DAC:ENABLE", "$(CM,undefined)80:CH9:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:DAC:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:DAC:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:DAC:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:DAC:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:DAC:IWF MSI NPP") field(INPB, "$(CM,undefined)80:DAC:QWF MSI NPP") field(INPC, "$(CM,undefined)80:DAC:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:DAC:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:DAC:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:DAC:AWF MSI PP") field(OUTB, "$(CM,undefined)80:DAC:PWF MSI PP") field(OUTC, "$(CM,undefined)80:DAC:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:DAC:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:DAC:QWFDISP MSI PP") field(FLNK, "$(CM,undefined)80:DAC:ASTAT_CALC_") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:DAC:PWF_CALC_") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aSub, "$(CM,undefined)80:DAC:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:DAC:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:DAC:UPWF MS PP") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } record(aai, "$(CM,undefined)80:DAC:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DAC:IWF.TIME") } # processing of a pair of _signal.template as an I/Q pair # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # SIGI - Prefix of I records (see _signal.template) # SIGQ - Prefix of Q records (see _signal.template) # BITI - Bit field letter for I (in _base.template) # BITQ - Bit field letter for Q (in _base.template) # SIZE - Max signal length (eg. 8192) # record(bo, "$(CM,undefined)80:DF:ENABLE") { field(ZNAM, "Disable") field(ONAM, "Enable") field(OUT , "$(CM,undefined)80:DF:ENABLE_FOUT_ PP") field(VAL , "1") # initially Enable field(PINI, "YES") } record(dfanout, "$(CM,undefined)80:DF:ENABLE_FOUT_") { # MASK is async, so only PP after setting the second bit field(OUTA, "$(CM,undefined)80:ACQ_MASK.B1") field(OUTB, "$(CM,undefined)80:ACQ_MASK.B0 PP") } # alias records in _signal.template alias("$(CM,undefined)80:CH10:TWF", "$(CM,undefined)80:DF:TWF") alias("$(CM,undefined)80:CH10:WF", "$(CM,undefined)80:DF:IWF") alias("$(CM,undefined)80:CH11:WF", "$(CM,undefined)80:DF:QWF") alias("$(CM,undefined)80:CH10:SCALE", "$(CM,undefined)80:DF:ISCALE") alias("$(CM,undefined)80:CH11:SCALE", "$(CM,undefined)80:DF:QSCALE") alias("$(CM,undefined)80:CH10:NORD", "$(CM,undefined)80:DF:NORD") # inject info tags into records from _signal.template record(aai, "$(CM,undefined)80:CH10:WF") { info(feed:info:enable10, "$(CM,undefined)80:DF:ENABLE") } record(aai, "$(CM,undefined)80:CH11:WF") { info(feed:info:enable11, "$(CM,undefined)80:DF:ENABLE") } # alias our records for use like _signal.template alias("$(CM,undefined)80:DF:ENABLE", "$(CM,undefined)80:CH10:ENABLE") alias("$(CM,undefined)80:DF:ENABLE", "$(CM,undefined)80:CH11:ENABLE") # scaling factor from amplitude squared to power # (use I/Q scaling to determine amplitude scaling) record(ao, "$(CM,undefined)80:DF:PWRSCALE") { field(VAL , "1.0") field(PREC, "9") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Arbitrary offset added to phase (zero angle) record(ao, "$(CM,undefined)80:DF:ZRANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # Rotate I/Q for display purposes # Used for IWFDISP, QWFDISP record(ao, "$(CM,undefined)80:DF:DISPANGLE") { field(VAL , "0.0") field(PREC, "2") field(EGU , "deg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } # FLNK'd from _signal.template of SIGQ record(aSub, "$(CM,undefined)80:DF:AP_CALC_") { field(SNAM, "IQ2AP") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(FTVD ,"DOUBLE") field(FTVE ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(NOVA, "8192") field(NOVB, "8192") field(NOVC, "8192") field(NOVD, "8192") field(NOVE, "8192") field(INPA, "$(CM,undefined)80:DF:IWF MSI NPP") field(INPB, "$(CM,undefined)80:DF:QWF MSI NPP") field(INPC, "$(CM,undefined)80:DF:PWRSCALE MSI NPP") field(INPD, "$(CM,undefined)80:DF:ZRANGLE MSI NPP") field(INPE, "$(CM,undefined)80:DF:DISPANGLE MSI NPP") field(OUTA, "$(CM,undefined)80:DF:AWF MSI PP") field(OUTB, "$(CM,undefined)80:DF:PWF MSI PP") field(OUTC, "$(CM,undefined)80:DF:PWRWF MSI PP") field(OUTD, "$(CM,undefined)80:DF:IWFDISP MSI PP") field(OUTE, "$(CM,undefined)80:DF:QWFDISP MSI PP") field(FLNK, "") # to external logic, eg. waveform stats field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:AWF") { field(DESC, "Amplitude") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:PWRWF") { field(DESC, "Power") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:PWF") { field(DESC, "Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(FLNK, "$(CM,undefined)80:DF:PWF_CALC_") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aSub, "$(CM,undefined)80:DF:PWF_CALC_") { field(SNAM, "Phase Unwrap") field(FTA , "DOUBLE") field(NOA , "8192") field(NOVA, "8192") field(INPA, "$(CM,undefined)80:DF:PWF MS NPP") field(INPB, "160") field(OUTA, "$(CM,undefined)80:DF:UPWF MS PP") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:UPWF") { field(DESC, "Unwrapped Phase") field(EGU , "deg.") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:IWFDISP") { field(DESC, "Rotated I") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } record(aai, "$(CM,undefined)80:DF:QWFDISP") { field(DESC, "Rotated Q") field(FTVL, "DOUBLE") field(NELM, "8192") field(TSEL, "$(CM,undefined)80:DF:IWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)70:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } record(ai, "$(CM,undefined)70:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } record(ai, "$(CM,undefined)70:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } record(ai, "$(CM,undefined)70:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } record(ai, "$(CM,undefined)70:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } record(ai, "$(CM,undefined)70:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)70:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } record(ai, "$(CM,undefined)70:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } record(ai, "$(CM,undefined)70:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } record(ai, "$(CM,undefined)70:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } record(ai, "$(CM,undefined)70:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } record(ai, "$(CM,undefined)70:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)70:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)70:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } record(ai, "$(CM,undefined)70:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } record(ai, "$(CM,undefined)70:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } record(ai, "$(CM,undefined)70:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } record(ai, "$(CM,undefined)70:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } record(ai, "$(CM,undefined)70:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } record(ai, "$(CM,undefined)70:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } record(ai, "$(CM,undefined)70:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } record(ai, "$(CM,undefined)70:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } record(ai, "$(CM,undefined)70:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } record(ai, "$(CM,undefined)70:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)70:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } record(ai, "$(CM,undefined)70:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } record(ai, "$(CM,undefined)70:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } record(ai, "$(CM,undefined)70:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } record(ai, "$(CM,undefined)70:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } record(ai, "$(CM,undefined)70:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)70:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)70:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } record(ai, "$(CM,undefined)70:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } record(ai, "$(CM,undefined)70:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } record(ai, "$(CM,undefined)70:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } record(ai, "$(CM,undefined)70:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } record(ai, "$(CM,undefined)70:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)70:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)70:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)70:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)70:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)70:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } record(ai, "$(CM,undefined)70:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } record(ai, "$(CM,undefined)70:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } record(ai, "$(CM,undefined)70:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } record(ai, "$(CM,undefined)70:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } record(ai, "$(CM,undefined)70:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)70:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)70:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)70:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)70:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)70:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } record(ai, "$(CM,undefined)70:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } record(ai, "$(CM,undefined)70:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } record(ai, "$(CM,undefined)70:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } record(ai, "$(CM,undefined)70:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } record(ai, "$(CM,undefined)70:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)70:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)70:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)70:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)70:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)70:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)70:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)70:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)70:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)70:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)70:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)70:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)70:DF:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DRV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DRV:AWF NPP MSI") field(INPB, "$(CM,undefined)80:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DRV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DRV:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:DRV:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:DRV:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:DRV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:DRV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } record(ai, "$(CM,undefined)80:DRV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } record(ai, "$(CM,undefined)80:DRV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } record(ai, "$(CM,undefined)80:DRV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } record(ai, "$(CM,undefined)80:DRV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } record(ai, "$(CM,undefined)80:DRV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DRV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DRV:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DRV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DRV:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:DRV:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:DRV:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:DRV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:DRV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DRV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DRV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:DRV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DRV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DRV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:DRV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:DRV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:DRV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DRV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DRV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:FWD:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:FWD:AWF NPP MSI") field(INPB, "$(CM,undefined)80:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:FWD:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:FWD:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:FWD:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:FWD:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:FWD:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:FWD:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } record(ai, "$(CM,undefined)80:FWD:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } record(ai, "$(CM,undefined)80:FWD:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } record(ai, "$(CM,undefined)80:FWD:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } record(ai, "$(CM,undefined)80:FWD:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } record(ai, "$(CM,undefined)80:FWD:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:FWD:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:FWD:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:FWD:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:FWD:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:FWD:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:FWD:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:FWD:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:FWD:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:FWD:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:FWD:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:FWD:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:FWD:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:FWD:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:FWD:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:FWD:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:FWD:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } record(ai, "$(CM,undefined)80:FWD:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:FWD:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:REV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:REV:AWF NPP MSI") field(INPB, "$(CM,undefined)80:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:REV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:REV:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:REV:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:REV:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:REV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:REV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } record(ai, "$(CM,undefined)80:REV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } record(ai, "$(CM,undefined)80:REV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } record(ai, "$(CM,undefined)80:REV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } record(ai, "$(CM,undefined)80:REV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } record(ai, "$(CM,undefined)80:REV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:REV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:REV:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:REV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:REV:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:REV:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:REV:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:REV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:REV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } record(ai, "$(CM,undefined)80:REV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } record(ai, "$(CM,undefined)80:REV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } record(ai, "$(CM,undefined)80:REV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } record(ai, "$(CM,undefined)80:REV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } record(ai, "$(CM,undefined)80:REV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:REV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:REV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:REV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:REV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:REV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:REV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:REV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:REV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:REV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:REV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:REV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:REV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:REV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:REV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:CAV:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:CAV:AWF NPP MSI") field(INPB, "$(CM,undefined)80:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:CAV:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:CAV:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:CAV:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:CAV:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:CAV:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:CAV:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } record(ai, "$(CM,undefined)80:CAV:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } record(ai, "$(CM,undefined)80:CAV:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } record(ai, "$(CM,undefined)80:CAV:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } record(ai, "$(CM,undefined)80:CAV:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } record(ai, "$(CM,undefined)80:CAV:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:CAV:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:CAV:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:CAV:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:CAV:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:CAV:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:CAV:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:CAV:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:CAV:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:CAV:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:CAV:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:CAV:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:CAV:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:CAV:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:CAV:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:CAV:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:CAV:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } record(ai, "$(CM,undefined)80:CAV:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:CAV:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DAC:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DAC:AWF NPP MSI") field(INPB, "$(CM,undefined)80:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DAC:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DAC:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:DAC:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:DAC:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:DAC:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:DAC:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } record(ai, "$(CM,undefined)80:DAC:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } record(ai, "$(CM,undefined)80:DAC:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } record(ai, "$(CM,undefined)80:DAC:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } record(ai, "$(CM,undefined)80:DAC:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } record(ai, "$(CM,undefined)80:DAC:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DAC:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DAC:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DAC:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DAC:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:DAC:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:DAC:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:DAC:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:DAC:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DAC:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DAC:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:DAC:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DAC:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DAC:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:DAC:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:DAC:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:DAC:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DAC:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DAC:PWRWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DF:ASTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DF:AWF NPP MSI") field(INPB, "$(CM,undefined)80:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DF:AMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DF:ASTD PP MSI") field(OUTC, "$(CM,undefined)80:DF:AMIN PP MSI") field(OUTD, "$(CM,undefined)80:DF:AMAX PP MSI") field(OUTE, "$(CM,undefined)80:DF:ARSTD PP MSI") field(FLNK, "$(CM,undefined)80:DF:PSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } record(ai, "$(CM,undefined)80:DF:AMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } record(ai, "$(CM,undefined)80:DF:ASTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } record(ai, "$(CM,undefined)80:DF:AMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } record(ai, "$(CM,undefined)80:DF:AMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } record(ai, "$(CM,undefined)80:DF:ARSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:AWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DF:PSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DF:UPWF NPP MSI") field(INPB, "$(CM,undefined)80:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "1") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DF:PMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DF:PSTD PP MSI") field(OUTC, "$(CM,undefined)80:DF:PMIN PP MSI") field(OUTD, "$(CM,undefined)80:DF:PMAX PP MSI") field(OUTE, "$(CM,undefined)80:DF:PRSTD PP MSI") field(FLNK, "$(CM,undefined)80:DF:PWRSTAT_CALC_") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } record(ai, "$(CM,undefined)80:DF:PMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } record(ai, "$(CM,undefined)80:DF:PSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } record(ai, "$(CM,undefined)80:DF:PMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } record(ai, "$(CM,undefined)80:DF:PMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } record(ai, "$(CM,undefined)80:DF:PRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:UPWF.TIME") } # Waveform statistics # # Macros: # PREF - Prefix of our records # BASE - Record name prefix used with corresponding feed_wf_acquire_base.template # TIME - Record name of timebase # SIG - Record name of signal # SIZE - Max signal length (eg. 8192) # # external db FLNK's here record(aSub, "$(CM,undefined)80:DF:PWRSTAT_CALC_") { field(SNAM, "Wf Stats") field(FTA , "DOUBLE") field(FTB , "DOUBLE") field(FTC , "DOUBLE") field(FTD , "DOUBLE") field(FTE , "LONG") field(FTVA ,"DOUBLE") field(FTVB ,"DOUBLE") field(NOA , "8192") field(NOB , "8192") field(INPA, "$(CM,undefined)80:DF:PWRWF NPP MSI") field(INPB, "$(CM,undefined)80:DF:TWF NPP MSI") field(INPC, "$(CM,undefined)80:ACQ_STAT_START") # window start field(INPD, "$(CM,undefined)80:ACQ_STAT_WIDTH") # window width field(INPE, "0") #TODO: really should be doing circular mean of I/Q, then angle. instead we unwrap and average field(OUTA, "$(CM,undefined)80:DF:PWRMEAN PP MSI") field(OUTB, "$(CM,undefined)80:DF:PWRSTD PP MSI") field(OUTC, "$(CM,undefined)80:DF:PWRMIN PP MSI") field(OUTD, "$(CM,undefined)80:DF:PWRMAX PP MSI") field(OUTE, "$(CM,undefined)80:DF:PWRRSTD PP MSI") field(FLNK, "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DF:PWRMEAN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DF:PWRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DF:PWRMIN") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DF:PWRMAX") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(ai, "$(CM,undefined)80:DF:PWRRSTD") { field(PREC, "3") field(EGU , "") field(TSEL, "$(CM,undefined)80:DF:PWRWF.TIME") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR1_STAT") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR1_CNT") } record(longout, "$(CM,undefined)00:RFS2B:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cc_loc1") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CC_LOC") } record(longin, "$(CM,undefined)00:RFS2B:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cc_loc1") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR1_REVID") } record(bo, "$(CM,undefined)00:RFS2B:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RFS2B:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RFS2B:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RFS2B:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RFS2B:CCT1_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCT1_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS2B:CCT1_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cct1_cavity0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCT1_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RFS2B:CCT1_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=rfs2b reg=cct1_cavity1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCT1_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RFS2B:CCT1_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=rfs2b reg=cct1_cavity1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CCT1_CAV1_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RFS2B:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS2B:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS2B:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RFS2B:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RFS2B:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RFS2B:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RFS2B:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RFS2B:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=rfs2b reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RFS2B:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RFS2B:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RFS2B:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=rfs2b reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RFS2B:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RFS2B:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RFS2B:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RFS2B:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RFS2B:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RFS2B:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RFS2B:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RFS2B:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:RFS2B:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:RFS2B:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:RFS2B:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:RFS2B:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:RFS2B:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:RFS2B:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:RFS2B:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:RFS2B:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:RFS2B:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:RFS2B:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:RFS2B:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS2B:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS2B:AMC_LOV") field(LNKB, "$(CM,undefined)00:RFS2B:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:RFS2B:AMC_LO") } record(ai, "$(CM,undefined)00:RFS2B:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:RFS2B:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:RFS2B:AMC_LOV") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_LO") } record(ai, "$(CM,undefined)00:RFS2B:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:RFS2B:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:RFS2B:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:RFS2B:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:RFS2B:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:RFS2B:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:RFS2B:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:RFS2B:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:RFS2B:AMC_TEMP") } record(ai, "$(CM,undefined)00:RFS2B:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:RFS2B:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:RFS2B:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS2B:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS2B:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:RFS2B:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:RFS2B:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:RFS2B:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:RFS2B:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:RFS2B:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:RFS2B:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:RFS2B:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=rfs2b reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:RFS2B:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:RFS2B:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=rfs2b reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:RFS2B:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=rfs2b reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:RFS2B:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:RFS2B:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=rfs2b reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:RFS2B:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=rfs2b reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RFS2B:REGAMC_RBV") } record(longout, "$(CM,undefined)00:PRCA:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=prca") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:PRCA:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:PRCA:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=prca") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:PRCA:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:PRCA:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=prca") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:PRCA:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=prca") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:PRCA:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=prca") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:PRCA:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:PRCA:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:PRCA:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=1") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:PRCA:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=6") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:PRCA:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=2") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:PRCA:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=3") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:PRCA:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prca offset=4") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:PRCA:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_RTT") } record(ai, "$(CM,undefined)00:PRCA:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=prca") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:PRCA:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=prca offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_JSON") } record(aai, "$(CM,undefined)00:PRCA:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=prca offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:PRCA:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=prca offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:PRCA:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:PRCA:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=prca offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:PRCA:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:PRCA:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:PRCA:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:PRCA:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:PRCA:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:PRCA:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:PRCA:REG10_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_circle_data signal=prca:shell_0_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG10_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG10_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:shell_0_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG10_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:shell_0_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG16_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ow_down_conv signal=prca:ow_down_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG16_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG16_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:ow_down_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG16_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:ow_down_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG17_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=qsfp_result signal=prca:qsfp_result") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG17_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG17_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG17_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG35_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=fdbk_drive_buf_data signal=prca:fdbk_drive_buf_data") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG35_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG35_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:fdbk_drive_buf_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG35_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:fdbk_drive_buf_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG41_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=banyan_data signal=prca:banyan_data") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG41_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG41_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:banyan_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG41_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:banyan_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG4b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_iq_buf signal=prca:trace_iq_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4b_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG4b_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:trace_iq_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG4b_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:trace_iq_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG5c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=phasex_dout signal=prca:phasex_dout") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5c_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG5c_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:phasex_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG5c_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:phasex_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG7d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_slow_data signal=prca:shell_0_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG7d_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:shell_0_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG7d_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:shell_0_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_q_buf signal=prca:trace_q_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG8_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:trace_q_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG8_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:trace_q_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REG8a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_slow_data signal=prca:shell_1_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG8a_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:shell_1_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REG8a_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:shell_1_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGa2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hist_dout signal=prca:hist_dout") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:hist_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGa2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:hist_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGa3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=llrf_rom signal=prca:llrf_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:llrf_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGa3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:llrf_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGb0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=icc_data_U50 signal=prca:icc_data_U50") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb0_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:icc_data_U50") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGb0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:icc_data_U50") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGc4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=freq_multi_count signal=prca:freq_multi_count") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc4_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:freq_multi_count") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGc4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:freq_multi_count") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGdc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=scanner_result signal=prca:scanner_result") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGdc_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGdc_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:scanner_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGdc_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:scanner_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGdf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dtrace_data signal=prca:dtrace_data") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGdf_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGdf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:dtrace_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGdf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:dtrace_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGe4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_circle_data signal=prca:shell_1_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe4_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:shell_1_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGe4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:shell_1_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGf1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=icc_data_U32 signal=prca:icc_data_U32") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:icc_data_U32") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGf1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:icc_data_U32") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGf2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_i_buf signal=prca:trace_i_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:trace_i_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGf2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:trace_i_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCA:REGf4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ow_up_conv signal=prca:ow_up_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf4_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prca:ow_up_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCA:REGf4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prca:ow_up_conv") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:PRCA:REG0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U2dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG0_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG11_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG11_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG13_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_timing_err") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG13_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG1b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_1_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1b_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG1c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity1_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG1d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U15_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1d_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG20_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=idelay_value_out_U2_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG20_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG29_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=phasex_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG29_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ctrace_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG32_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity0_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG32_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG39_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cavity0_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG39_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG3c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=idelay_value_out_U3_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG3e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3e_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_gtx_rx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG40_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=llrf_circle_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG40_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG44_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=telem_monitor") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG44_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG48_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_0_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG48_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG4c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_adc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG4d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U2dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4d_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=slow_data_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG58_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_gtx_tx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG58_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG5a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_1_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5a_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG5f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_dco") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5f_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG60_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hello_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG60_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG61_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hello_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG61_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG62_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hello_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG62_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG65_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG65_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG68_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cavity0_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG68_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG6b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dac_enabled") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6b_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG6c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_1_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG6d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hello_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6d_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG6f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=banyan_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6f_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG70_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=idelay_value_out_U3_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG70_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG71_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U3dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG71_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG73_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG73_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG74_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG74_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG77_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cavity1_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG77_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG79_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG79_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG7b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=clk_phase_diff_out_U2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7b_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG7c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=clk_phase_diff_out_U3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG87_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=uart_rx_hold") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG87_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG89_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_status1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG89_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG8b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_status2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8b_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG8c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U18_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG8e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8e_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG93_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=slow_chain_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG93_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG94_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cavity1_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG94_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG97_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dtrace_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG97_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG98_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U15_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG98_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG9c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_0_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9c_RBV") } record(longin, "$(CM,undefined)00:PRCA:REG9e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_clkout3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9e_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGa4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=frequency_4xout") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa4_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGa7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=tgen_0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa7_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGab_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U18_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGab_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGad_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_1_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGad_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGb2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_0_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb2_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGba_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=llspi_result") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGba_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGbb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=U3dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGbb_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGbe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ffffffff") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGbe_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGc1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hist_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc1_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGc9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=crc_errors") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc9_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGcd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=clk_status_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGcd_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGd7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=llspi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd7_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGd8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=idelay_value_out_U2_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd8_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGdb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_0_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGdb_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGe0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=tgen_1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe0_RBV") } record(longin, "$(CM,undefined)00:PRCA:REGee_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=J18_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGee_RBV") } record(aao, "$(CM,undefined)00:PRCA:REG2f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2f") } record(aai, "$(CM,undefined)00:PRCA:REG2f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2f_RBV") } record(aao, "$(CM,undefined)00:PRCA:REG63") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG63") } record(aai, "$(CM,undefined)00:PRCA:REG63_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG63_RBV") } record(aao, "$(CM,undefined)00:PRCA:REGd9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=idelay_base offset=0") field(FTVL, "LONG") field(NELM, "16") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd9") } record(aai, "$(CM,undefined)00:PRCA:REGd9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=idelay_base") field(FTVL, "LONG") field(NELM, "16") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd9_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=trig_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG1") } record(longin, "$(CM,undefined)00:PRCA:REG1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trig_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG12") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG12") } record(longin, "$(CM,undefined)00:PRCA:REG12_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG12_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG14") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_scan_trigger_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG14") } record(longin, "$(CM,undefined)00:PRCA:REG14_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_scan_trigger_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG14_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG18") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ssa_stim_pertstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG18") } record(longin, "$(CM,undefined)00:PRCA:REG18_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ssa_stim_pertstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG18_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG19") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG19") } record(longin, "$(CM,undefined)00:PRCA:REG19_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG19_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG1a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG1a") } record(longin, "$(CM,undefined)00:PRCA:REG1a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG1e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cc_loc1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG1e") } record(longin, "$(CM,undefined)00:PRCA:REG1e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cc_loc1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG1f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG1f") } record(longin, "$(CM,undefined)00:PRCA:REG1f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG1f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=prc_dsp_prl_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2") } record(longin, "$(CM,undefined)00:PRCA:REG2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=prc_dsp_prl_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG21") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ddsa_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG21") } record(longin, "$(CM,undefined)00:PRCA:REG21_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ddsa_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG21_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG22") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG22") } record(longin, "$(CM,undefined)00:PRCA:REG22_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG22_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG23") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=rewind") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG23") } record(longin, "$(CM,undefined)00:PRCA:REG23_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=rewind") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG23_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG24") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG24") } record(longin, "$(CM,undefined)00:PRCA:REG24_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG24_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG25") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_banyan_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG25") } record(longin, "$(CM,undefined)00:PRCA:REG25_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_banyan_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG25_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG26") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG26") } record(longin, "$(CM,undefined)00:PRCA:REG26_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG26_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG27") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG27") } record(longin, "$(CM,undefined)00:PRCA:REG27_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG27_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG28") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG28") } record(longin, "$(CM,undefined)00:PRCA:REG28_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG28_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2a") } record(longin, "$(CM,undefined)00:PRCA:REG2a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2b") } record(longin, "$(CM,undefined)00:PRCA:REG2b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2b_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2c") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ddsa_phstep_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2c") } record(longin, "$(CM,undefined)00:PRCA:REG2c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ddsa_phstep_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2c_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=dac_dds_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2d") } record(longin, "$(CM,undefined)00:PRCA:REG2d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dac_dds_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG2e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ddsa_phstep_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG2e") } record(longin, "$(CM,undefined)00:PRCA:REG2e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ddsa_phstep_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG2e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG30") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG30") } record(longin, "$(CM,undefined)00:PRCA:REG30_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG30_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG31") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_scanner_debug") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG31") } record(longin, "$(CM,undefined)00:PRCA:REG31_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_scanner_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG31_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG33") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG33") } record(longin, "$(CM,undefined)00:PRCA:REG33_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG33_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG34") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG34") } record(longin, "$(CM,undefined)00:PRCA:REG34_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG34_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG37") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=wave1_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG37") } record(longin, "$(CM,undefined)00:PRCA:REG37_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=wave1_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG37_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG38") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG38") } record(longin, "$(CM,undefined)00:PRCA:REG38_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG38_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG3a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=adc_mmcm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG3a") } record(longin, "$(CM,undefined)00:PRCA:REG3a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=adc_mmcm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG3b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=start_fdbk_dac_enable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG3b") } record(longin, "$(CM,undefined)00:PRCA:REG3b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=start_fdbk_dac_enable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3b_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG3d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG3d") } record(longin, "$(CM,undefined)00:PRCA:REG3d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG3f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=trace_reset_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG3f") } record(longin, "$(CM,undefined)00:PRCA:REG3f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_reset_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG3f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG42") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG42") } record(longin, "$(CM,undefined)00:PRCA:REG42_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG42_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG43") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=llrf_dsp_dac_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG43") } record(longin, "$(CM,undefined)00:PRCA:REG43_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=llrf_dsp_dac_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG43_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG45") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG45") } record(longin, "$(CM,undefined)00:PRCA:REG45_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG45_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG46") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG46") } record(longin, "$(CM,undefined)00:PRCA:REG46_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG46_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG47") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=fdbk_drive_buf_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG47") } record(longin, "$(CM,undefined)00:PRCA:REG47_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=fdbk_drive_buf_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG47_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG49") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG49") } record(longin, "$(CM,undefined)00:PRCA:REG49_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG49_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG4a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_0_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG4a") } record(longin, "$(CM,undefined)00:PRCA:REG4a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_0_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG4e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U18_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG4e") } record(longin, "$(CM,undefined)00:PRCA:REG4e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U18_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG4f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=buf_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG4f") } record(longin, "$(CM,undefined)00:PRCA:REG4f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=buf_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG4f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG50") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=lo_amp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG50") } record(longin, "$(CM,undefined)00:PRCA:REG50_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=lo_amp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG50_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG51") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG51") } record(longin, "$(CM,undefined)00:PRCA:REG51_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG51_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG52") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG52") } record(longin, "$(CM,undefined)00:PRCA:REG52_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG52_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG53") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG53") } record(longin, "$(CM,undefined)00:PRCA:REG53_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG53_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG54") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG54") } record(longin, "$(CM,undefined)00:PRCA:REG54_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG54_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG55") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG55") } record(longin, "$(CM,undefined)00:PRCA:REG55_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG55_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG56") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_llspi_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG56") } record(longin, "$(CM,undefined)00:PRCA:REG56_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_llspi_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG56_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG57") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=wave0_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG57") } record(longin, "$(CM,undefined)00:PRCA:REG57_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=wave0_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG57_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG59") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG59") } record(longin, "$(CM,undefined)00:PRCA:REG59_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG59_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG5b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=dac_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG5b") } record(longin, "$(CM,undefined)00:PRCA:REG5b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dac_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5b_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG5d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cic_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG5d") } record(longin, "$(CM,undefined)00:PRCA:REG5d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cic_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG5e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=trig_internal") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG5e") } record(longin, "$(CM,undefined)00:PRCA:REG5e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trig_internal") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG5e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG6") } record(longin, "$(CM,undefined)00:PRCA:REG6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG64") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG64") } record(longin, "$(CM,undefined)00:PRCA:REG64_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG64_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG66") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=telem1_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG66") } record(longin, "$(CM,undefined)00:PRCA:REG66_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=telem1_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG66_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG67") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG67") } record(longin, "$(CM,undefined)00:PRCA:REG67_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG67_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG69") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG69") } record(longin, "$(CM,undefined)00:PRCA:REG69_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG69_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG6a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_rawadc_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG6a") } record(longin, "$(CM,undefined)00:PRCA:REG6a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_rawadc_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG6e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=tag_now") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG6e") } record(longin, "$(CM,undefined)00:PRCA:REG6e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=tag_now") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG6e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ssa_stim_g_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG7") } record(longin, "$(CM,undefined)00:PRCA:REG7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ssa_stim_g_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG72") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG72") } record(longin, "$(CM,undefined)00:PRCA:REG72_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG72_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG75") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG75") } record(longin, "$(CM,undefined)00:PRCA:REG75_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG75_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG76") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG76") } record(longin, "$(CM,undefined)00:PRCA:REG76_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG76_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG78") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG78") } record(longin, "$(CM,undefined)00:PRCA:REG78_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG78_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG7a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_phasex_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG7a") } record(longin, "$(CM,undefined)00:PRCA:REG7a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_phasex_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG7e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=lamp_test_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG7e") } record(longin, "$(CM,undefined)00:PRCA:REG7e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=lamp_test_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7e_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG7f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=trace_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG7f") } record(longin, "$(CM,undefined)00:PRCA:REG7f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=trace_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG7f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG80") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U4_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG80") } record(longin, "$(CM,undefined)00:PRCA:REG80_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U4_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG80_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG81") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG81") } record(longin, "$(CM,undefined)00:PRCA:REG81_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG81_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG82") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG82") } record(longin, "$(CM,undefined)00:PRCA:REG82_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG82_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG83") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=telem0_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG83") } record(longin, "$(CM,undefined)00:PRCA:REG83_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=telem0_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG83_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG84") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_sync_ad7794_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG84") } record(longin, "$(CM,undefined)00:PRCA:REG84_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_sync_ad7794_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG84_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG85") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_bitslip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG85") } record(longin, "$(CM,undefined)00:PRCA:REG85_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_bitslip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG85_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG86") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ssa_stim_ampstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG86") } record(longin, "$(CM,undefined)00:PRCA:REG86_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ssa_stim_ampstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG86_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG88") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_0_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG88") } record(longin, "$(CM,undefined)00:PRCA:REG88_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_0_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG88_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG8d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=phase_step_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG8d") } record(longin, "$(CM,undefined)00:PRCA:REG8d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=phase_step_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG8f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U3_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG8f") } record(longin, "$(CM,undefined)00:PRCA:REG8f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U3_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG8f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=prc_dds_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG9") } record(longin, "$(CM,undefined)00:PRCA:REG9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=prc_dds_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG90") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=phase_step_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG90") } record(longin, "$(CM,undefined)00:PRCA:REG90_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=phase_step_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG90_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG91") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U3_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG91") } record(longin, "$(CM,undefined)00:PRCA:REG91_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U3_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG91_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG92") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG92") } record(longin, "$(CM,undefined)00:PRCA:REG92_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG92_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG95") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG95") } record(longin, "$(CM,undefined)00:PRCA:REG95_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG95_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG96") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG96") } record(longin, "$(CM,undefined)00:PRCA:REG96_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG96_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG99") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG99") } record(longin, "$(CM,undefined)00:PRCA:REG99_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG99_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG9a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG9a") } record(longin, "$(CM,undefined)00:PRCA:REG9a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9a_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG9b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=domain_jump_realign") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG9b") } record(longin, "$(CM,undefined)00:PRCA:REG9b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=domain_jump_realign") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9b_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG9d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U2_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG9d") } record(longin, "$(CM,undefined)00:PRCA:REG9d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U2_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9d_RBV") } record(longout, "$(CM,undefined)00:PRCA:REG9f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cct1_cavity1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG9f") } record(longin, "$(CM,undefined)00:PRCA:REG9f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REG9f_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cct1_cavity0_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa") } record(longin, "$(CM,undefined)00:PRCA:REGa_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity0_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa0") } record(longin, "$(CM,undefined)00:PRCA:REGa0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa0_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa1") } record(longin, "$(CM,undefined)00:PRCA:REGa1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa5") } record(longin, "$(CM,undefined)00:PRCA:REGa5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa5_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cav1_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa6") } record(longin, "$(CM,undefined)00:PRCA:REGa6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cav1_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=tgen_1_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa8") } record(longin, "$(CM,undefined)00:PRCA:REGa8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=tgen_1_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa8_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGa9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U15_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGa9") } record(longin, "$(CM,undefined)00:PRCA:REGa9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGa9_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGaa") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=amplitude") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGaa") } record(longin, "$(CM,undefined)00:PRCA:REGaa_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=amplitude") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGaa_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGac") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=dtrace_cmd") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGac") } record(longin, "$(CM,undefined)00:PRCA:REGac_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dtrace_cmd") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGac_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGae") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U2_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGae") } record(longin, "$(CM,undefined)00:PRCA:REGae_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U2_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGae_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGaf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGaf") } record(longin, "$(CM,undefined)00:PRCA:REGaf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGaf_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_1_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb") } record(longin, "$(CM,undefined)00:PRCA:REGb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_1_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=average_len") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb1") } record(longin, "$(CM,undefined)00:PRCA:REGb1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=average_len") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb3") } record(longin, "$(CM,undefined)00:PRCA:REGb3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb4") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb4") } record(longin, "$(CM,undefined)00:PRCA:REGb4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb4_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb5") } record(longin, "$(CM,undefined)00:PRCA:REGb5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb5_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=icc_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb6") } record(longin, "$(CM,undefined)00:PRCA:REGb6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=icc_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb7") } record(longin, "$(CM,undefined)00:PRCA:REGb7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb7_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb8") } record(longin, "$(CM,undefined)00:PRCA:REGb8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb8_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGb9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGb9") } record(longin, "$(CM,undefined)00:PRCA:REGb9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGb9_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGbc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGbc") } record(longin, "$(CM,undefined)00:PRCA:REGbc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGbc_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGbd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cic_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGbd") } record(longin, "$(CM,undefined)00:PRCA:REGbd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cic_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGbd_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGbf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGbf") } record(longin, "$(CM,undefined)00:PRCA:REGbf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGbf_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U18_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc") } record(longin, "$(CM,undefined)00:PRCA:REGc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U18_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_0_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc2") } record(longin, "$(CM,undefined)00:PRCA:REGc2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_0_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=prc_dsp_cav_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc3") } record(longin, "$(CM,undefined)00:PRCA:REGc3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=prc_dsp_cav_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cct1_cavity1_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc5") } record(longin, "$(CM,undefined)00:PRCA:REGc5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity1_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc5_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_sync_tps62210_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc6") } record(longin, "$(CM,undefined)00:PRCA:REGc6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_sync_tps62210_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_1_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc7") } record(longin, "$(CM,undefined)00:PRCA:REGc7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_1_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc7_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGc8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_clk_status_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc8") } record(longin, "$(CM,undefined)00:PRCA:REGc8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_clk_status_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGc8_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGca") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGca") } record(longin, "$(CM,undefined)00:PRCA:REGca_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGca_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGcb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGcb") } record(longin, "$(CM,undefined)00:PRCA:REGcb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGcb_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGcc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGcc") } record(longin, "$(CM,undefined)00:PRCA:REGcc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGcc_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGce") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cc_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGce") } record(longin, "$(CM,undefined)00:PRCA:REGce_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cc_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGce_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGcf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGcf") } record(longin, "$(CM,undefined)00:PRCA:REGcf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGcf_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=circle_buf_stop") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd") } record(longin, "$(CM,undefined)00:PRCA:REGd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=circle_buf_stop") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd0") } record(longin, "$(CM,undefined)00:PRCA:REGd0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd0_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd1") } record(longin, "$(CM,undefined)00:PRCA:REGd1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd2") } record(longin, "$(CM,undefined)00:PRCA:REGd2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd3") } record(longin, "$(CM,undefined)00:PRCA:REGd3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd4") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd4") } record(longin, "$(CM,undefined)00:PRCA:REGd4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd4_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd5") } record(longin, "$(CM,undefined)00:PRCA:REGd5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd5_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGd6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGd6") } record(longin, "$(CM,undefined)00:PRCA:REGd6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGd6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGda") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=sfp_address_set") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGda") } record(longin, "$(CM,undefined)00:PRCA:REGda_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=sfp_address_set") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGda_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGdd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_U15_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGdd") } record(longin, "$(CM,undefined)00:PRCA:REGdd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGdd_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGde") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=circle_buf_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGde") } record(longin, "$(CM,undefined)00:PRCA:REGde_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=circle_buf_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGde_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=i_beam_1_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe") } record(longin, "$(CM,undefined)00:PRCA:REGe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=i_beam_1_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=tgen_0_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe1") } record(longin, "$(CM,undefined)00:PRCA:REGe1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=tgen_0_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe1_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cav0_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe2") } record(longin, "$(CM,undefined)00:PRCA:REGe2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cav0_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe2_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe3") } record(longin, "$(CM,undefined)00:PRCA:REGe3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cct1_cavity0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe6") } record(longin, "$(CM,undefined)00:PRCA:REGe6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cct1_cavity0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe6_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe7") } record(longin, "$(CM,undefined)00:PRCA:REGe7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe7_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ssa_stim_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe8") } record(longin, "$(CM,undefined)00:PRCA:REGe8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ssa_stim_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe8_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGe9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=ctrace_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe9") } record(longin, "$(CM,undefined)00:PRCA:REGe9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=ctrace_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGe9_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGea") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGea") } record(longin, "$(CM,undefined)00:PRCA:REGea_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGea_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGeb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGeb") } record(longin, "$(CM,undefined)00:PRCA:REGeb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_1_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGeb_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGec") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cfreq_src_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGec") } record(longin, "$(CM,undefined)00:PRCA:REGec_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=cfreq_src_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGec_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGed") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_mmcm_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGed") } record(longin, "$(CM,undefined)00:PRCA:REGed_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_mmcm_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGed_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGef") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=dac_iq_phase") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGef") } record(longin, "$(CM,undefined)00:PRCA:REGef_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=dac_iq_phase") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGef_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=hist_count_w_strobe") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGf") } record(longin, "$(CM,undefined)00:PRCA:REGf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=hist_count_w_strobe") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGf0") } record(longin, "$(CM,undefined)00:PRCA:REGf0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf0_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=prc_dsp_prl_gain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGf3") } record(longin, "$(CM,undefined)00:PRCA:REGf3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=prc_dsp_prl_gain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf3_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=config_idelayctrl_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGf5") } record(longin, "$(CM,undefined)00:PRCA:REGf5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=config_idelayctrl_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf5_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGf6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGf6") } record(longin, "$(CM,undefined)00:PRCA:REGf6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGf6_RBV") } record(aao, "$(CM,undefined)00:PRCA:REG15") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_1_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG15") } record(aao, "$(CM,undefined)00:PRCA:REG36") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=shell_0_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REG36") } record(aao, "$(CM,undefined)00:PRCA:REGc0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=tgen_0_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGc0") } record(aao, "$(CM,undefined)00:PRCA:REGe5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=tgen_1_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCA:REGe5") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:PRCA:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=prca reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:PRCA:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:PRCA:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:PRCA:CLKCHK_") { field(INPA, "$(CM,undefined)00:PRCA:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:PRCA:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:PRCA:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=prca") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:PRCA:AGG_STS_") { field(INPA, "$(CM,undefined)00:PRCA:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:PRCA:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:PRCA:STATUS") } record(stringin, "$(CM,undefined)00:PRCA:STATUS") { field(INP , "$(CM,undefined)00:PRCA:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:PRCA:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=prca reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:PRCA:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:PRCA:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=prca reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:PRCA:DF_FC_SRC") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:PRCA:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:PRCA:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:PRCA:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:PRCA:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:PRCA:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:PRCA:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:PRCA:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:PRCA:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=prca reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:PRCA:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:PRCA:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:PRCA:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=prca reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:PRCA:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:PRCA:CRCERR_CNT") } record(calc, "$(CM,undefined)00:PRCA:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:PRCA:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:PRCA:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:PRCA:CRCERR_STAT") } record(bi, "$(CM,undefined)00:PRCA:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:PRCA:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:PRCA:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:PRCA:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:PRCA:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:PRCA:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:PRCA:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:PRCA:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:PRCA:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:PRCA:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:PRCA:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:PRCA:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:PRCA:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:PRCA:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:PRCA:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:PRCA:AMC_LOV") field(LNKB, "$(CM,undefined)00:PRCA:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:PRCA:AMC_LO") } record(ai, "$(CM,undefined)00:PRCA:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:PRCA:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:PRCA:AMC_LOV") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_LO") } record(ai, "$(CM,undefined)00:PRCA:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:PRCA:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCA:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:PRCA:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:PRCA:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:PRCA:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:PRCA:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:PRCA:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:PRCA:AMC_TEMP") } record(ai, "$(CM,undefined)00:PRCA:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:PRCA:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:PRCA:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:PRCA:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:PRCA:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:PRCA:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:PRCA:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCA:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:PRCA:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:PRCA:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCA:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:PRCA:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=prca reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:PRCA:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:PRCA:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=prca reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:PRCA:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=prca reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:PRCA:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:PRCA:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=prca reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:PRCA:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=prca reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCA:REGAMC_RBV") } record(longout, "$(CM,undefined)00:PRCB:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=prcb") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:PRCB:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:PRCB:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=prcb") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:PRCB:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:PRCB:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=prcb") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:PRCB:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=prcb") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:PRCB:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=prcb") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:PRCB:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:PRCB:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:PRCB:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=1") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:PRCB:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=6") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:PRCB:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=2") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:PRCB:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=3") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:PRCB:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=prcb offset=4") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:PRCB:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_RTT") } record(ai, "$(CM,undefined)00:PRCB:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=prcb") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:PRCB:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=prcb offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_JSON") } record(aai, "$(CM,undefined)00:PRCB:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=prcb offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:PRCB:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=prcb offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:PRCB:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:PRCB:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=prcb offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:PRCB:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:PRCB:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:PRCB:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:PRCB:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:PRCB:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:PRCB:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:PRCB:REG10_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_circle_data signal=prcb:shell_0_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG10_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG10_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:shell_0_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG10_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:shell_0_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG16_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ow_down_conv signal=prcb:ow_down_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG16_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG16_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:ow_down_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG16_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:ow_down_conv") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG17_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=qsfp_result signal=prcb:qsfp_result") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG17_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG17_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG17_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG35_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=fdbk_drive_buf_data signal=prcb:fdbk_drive_buf_data") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG35_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG35_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:fdbk_drive_buf_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG35_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:fdbk_drive_buf_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG41_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=banyan_data signal=prcb:banyan_data") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG41_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG41_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:banyan_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG41_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:banyan_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG4b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_iq_buf signal=prcb:trace_iq_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4b_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG4b_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:trace_iq_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG4b_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:trace_iq_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG5c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=phasex_dout signal=prcb:phasex_dout") field(FTVL, "LONG") field(NELM, "1024") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5c_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG5c_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:phasex_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG5c_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:phasex_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG7d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_slow_data signal=prcb:shell_0_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG7d_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:shell_0_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG7d_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:shell_0_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_q_buf signal=prcb:trace_q_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG8_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:trace_q_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG8_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:trace_q_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REG8a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_slow_data signal=prcb:shell_1_slow_data") field(FTVL, "LONG") field(NELM, "128") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG8a_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:shell_1_slow_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REG8a_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:shell_1_slow_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGa2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hist_dout signal=prcb:hist_dout") field(FTVL, "LONG") field(NELM, "65536") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:hist_dout") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGa2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:hist_dout") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGa3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=llrf_rom signal=prcb:llrf_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:llrf_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGa3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:llrf_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGb0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=icc_data_U50 signal=prcb:icc_data_U50") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb0_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:icc_data_U50") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGb0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:icc_data_U50") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGc4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=freq_multi_count signal=prcb:freq_multi_count") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc4_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:freq_multi_count") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGc4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:freq_multi_count") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGdc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=scanner_result signal=prcb:scanner_result") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGdc_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGdc_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:scanner_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGdc_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:scanner_result") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGdf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dtrace_data signal=prcb:dtrace_data") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGdf_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGdf_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:dtrace_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGdf_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:dtrace_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGe4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_circle_data signal=prcb:shell_1_circle_data") field(FTVL, "LONG") field(NELM, "8192") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe4_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:shell_1_circle_data") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGe4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:shell_1_circle_data") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGf1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=icc_data_U32 signal=prcb:icc_data_U32") field(FTVL, "LONG") field(NELM, "256") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:icc_data_U32") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGf1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:icc_data_U32") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGf2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_i_buf signal=prcb:trace_i_buf") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:trace_i_buf") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGf2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:trace_i_buf") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:PRCB:REGf4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ow_up_conv signal=prcb:ow_up_conv") field(FTVL, "LONG") field(NELM, "64") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf4_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf4_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=prcb:ow_up_conv") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:PRCB:REGf4_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=prcb:ow_up_conv") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:PRCB:REG0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U2dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG0_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG11_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG11_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG13_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_timing_err") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG13_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG1b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_1_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1b_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG1c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity1_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG1d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U15_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1d_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG20_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=idelay_value_out_U2_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG20_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG29_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=phasex_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG29_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ctrace_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG32_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity0_detune_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG32_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG39_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cavity0_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG39_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG3c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=idelay_value_out_U3_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG3e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3e_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_gtx_rx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG40_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=llrf_circle_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG40_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG44_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=telem_monitor") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG44_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG48_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_0_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG48_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG4c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_adc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG4d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U2dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4d_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=slow_data_ready") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG58_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_gtx_tx") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG58_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG5a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_1_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5a_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG5f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_dco") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5f_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG60_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hello_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG60_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG61_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hello_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG61_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG62_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hello_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG62_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG65_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG65_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG68_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cavity0_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG68_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG6b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dac_enabled") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6b_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG6c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_1_amp_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG6d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hello_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6d_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG6f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=banyan_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6f_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG70_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=idelay_value_out_U3_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG70_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG71_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U3dout_msb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG71_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG73_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG73_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG74_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG74_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG77_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cavity1_detune") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG77_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG79_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG79_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG7b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=clk_phase_diff_out_U2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7b_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG7c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=clk_phase_diff_out_U3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG87_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=uart_rx_hold") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG87_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG89_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_status1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG89_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG8b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_status2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8b_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG8c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U18_spi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG8e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8e_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG93_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=slow_chain_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG93_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG94_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cavity1_sat_count") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG94_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG97_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dtrace_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG97_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG98_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U15_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG98_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG9c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_0_frequency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9c_RBV") } record(longin, "$(CM,undefined)00:PRCB:REG9e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_clkout3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9e_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGa4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=frequency_4xout") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa4_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGa7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=tgen_0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa7_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGab_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U18_spi_rdbk") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGab_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGad_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_1_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGad_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGb2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_0_amp_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb2_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGba_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=llspi_result") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGba_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGbb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=U3dout_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGbb_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGbe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ffffffff") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGbe_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGc1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hist_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc1_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGc9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=crc_errors") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc9_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGcd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=clk_status_out") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGcd_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGd7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=llspi_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd7_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGd8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=idelay_value_out_U2_lsb") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd8_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGdb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_0_frequency_valid") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGdb_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGe0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=tgen_1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe0_RBV") } record(longin, "$(CM,undefined)00:PRCB:REGee_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=J18_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGee_RBV") } record(aao, "$(CM,undefined)00:PRCB:REG2f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2f") } record(aai, "$(CM,undefined)00:PRCB:REG2f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2f_RBV") } record(aao, "$(CM,undefined)00:PRCB:REG63") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_piezo_sf_consts offset=0") field(FTVL, "LONG") field(NELM, "8") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG63") } record(aai, "$(CM,undefined)00:PRCB:REG63_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_piezo_sf_consts") field(FTVL, "LONG") field(NELM, "8") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG63_RBV") } record(aao, "$(CM,undefined)00:PRCB:REGd9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=idelay_base offset=0") field(FTVL, "LONG") field(NELM, "16") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd9") } record(aai, "$(CM,undefined)00:PRCB:REGd9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=idelay_base") field(FTVL, "LONG") field(NELM, "16") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd9_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=trig_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG1") } record(longin, "$(CM,undefined)00:PRCB:REG1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trig_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG12") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG12") } record(longin, "$(CM,undefined)00:PRCB:REG12_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG12_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG14") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_scan_trigger_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG14") } record(longin, "$(CM,undefined)00:PRCB:REG14_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_scan_trigger_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG14_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG18") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ssa_stim_pertstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG18") } record(longin, "$(CM,undefined)00:PRCB:REG18_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ssa_stim_pertstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG18_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG19") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG19") } record(longin, "$(CM,undefined)00:PRCB:REG19_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG19_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG1a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG1a") } record(longin, "$(CM,undefined)00:PRCB:REG1a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG1e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cc_loc1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG1e") } record(longin, "$(CM,undefined)00:PRCB:REG1e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cc_loc1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG1f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG1f") } record(longin, "$(CM,undefined)00:PRCB:REG1f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG1f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=prc_dsp_prl_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2") } record(longin, "$(CM,undefined)00:PRCB:REG2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=prc_dsp_prl_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG21") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ddsa_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG21") } record(longin, "$(CM,undefined)00:PRCB:REG21_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ddsa_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG21_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG22") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG22") } record(longin, "$(CM,undefined)00:PRCB:REG22_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG22_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG23") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=rewind") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG23") } record(longin, "$(CM,undefined)00:PRCB:REG23_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=rewind") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG23_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG24") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG24") } record(longin, "$(CM,undefined)00:PRCB:REG24_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG24_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG25") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_banyan_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG25") } record(longin, "$(CM,undefined)00:PRCB:REG25_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_banyan_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG25_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG26") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG26") } record(longin, "$(CM,undefined)00:PRCB:REG26_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG26_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG27") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG27") } record(longin, "$(CM,undefined)00:PRCB:REG27_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG27_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG28") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG28") } record(longin, "$(CM,undefined)00:PRCB:REG28_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG28_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2a") } record(longin, "$(CM,undefined)00:PRCB:REG2a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2b") } record(longin, "$(CM,undefined)00:PRCB:REG2b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2b_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2c") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ddsa_phstep_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2c") } record(longin, "$(CM,undefined)00:PRCB:REG2c_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ddsa_phstep_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2c_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=dac_dds_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2d") } record(longin, "$(CM,undefined)00:PRCB:REG2d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dac_dds_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG2e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ddsa_phstep_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG2e") } record(longin, "$(CM,undefined)00:PRCB:REG2e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ddsa_phstep_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG2e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG30") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG30") } record(longin, "$(CM,undefined)00:PRCB:REG30_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_ph_offset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG30_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG31") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_scanner_debug") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG31") } record(longin, "$(CM,undefined)00:PRCB:REG31_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_scanner_debug") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG31_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG33") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG33") } record(longin, "$(CM,undefined)00:PRCB:REG33_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG33_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG34") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG34") } record(longin, "$(CM,undefined)00:PRCB:REG34_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG34_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG37") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=wave1_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG37") } record(longin, "$(CM,undefined)00:PRCB:REG37_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=wave1_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG37_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG38") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG38") } record(longin, "$(CM,undefined)00:PRCB:REG38_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG38_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG3a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=adc_mmcm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG3a") } record(longin, "$(CM,undefined)00:PRCB:REG3a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=adc_mmcm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG3b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=start_fdbk_dac_enable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG3b") } record(longin, "$(CM,undefined)00:PRCB:REG3b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=start_fdbk_dac_enable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3b_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG3d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG3d") } record(longin, "$(CM,undefined)00:PRCB:REG3d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG3f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=trace_reset_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG3f") } record(longin, "$(CM,undefined)00:PRCB:REG3f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_reset_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG3f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG42") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG42") } record(longin, "$(CM,undefined)00:PRCB:REG42_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG42_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG43") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=llrf_dsp_dac_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG43") } record(longin, "$(CM,undefined)00:PRCB:REG43_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=llrf_dsp_dac_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG43_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG45") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG45") } record(longin, "$(CM,undefined)00:PRCB:REG45_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG45_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG46") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_use_fiber_iq") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG46") } record(longin, "$(CM,undefined)00:PRCB:REG46_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_use_fiber_iq") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG46_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG47") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=fdbk_drive_buf_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG47") } record(longin, "$(CM,undefined)00:PRCB:REG47_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=fdbk_drive_buf_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG47_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG49") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG49") } record(longin, "$(CM,undefined)00:PRCB:REG49_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG49_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG4a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_0_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG4a") } record(longin, "$(CM,undefined)00:PRCB:REG4a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_0_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG4e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U18_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG4e") } record(longin, "$(CM,undefined)00:PRCB:REG4e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U18_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG4f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=buf_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG4f") } record(longin, "$(CM,undefined)00:PRCB:REG4f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=buf_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG4f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG50") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=lo_amp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG50") } record(longin, "$(CM,undefined)00:PRCB:REG50_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=lo_amp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG50_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG51") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG51") } record(longin, "$(CM,undefined)00:PRCB:REG51_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG51_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG52") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG52") } record(longin, "$(CM,undefined)00:PRCB:REG52_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG52_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG53") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG53") } record(longin, "$(CM,undefined)00:PRCB:REG53_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG53_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG54") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG54") } record(longin, "$(CM,undefined)00:PRCB:REG54_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_lim_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG54_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG55") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG55") } record(longin, "$(CM,undefined)00:PRCB:REG55_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG55_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG56") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_llspi_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG56") } record(longin, "$(CM,undefined)00:PRCB:REG56_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_llspi_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG56_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG57") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=wave0_src") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG57") } record(longin, "$(CM,undefined)00:PRCB:REG57_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=wave0_src") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG57_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG59") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG59") } record(longin, "$(CM,undefined)00:PRCB:REG59_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG59_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG5b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=dac_mode") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG5b") } record(longin, "$(CM,undefined)00:PRCB:REG5b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dac_mode") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5b_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG5d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cic_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG5d") } record(longin, "$(CM,undefined)00:PRCB:REG5d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cic_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG5e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=trig_internal") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG5e") } record(longin, "$(CM,undefined)00:PRCB:REG5e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trig_internal") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG5e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG6") } record(longin, "$(CM,undefined)00:PRCB:REG6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG64") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG64") } record(longin, "$(CM,undefined)00:PRCB:REG64_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG64_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG66") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=telem1_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG66") } record(longin, "$(CM,undefined)00:PRCB:REG66_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=telem1_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG66_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG67") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG67") } record(longin, "$(CM,undefined)00:PRCB:REG67_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG67_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG69") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG69") } record(longin, "$(CM,undefined)00:PRCB:REG69_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG69_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG6a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_rawadc_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG6a") } record(longin, "$(CM,undefined)00:PRCB:REG6a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_rawadc_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG6e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=tag_now") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG6e") } record(longin, "$(CM,undefined)00:PRCB:REG6e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=tag_now") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG6e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ssa_stim_g_period") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG7") } record(longin, "$(CM,undefined)00:PRCB:REG7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ssa_stim_g_period") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG72") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG72") } record(longin, "$(CM,undefined)00:PRCB:REG72_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG72_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG75") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG75") } record(longin, "$(CM,undefined)00:PRCB:REG75_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG75_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG76") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG76") } record(longin, "$(CM,undefined)00:PRCB:REG76_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG76_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG78") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG78") } record(longin, "$(CM,undefined)00:PRCB:REG78_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG78_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG7a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_phasex_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG7a") } record(longin, "$(CM,undefined)00:PRCB:REG7a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_phasex_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG7e") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=lamp_test_trig") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG7e") } record(longin, "$(CM,undefined)00:PRCB:REG7e_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=lamp_test_trig") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7e_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG7f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=trace_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG7f") } record(longin, "$(CM,undefined)00:PRCB:REG7f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=trace_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG7f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG80") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U4_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG80") } record(longin, "$(CM,undefined)00:PRCB:REG80_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U4_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG80_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG81") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG81") } record(longin, "$(CM,undefined)00:PRCB:REG81_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG81_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG82") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG82") } record(longin, "$(CM,undefined)00:PRCB:REG82_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG82_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG83") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=telem0_src_id") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG83") } record(longin, "$(CM,undefined)00:PRCB:REG83_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=telem0_src_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG83_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG84") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_sync_ad7794_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG84") } record(longin, "$(CM,undefined)00:PRCB:REG84_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_sync_ad7794_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG84_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG85") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_bitslip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG85") } record(longin, "$(CM,undefined)00:PRCB:REG85_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_bitslip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG85_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG86") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ssa_stim_ampstep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG86") } record(longin, "$(CM,undefined)00:PRCB:REG86_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ssa_stim_ampstep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG86_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG88") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_0_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG88") } record(longin, "$(CM,undefined)00:PRCB:REG88_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_0_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG88_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG8d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=phase_step_h") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG8d") } record(longin, "$(CM,undefined)00:PRCB:REG8d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=phase_step_h") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG8f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U3_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG8f") } record(longin, "$(CM,undefined)00:PRCB:REG8f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U3_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG8f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=prc_dds_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG9") } record(longin, "$(CM,undefined)00:PRCB:REG9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=prc_dds_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG90") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=phase_step_l") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG90") } record(longin, "$(CM,undefined)00:PRCB:REG90_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=phase_step_l") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG90_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG91") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U3_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG91") } record(longin, "$(CM,undefined)00:PRCB:REG91_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U3_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG91_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG92") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG92") } record(longin, "$(CM,undefined)00:PRCB:REG92_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG92_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG95") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG95") } record(longin, "$(CM,undefined)00:PRCB:REG95_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_ky_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG95_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG96") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG96") } record(longin, "$(CM,undefined)00:PRCB:REG96_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_lp_notch_lp1b_ky_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG96_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG99") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG99") } record(longin, "$(CM,undefined)00:PRCB:REG99_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG99_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG9a") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_tag") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG9a") } record(longin, "$(CM,undefined)00:PRCB:REG9a_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_tag") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9a_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG9b") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=domain_jump_realign") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG9b") } record(longin, "$(CM,undefined)00:PRCB:REG9b_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=domain_jump_realign") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9b_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG9d") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U2_iserdes_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG9d") } record(longin, "$(CM,undefined)00:PRCB:REG9d_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U2_iserdes_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9d_RBV") } record(longout, "$(CM,undefined)00:PRCB:REG9f") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cct1_cavity1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG9f") } record(longin, "$(CM,undefined)00:PRCB:REG9f_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REG9f_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cct1_cavity0_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa") } record(longin, "$(CM,undefined)00:PRCB:REGa_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity0_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa0") } record(longin, "$(CM,undefined)00:PRCB:REGa0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_sel_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa0_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa1") } record(longin, "$(CM,undefined)00:PRCB:REGa1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa5") } record(longin, "$(CM,undefined)00:PRCB:REGa5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_sel_thresh") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa5_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cav1_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa6") } record(longin, "$(CM,undefined)00:PRCB:REGa6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cav1_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=tgen_1_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa8") } record(longin, "$(CM,undefined)00:PRCB:REGa8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=tgen_1_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa8_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGa9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U15_spi_data_addr_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGa9") } record(longin, "$(CM,undefined)00:PRCB:REGa9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGa9_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGaa") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=amplitude") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGaa") } record(longin, "$(CM,undefined)00:PRCB:REGaa_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=amplitude") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGaa_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGac") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=dtrace_cmd") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGac") } record(longin, "$(CM,undefined)00:PRCB:REGac_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dtrace_cmd") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGac_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGae") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U2_clk_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGae") } record(longin, "$(CM,undefined)00:PRCB:REGae_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U2_clk_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGae_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGaf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGaf") } record(longin, "$(CM,undefined)00:PRCB:REGaf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGaf_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_1_phase_step") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb") } record(longin, "$(CM,undefined)00:PRCB:REGb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_1_phase_step") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=average_len") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb1") } record(longin, "$(CM,undefined)00:PRCB:REGb1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=average_len") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_ctlr_ph_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb3") } record(longin, "$(CM,undefined)00:PRCB:REGb3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_ctlr_ph_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb4") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb4") } record(longin, "$(CM,undefined)00:PRCB:REGb4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb4_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb5") } record(longin, "$(CM,undefined)00:PRCB:REGb5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb5_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=icc_cfg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb6") } record(longin, "$(CM,undefined)00:PRCB:REGb6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=icc_cfg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb7") } record(longin, "$(CM,undefined)00:PRCB:REGb7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb7_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb8") } record(longin, "$(CM,undefined)00:PRCB:REGb8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1a_kx_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb8_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGb9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGb9") } record(longin, "$(CM,undefined)00:PRCB:REGb9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGb9_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGbc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGbc") } record(longin, "$(CM,undefined)00:PRCB:REGbc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGbc_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGbd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cic_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGbd") } record(longin, "$(CM,undefined)00:PRCB:REGbd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cic_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGbd_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGbf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGbf") } record(longin, "$(CM,undefined)00:PRCB:REGbf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGbf_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U18_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc") } record(longin, "$(CM,undefined)00:PRCB:REGc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U18_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_0_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc2") } record(longin, "$(CM,undefined)00:PRCB:REGc2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_0_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=prc_dsp_cav_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc3") } record(longin, "$(CM,undefined)00:PRCB:REGc3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=prc_dsp_cav_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cct1_cavity1_detune_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc5") } record(longin, "$(CM,undefined)00:PRCB:REGc5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity1_detune_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc5_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_sync_tps62210_cset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc6") } record(longin, "$(CM,undefined)00:PRCB:REGc6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_sync_tps62210_cset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_1_phase_init") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc7") } record(longin, "$(CM,undefined)00:PRCB:REGc7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_1_phase_init") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc7_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGc8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_clk_status_we") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc8") } record(longin, "$(CM,undefined)00:PRCB:REGc8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_clk_status_we") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGc8_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGca") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGca") } record(longin, "$(CM,undefined)00:PRCB:REGca_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_lp_notch_lp1b_kx_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGca_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGcb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGcb") } record(longin, "$(CM,undefined)00:PRCB:REGcb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGcb_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGcc") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGcc") } record(longin, "$(CM,undefined)00:PRCB:REGcc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_lim_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGcc_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGce") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cc_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGce") } record(longin, "$(CM,undefined)00:PRCB:REGce_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cc_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGce_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGcf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGcf") } record(longin, "$(CM,undefined)00:PRCB:REGcf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGcf_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=circle_buf_stop") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd") } record(longin, "$(CM,undefined)00:PRCB:REGd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=circle_buf_stop") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd0") } record(longin, "$(CM,undefined)00:PRCB:REGd0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd0_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd1") } record(longin, "$(CM,undefined)00:PRCB:REGd1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd2") } record(longin, "$(CM,undefined)00:PRCB:REGd2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_setmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd3") } record(longin, "$(CM,undefined)00:PRCB:REGd3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd4") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd4") } record(longin, "$(CM,undefined)00:PRCB:REGd4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd4_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd5") } record(longin, "$(CM,undefined)00:PRCB:REGd5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd5_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGd6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGd6") } record(longin, "$(CM,undefined)00:PRCB:REGd6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_fdbk_core_mp_proc_coeff_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGd6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGda") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=sfp_address_set") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGda") } record(longin, "$(CM,undefined)00:PRCB:REGda_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=sfp_address_set") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGda_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGdd") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_U15_spi_read_and_start_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGdd") } record(longin, "$(CM,undefined)00:PRCB:REGdd_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGdd_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGde") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=circle_buf_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGde") } record(longin, "$(CM,undefined)00:PRCB:REGde_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=circle_buf_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGde_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=i_beam_1_modulo") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe") } record(longin, "$(CM,undefined)00:PRCB:REGe_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=i_beam_1_modulo") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe1") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=tgen_0_bank_next") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe1") } record(longin, "$(CM,undefined)00:PRCB:REGe1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=tgen_0_bank_next") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe1_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe2") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cav0_ilock_engage") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe2") } record(longin, "$(CM,undefined)00:PRCB:REGe2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cav0_ilock_engage") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe2_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe3") } record(longin, "$(CM,undefined)00:PRCB:REGe3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cct1_cavity0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe6") } record(longin, "$(CM,undefined)00:PRCB:REGe6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cct1_cavity0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe6_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe7") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_coarse_scale") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe7") } record(longin, "$(CM,undefined)00:PRCB:REGe7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_coarse_scale") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe7_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe8") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ssa_stim_en") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe8") } record(longin, "$(CM,undefined)00:PRCB:REGe8_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ssa_stim_en") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe8_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGe9") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=ctrace_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe9") } record(longin, "$(CM,undefined)00:PRCB:REGe9_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=ctrace_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGe9_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGea") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_wave_shift") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGea") } record(longin, "$(CM,undefined)00:PRCB:REGea_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_wave_shift") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGea_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGeb") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_piezo_piezo_dc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGeb") } record(longin, "$(CM,undefined)00:PRCB:REGeb_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_1_dsp_piezo_piezo_dc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGeb_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGec") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cfreq_src_sel") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGec") } record(longin, "$(CM,undefined)00:PRCB:REGec_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=cfreq_src_sel") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGec_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGed") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_mmcm_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGed") } record(longin, "$(CM,undefined)00:PRCB:REGed_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_mmcm_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGed_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGef") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=dac_iq_phase") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGef") } record(longin, "$(CM,undefined)00:PRCB:REGef_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=dac_iq_phase") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGef_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=hist_count_w_strobe") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGf") } record(longin, "$(CM,undefined)00:PRCB:REGf_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=hist_count_w_strobe") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_wave_samp_per") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGf0") } record(longin, "$(CM,undefined)00:PRCB:REGf0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_wave_samp_per") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf0_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf3") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=prc_dsp_prl_gain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGf3") } record(longin, "$(CM,undefined)00:PRCB:REGf3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=prc_dsp_prl_gain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf3_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=config_idelayctrl_reset_r") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGf5") } record(longin, "$(CM,undefined)00:PRCB:REGf5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=config_idelayctrl_reset_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf5_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGf6") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGf6") } record(longin, "$(CM,undefined)00:PRCB:REGf6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=shell_0_dsp_fdbk_core_mp_proc_coeff_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGf6_RBV") } record(aao, "$(CM,undefined)00:PRCB:REG15") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_1_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG15") } record(aao, "$(CM,undefined)00:PRCB:REG36") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=shell_0_dsp_piezo_trace_en offset=0") field(FTVL, "LONG") field(NELM, "128") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REG36") } record(aao, "$(CM,undefined)00:PRCB:REGc0") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=tgen_0_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGc0") } record(aao, "$(CM,undefined)00:PRCB:REGe5") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=tgen_1_delay_pc_XXX offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:PRCB:REGe5") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:PRCB:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=prcb reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:PRCB:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:PRCB:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:PRCB:CLKCHK_") { field(INPA, "$(CM,undefined)00:PRCB:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:PRCB:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:PRCB:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=prcb") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:PRCB:AGG_STS_") { field(INPA, "$(CM,undefined)00:PRCB:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:PRCB:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:PRCB:STATUS") } record(stringin, "$(CM,undefined)00:PRCB:STATUS") { field(INP , "$(CM,undefined)00:PRCB:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:PRCB:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=prcb reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:PRCB:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:PRCB:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=prcb reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:PRCB:DF_FC_SRC") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:PRCB:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:PRCB:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:PRCB:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:PRCB:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:PRCB:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:PRCB:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:PRCB:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:PRCB:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=prcb reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:PRCB:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:PRCB:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:PRCB:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=prcb reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:PRCB:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:PRCB:CRCERR_CNT") } record(calc, "$(CM,undefined)00:PRCB:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:PRCB:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:PRCB:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:PRCB:CRCERR_STAT") } record(bi, "$(CM,undefined)00:PRCB:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:PRCB:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } #================================== # Read AMC7823 chip monitoring signals # Used in conjunction with rfChasUtil.st # Set records to DISABLE/INVALID if # raw register readback INVALID. # Sequence program causes this by # processing records in case of a # read/write error. For those signals # that have multiple related records, # this is done with a fanout record. #================================== # First draft of alarm summary. # Adjust as we get more experience. record(calc, "$(CM,undefined)00:PRCB:AMC_ALARM1") { field(DESC, "AMC7823 alarm summary") field(SCAN, "1 second") # CALC must do something with all inputs to run the MS logic # VAL is not used field(CALC, "A+B+C+D+E+F+G+H+I+J+K+L") field(INPA, "$(CM,undefined)00:PRCB:AMC_LO.SEVR MSS") field(INPB, "$(CM,undefined)00:PRCB:AMC_TEMP.SEVR MSS") field(INPC, "$(CM,undefined)00:PRCB:AMC_V2P2V.SEVR MSS") field(INPD, "$(CM,undefined)00:PRCB:AMC_V3P7V.SEVR MSS") field(INPE, "$(CM,undefined)00:PRCB:AMC_V12P0V.SEVR MSS") field(INPF, "$(CM,undefined)00:PRCB:AMC_I.SEVR MSS") field(INPG, "$(CM,undefined)00:PRCB:AMC_V.SEVR MSS") field(FLNK, "$(CM,undefined)00:PRCB:AMC_ALARMSUM") } record(stringin, "$(CM,undefined)00:PRCB:AMC_ALARMSUM") { field(DESC, "AMC7823 alarm summary") field(INP , "$(CM,undefined)00:PRCB:AMC_ALARM1.SEVR MSS") } record(ai, "$(CM,undefined)00:PRCB:AMC_SPARE") { field(DESC, "AMC7823 spare chan") field(EGU, "V") field(PREC, "3") field(LOLO, "0.0") field(LOW, "0.0") field(HIGH, "3.3") field(HIHI, "3.3") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_V2P2V") { field(DESC, "AMC7823 0.5*V2P2V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.00") field(LOW, "1.01") field(HIGH, "1.19") field(HIHI, "1.20") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_V3P7V") { field(DESC, "AMC7823 0.5*V3P7V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.66") field(LOW, "1.68") field(HIGH, "2.02") field(HIHI, "2.04") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_V12P0V") { field(DESC, "AMC7823 0.1776*V12P0V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.85") field(LOW, "0.90") field(HIGH, "2.20") field(HIHI, "2.24") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_MICROPHONE") { field(DESC, "AMC7823 microphone") field(EGU, "V") field(PREC, "3") field(LOLO, "0.50") field(LOW, "0.52") field(HIGH, "2.68") field(HIHI, "2.70") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:PRCB:AMC_LO_PROC") { field(DESC, "Process LO records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:PRCB:AMC_LOV") field(LNKB, "$(CM,undefined)00:PRCB:AMC_LO_CALC") field(LNKC, "$(CM,undefined)00:PRCB:AMC_LO") } record(ai, "$(CM,undefined)00:PRCB:AMC_LOV") { field(DESC, "AMC7823 LO V") field(EGU, "V") field(PREC, "3") field(LOLO, "0.70") field(LOW, "0.75") field(HIGH, "1.35") field(HIHI, "1.40") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_LO_CALC") } record(calc, "$(CM,undefined)00:PRCB:AMC_LO_CALC") { field(DESC, "AMC7823 LO") # assume R=50 ohms # PdBm = 30+10*log(V^2/R) field(CALC, "30+10*LOG(A*A/50)") field(INPA, "$(CM,undefined)00:PRCB:AMC_LOV") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_LO") } record(ai, "$(CM,undefined)00:PRCB:AMC_LO") { field(DESC, "AMC7823 LO") field(EGU, "dBm") field(PREC, "2") field(INP, "$(CM,undefined)00:PRCB:AMC_LO_CALC MSI") field(LOLO, "9.9") field(LOW, "10.5") field(HIGH, "15.6") field(HIHI, "15.9") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_I") { field(DESC, "AMC7823 current*1ohm") field(EGU, "V") field(PREC, "3") field(LOLO, "0.30") field(LOW, "0.33") field(HIGH, "0.87") field(HIHI, "0.90") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(ai, "$(CM,undefined)00:PRCB:AMC_V") { field(DESC, "AMC7823 0.5*VDD3P3V") field(EGU, "V") field(PREC, "3") field(LOLO, "1.50") field(LOW, "1.52") field(HIGH, "1.78") field(HIHI, "1.80") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(fanout, "$(CM,undefined)00:PRCB:AMC_TEMP_PROC") { field(DESC, "Process temp records") field(SELM, "All") field(LNKA, "$(CM,undefined)00:PRCB:AMC_TEMPV") field(LNKB, "$(CM,undefined)00:PRCB:AMC_TEMPC_CALC") field(LNKC, "$(CM,undefined)00:PRCB:AMC_TEMPC") field(LNKD, "$(CM,undefined)00:PRCB:AMC_TEMP_CALC") field(LNKE, "$(CM,undefined)00:PRCB:AMC_TEMP") } record(ai, "$(CM,undefined)00:PRCB:AMC_TEMPV") { field(DESC, "AMC7823 On-chip temp") field(EGU, "V") field(PREC, "3") field(LOLO, "0.100") field(LOW, "0.105") field(HIGH, "0.195") field(HIHI, "0.200") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_TEMPC_CALC") } # From TI AMC7823 manual: # http://www.ti.com/lit/ds/slas453f/slas453f.pdf # Temp (°C) = 2.6 × ΔVBE (mV) 273K record(calc, "$(CM,undefined)00:PRCB:AMC_TEMPC_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*1000*2.6)-273") field(INPA, "$(CM,undefined)00:PRCB:AMC_TEMPV") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_TEMPC") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:PRCB:AMC_TEMPC") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegC") field(PREC, "1") field(INP, "$(CM,undefined)00:PRCB:AMC_TEMPC_CALC MSI") field(LOLO, "-40") field(LOW, "-35") field(HIGH, "100") field(HIHI, "105") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_TEMP_CALC") } record(calc, "$(CM,undefined)00:PRCB:AMC_TEMP_CALC") { field(DESC, "AMC7823 On-chip temp") field(CALC, "(A*9/5)+32") field(INPA, "$(CM,undefined)00:PRCB:AMC_TEMPC") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") field(FLNK, "$(CM,undefined)00:PRCB:AMC_TEMP") } # Alarm limits from manual # operating temperature range record(ai, "$(CM,undefined)00:PRCB:AMC_TEMP") { field(DESC, "AMC7823 On-chip temp") field(EGU, "DegF") field(PREC, "1") field(INP, "$(CM,undefined)00:PRCB:AMC_TEMP_CALC MSI") field(LOLO, "-40") field(LOW, "-31") field(HIGH, "212") field(HIHI, "221") field(LLSV, "MAJOR") field(LSV, "MINOR") field(HSV, "MINOR") field(HHSV, "MAJOR") field(SDIS, "$(CM,undefined)00:PRCB:REGAMC_RBV.SEVR") field(DISV, "3") field(DISS, "INVALID") } record(longout, "$(CM,undefined)00:PRCB:REGAMC_DADDR") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_data_addr_r") field(OUT , "@name=prcb reg=config_U15_spi_data_addr_r") info(feed:info:output, "$(CM,undefined)00:PRCB:REGAMC_DADDR") } record(longin, "$(CM,undefined)00:PRCB:REGAMC_DADDR_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_data_addr_r") field(INP , "@name=prcb reg=config_U15_spi_data_addr_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGAMC_DADDR_RBV") } record(longout, "$(CM,undefined)00:PRCB:REGAMC_RDSTART") { field(DTYP, "FEED Register Write") field(DESC, "config_U15_spi_read_and_start_r") field(OUT , "@name=prcb reg=config_U15_spi_read_and_start_r") info(feed:info:output, "$(CM,undefined)00:PRCB:REGAMC_RDSTART") } record(longin, "$(CM,undefined)00:PRCB:REGAMC_RDSTART_RBV") { field(DTYP, "FEED Register Read") field(DESC, "config_U15_spi_read_and_start_r") field(INP , "@name=prcb reg=config_U15_spi_read_and_start_r") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGAMC_RDSTART_RBV") } # Processed by external seq program record(longin, "$(CM,undefined)00:PRCB:REGAMC_RBV") { field(DTYP, "FEED Register Read") field(DESC, "U15_spi_rdbk") field(SCAN, "Passive") field(INP , "@name=prcb reg=U15_spi_rdbk") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:PRCB:REGAMC_RBV") } record(longout, "$(CM,undefined)00:RESA:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=resa") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:RESA:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RESA:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:RESA:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=resa") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:RESA:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RESA:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:RESA:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=resa") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:RESA:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:RESA:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=resa") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:RESA:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:RESA:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RESA:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:RESA:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=1") field(FLNK, "$(CM,undefined)00:RESA:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RESA:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:RESA:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=6") field(FLNK, "$(CM,undefined)00:RESA:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:RESA:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:RESA:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=2") field(FLNK, "$(CM,undefined)00:RESA:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESA:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:RESA:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=3") field(FLNK, "$(CM,undefined)00:RESA:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESA:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:RESA:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resa offset=4") field(FLNK, "$(CM,undefined)00:RESA:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:RESA:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:RESA:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESA:CTRL_RTT") } record(ai, "$(CM,undefined)00:RESA:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=resa") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:RESA:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=resa offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RESA:CTRL_JSON") } record(aai, "$(CM,undefined)00:RESA:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=resa offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RESA:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:RESA:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=resa offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:RESA:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:RESA:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=resa offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:RESA:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:RESA:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:RESA:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RESA:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:RESA:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:RESA:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:RESA:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:RESA:reg_buf_data_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_data_0 signal=resa:buf_data_0") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_data_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:buf_data_0") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:buf_data_0") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_buf_data_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_data_1 signal=resa:buf_data_1") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_data_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:buf_data_1") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:buf_data_1") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_buf_data_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_data_2 signal=resa:buf_data_2") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_data_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:buf_data_2") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:buf_data_2") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_buf_data_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_data_3 signal=resa:buf_data_3") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_data_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:buf_data_3") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_buf_data_3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:buf_data_3") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_config_rom_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=config_rom signal=resa:config_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_config_rom_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_config_rom_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:config_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_config_rom_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:config_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_ctrace0_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace0_out signal=resa:ctrace0_out") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace0_out_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace0_out_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:ctrace0_out") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace0_out_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:ctrace0_out") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_ctrace1_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace1_out signal=resa:ctrace1_out") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace1_out_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace1_out_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:ctrace1_out") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace1_out_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:ctrace1_out") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_pzt_ow_data_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=pzt_ow_data_0 signal=resa:pzt_ow_data_0") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_pzt_ow_data_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:pzt_ow_data_0") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:pzt_ow_data_0") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_pzt_ow_data_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=pzt_ow_data_1 signal=resa:pzt_ow_data_1") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_pzt_ow_data_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:pzt_ow_data_1") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:pzt_ow_data_1") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_pzt_ow_data_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=pzt_ow_data_2 signal=resa:pzt_ow_data_2") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_pzt_ow_data_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:pzt_ow_data_2") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:pzt_ow_data_2") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_pzt_ow_data_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=pzt_ow_data_3 signal=resa:pzt_ow_data_3") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_pzt_ow_data_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:pzt_ow_data_3") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_pzt_ow_data_3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:pzt_ow_data_3") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESA:reg_qsfp_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=qsfp_result signal=resa:qsfp_result") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_qsfp_result_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_qsfp_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resa:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESA:reg_qsfp_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resa:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status1_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status1_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status1_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status1_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status2_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status2_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status2_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status2_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status2_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status2_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status2_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status2_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status2_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_buf_status2_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=buf_status2_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_buf_status2_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cav_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cav_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cav_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cc0_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cc0_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cc0_latency_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cc1_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cc1_latency_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_counts_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_rev_id_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_summary_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_counts_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_rev_id_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_summary_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cct0_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct0_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct0_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cct1_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct1_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_4_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_5_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_6_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cpl_tmp_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cpl_tmp_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cpl_tmp_7_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_cplr_tmp_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cplr_tmp_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cplr_tmp_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace0_pc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace0_pc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace0_pc_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace0_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace0_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace0_running_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace1_pc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace1_pc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace1_pc_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace1_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace1_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace1_running_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrl_fnal_status_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrl_fnal_status_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrl_fnal_status_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrl_fnal_status_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrl_fnal_status_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_dig_in_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=dig_in_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_dig_in_stat_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_fsd_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fsd_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fsd_stat_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_git_commit_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=git_commit_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_git_commit_id_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_abs_steps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_abs_steps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_abs_steps_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_abs_steps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_abs_steps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_abs_steps_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_abs_steps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_abs_steps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_abs_steps_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_abs_steps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_abs_steps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_abs_steps_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_accum_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_accum_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_accum_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_accum_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_accum_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_accum_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_accum_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_accum_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_accum_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_accum_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_accum_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_accum_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_clkrate_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_clkrate_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_clkrate_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_clkrate_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_clkrate_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_clkrate_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_clkrate_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_clkrate_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_clkrate_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_clkrate_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_clkrate_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_clkrate_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lacc_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lacc_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lacc_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lacc_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lacc_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lacc_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lacc_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lacc_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lacc_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lacc_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lacc_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lacc_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lsteps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lsteps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lsteps_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lsteps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lsteps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lsteps_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lsteps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lsteps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lsteps_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lsteps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lsteps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lsteps_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lvlcty_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lvlcty_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lvlcty_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lvlcty_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lvlcty_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lvlcty_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lvlcty_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lvlcty_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lvlcty_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_lvlcty_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_lvlcty_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_lvlcty_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_period_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_period_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_period_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_period_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_period_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_period_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_period_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_period_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_period_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_period_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_period_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_period_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_sgn_steps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_sgn_steps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_sgn_steps_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_sgn_steps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_sgn_steps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_sgn_steps_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_sgn_steps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_sgn_steps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_sgn_steps_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_sgn_steps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_sgn_steps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_sgn_steps_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_status_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_status_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_status_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_status_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_status_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_status_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_status_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_status_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_status_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_status_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_status_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_status_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_steps_actual_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_steps_actual_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_steps_actual_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_steps_actual_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_steps_actual_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_steps_actual_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_steps_actual_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_steps_actual_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_steps_actual_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_m_steps_actual_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=m_steps_actual_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_m_steps_actual_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_0_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_0_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_0_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_0_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_0_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_0_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_0_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_0_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_0_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_0_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_0_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_0_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_1_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_1_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_1_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_power_out_1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_power_out_1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_power_out_1_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_stat_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_stat_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_stat_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_stat_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_stat_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_stat_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_stat_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_stat_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_stat_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_p_stat_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=p_stat_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_p_stat_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_0_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_1_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_2_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_3_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_4_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_5_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_6_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_7_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_stp_tmp_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=stp_tmp_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_stp_tmp_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_usr_access_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=usr_access_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_usr_access_reg_RBV") } record(longin, "$(CM,undefined)00:RESA:reg_vac_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=vac_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_vac_flt_stat_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_fnal_ctl_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=fnal_ctl_0 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_fnal_ctl_0") } record(aai, "$(CM,undefined)00:RESA:reg_fnal_ctl_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fnal_ctl_0") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fnal_ctl_0_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_fnal_ctl_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=fnal_ctl_1 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_fnal_ctl_1") } record(aai, "$(CM,undefined)00:RESA:reg_fnal_ctl_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fnal_ctl_1") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fnal_ctl_1_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_fnal_ctl_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=fnal_ctl_2 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_fnal_ctl_2") } record(aai, "$(CM,undefined)00:RESA:reg_fnal_ctl_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fnal_ctl_2") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fnal_ctl_2_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_fnal_ctl_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=fnal_ctl_3 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_fnal_ctl_3") } record(aai, "$(CM,undefined)00:RESA:reg_fnal_ctl_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fnal_ctl_3") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fnal_ctl_3_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_loopback") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=loopback offset=0") field(FTVL, "LONG") field(NELM, "32768") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_loopback") } record(aai, "$(CM,undefined)00:RESA:reg_loopback_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=loopback") field(FTVL, "LONG") field(NELM, "32768") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_loopback_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_adc_samp_cntr_disable") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=adc_samp_cntr_disable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_adc_samp_cntr_disable") } record(longin, "$(CM,undefined)00:RESA:reg_adc_samp_cntr_disable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=adc_samp_cntr_disable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_adc_samp_cntr_disable_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cc_loc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cc_loc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cc_loc") } record(longin, "$(CM,undefined)00:RESA:reg_cc_loc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cc_loc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cc_loc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cc_tx_disable") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cc_tx_disable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cc_tx_disable") } record(longin, "$(CM,undefined)00:RESA:reg_cc_tx_disable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cc_tx_disable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cc_tx_disable_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ccr0_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ccr0_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ccr0_error_clear") } record(longin, "$(CM,undefined)00:RESA:reg_ccr0_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr0_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr0_error_clear_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ccr1_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ccr1_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ccr1_error_clear") } record(longin, "$(CM,undefined)00:RESA:reg_ccr1_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ccr1_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ccr1_error_clear_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cct_cavity_0_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cct_cavity_0_status_aux") } record(longin, "$(CM,undefined)00:RESA:reg_cct_cavity_0_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct_cavity_0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct_cavity_0_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cct_cavity_1_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cct_cavity_1_status_aux") } record(longin, "$(CM,undefined)00:RESA:reg_cct_cavity_1_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct_cavity_1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct_cavity_1_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cct_cavity_2_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_2_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cct_cavity_2_status_aux") } record(longin, "$(CM,undefined)00:RESA:reg_cct_cavity_2_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct_cavity_2_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct_cavity_2_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_cct_cavity_3_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_3_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_cct_cavity_3_status_aux") } record(longin, "$(CM,undefined)00:RESA:reg_cct_cavity_3_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=cct_cavity_3_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_cct_cavity_3_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace0_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ctrace0_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ctrace0_start") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace0_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace0_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace0_start_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ctrace1_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ctrace1_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ctrace1_start") } record(longin, "$(CM,undefined)00:RESA:reg_ctrace1_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ctrace1_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ctrace1_start_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_fiber_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_fiber_reset") } record(longin, "$(CM,undefined)00:RESA:reg_fiber_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_fiber_reset_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_g_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=g_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_g_buf_control") } record(longin, "$(CM,undefined)00:RESA:reg_g_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=g_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_g_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_global_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=global_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_global_ctl") } record(longin, "$(CM,undefined)00:RESA:reg_global_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=global_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_global_ctl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_flt_clr") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_0") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_1") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_2") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_3") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_4") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_4_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_5") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_5_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_6") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_6_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_cplr_tmp_limit_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_7") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_cplr_tmp_limit_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_cplr_tmp_limit_7_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_dig_out_epics") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_dig_out_epics") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_dig_out_epics") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_dig_out_epics_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_dig_out_epics") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_dig_out_epics_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_0") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_1") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_2") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_3") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_4") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_4_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_5") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_5_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_6") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_6_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_0_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_7") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_0_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_0_7_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_0") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_1") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_2") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_3") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_4") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_4_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_5") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_5_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_6") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_6_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_excite_current_1_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_7") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_excite_current_1_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_excite_current_1_7_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_fsd_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_clr") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_fsd_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_clr_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_mask") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_fsd_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_mask") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_mask_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_fsd_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_fsd_mask_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_he_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_he_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_he_flt") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_he_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_he_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_he_flt_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_cplr_tmp_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_mask_cplr_tmp_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_cplr_tmp_flt") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_cplr_tmp_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_mask_cplr_tmp_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_cplr_tmp_flt_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_he_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_mask_he_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_he_flt") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_he_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_mask_he_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_he_flt_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_stp_tmp_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_mask_stp_tmp_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_stp_tmp_flt") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_stp_tmp_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_mask_stp_tmp_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_stp_tmp_flt_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_vac_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_mask_vac_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_vac_flt") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_vac_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_mask_vac_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_mask_vac_flt_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_mastr_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_mastr_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_mastr_flt_clr") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_mastr_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_mastr_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_mastr_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_flt_clr") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_0") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_0_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_1") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_2") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_3") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_3_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_4") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_4_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_5") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_5_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_6") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_6_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_stp_tmp_limit_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_7") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_stp_tmp_limit_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_stp_tmp_limit_7_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_ilock_dsp_vac_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ilock_dsp_vac_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_ilock_dsp_vac_flt_clr") } record(longin, "$(CM,undefined)00:RESA:reg_ilock_dsp_vac_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=ilock_dsp_vac_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_ilock_dsp_vac_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_periph_config") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_periph_config") } record(longin, "$(CM,undefined)00:RESA:reg_periph_config_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_periph_config_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_qsfp_i2c_reg") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_qsfp_i2c_reg") } record(longin, "$(CM,undefined)00:RESA:reg_qsfp_i2c_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_qsfp_i2c_reg_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_ack") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_chan_keep") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_detune_source_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_igain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_igain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_irate") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_irate_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_acc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_cntl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_drvI") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_steps") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_sub_stp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_vlcty") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_am") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_fm") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_ctl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac1") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac2") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_hw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_lw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pgain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pgain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_insrc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_0_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_0_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_ack") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_chan_keep") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_detune_source_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_igain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_igain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_irate") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_irate_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_acc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_cntl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_drvI") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_steps") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_sub_stp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_vlcty") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_am") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_fm") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_ctl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac1") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac2") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_hw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_lw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pgain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pgain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_insrc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_1_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_1_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_ack") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_chan_keep") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_detune_source_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_igain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_igain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_irate") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_irate_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_acc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_cntl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_drvI") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_steps") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_sub_stp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_vlcty") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_am") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_fm") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_ctl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac1") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac2") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_hw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_lw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pgain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pgain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_insrc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_2_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_2_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_ack") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_chan_keep") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_detune_source_select") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_igain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_igain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_irate") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_irate_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_acc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_cntl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_drvI") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_steps") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_sub_stp") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_vlcty") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_am") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_fm") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_ctl") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac1") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac2") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_hw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_lw") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pgain") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pgain_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_insrc") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=rc_dsp_3_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESA:reg_rc_dsp_3_pzt_power_limit_RBV") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESA:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:RESA:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=resa reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:RESA:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RESA:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:RESA:CLKCHK_") { field(INPA, "$(CM,undefined)00:RESA:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:RESA:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:RESA:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=resa") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:RESA:AGG_STS_") { field(INPA, "$(CM,undefined)00:RESA:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RESA:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:RESA:STATUS") } record(stringin, "$(CM,undefined)00:RESA:STATUS") { field(INP , "$(CM,undefined)00:RESA:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:RESA:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:RESA:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:RESA:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:RESA:DF_FC_SRC") } record(longin, "$(CM,undefined)00:RESA:CCR0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr0_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR0_STAT") } record(longin, "$(CM,undefined)00:RESA:CCR0_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr0_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR0_CNT") } record(longout, "$(CM,undefined)00:RESA:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cc_loc") info(feed:info:setting, "$(CM,undefined)00:RESA:CC_LOC") } record(longin, "$(CM,undefined)00:RESA:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cc_loc") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RESA:CCR0_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr0_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR0_REVID") } record(bo, "$(CM,undefined)00:RESA:CCR0_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RESA:CCR0_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RESA:CCR0_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ccr0_error_clear") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RESA:CCR0_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cc0_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RESA:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR1_STAT") } record(longin, "$(CM,undefined)00:RESA:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR1_CNT") } record(longout, "$(CM,undefined)00:RESA:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cc_loc") info(feed:info:setting, "$(CM,undefined)00:RESA:CC_LOC") } record(longin, "$(CM,undefined)00:RESA:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cc_loc") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RESA:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR1_REVID") } record(bo, "$(CM,undefined)00:RESA:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RESA:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RESA:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RESA:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RESA:CCR0_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr0_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR0_CAV0_STAT") } record(longin, "$(CM,undefined)00:RESA:CCR0_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr0_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR0_CAV1_STAT") } record(longin, "$(CM,undefined)00:RESA:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RESA:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RESA:CCT_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RESA:CCT_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cct_cavity_0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESA:CCT_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RESA:CCT_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cct_cavity_1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV1_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESA:CCT_CAV2_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_2_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV2_STAT_AUX") } record(longin, "$(CM,undefined)00:RESA:CCT_CAV2_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cct_cavity_2_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV2_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESA:CCT_CAV3_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resa reg=cct_cavity_3_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV3_STAT_AUX") } record(longin, "$(CM,undefined)00:RESA:CCT_CAV3_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resa reg=cct_cavity_3_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESA:CCT_CAV3_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RESA:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RESA:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RESA:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RESA:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RESA:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RESA:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RESA:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RESA:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=resa reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RESA:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RESA:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RESA:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=resa reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RESA:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RESA:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RESA:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RESA:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RESA:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RESA:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RESA:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RESA:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") } record(longout, "$(CM,undefined)00:RESB:CTRL_DEBUG") { field(DTYP, "FEED Debug") field(DESC, "Debug print mask") field(OUT , "@name=resb") field(VAL , "0") field(PINI, "YES") field(PHAS, "-1") info(autosaveFields_pass0, "VAL") } record(bo, "$(CM,undefined)00:RESB:CTRL_HALT") { field(DESC, "Force to Error state") field(ZNAM, "Halt") field(ONAM, "Halt") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RESB:CTRL_HALT_.PROC") } record(stringout, "$(CM,undefined)00:RESB:CTRL_HALT_") { field(DTYP, "FEED Force Error") field(OUT , "@name=resb") field(VAL , "Halt") } record(bo, "$(CM,undefined)00:RESB:CTRL_RESET") { field(DESC, "Force re-connect") field(ZNAM, "Reset") field(ONAM, "Reset") field(UDF , "0") field(FLNK, "$(CM,undefined)00:RESB:CTRL_IPADDR") # setting address always forces reset } record(stringout, "$(CM,undefined)00:RESB:CTRL_IPADDR") { field(DTYP, "FEED Set Address") field(DESC, "Set Device IP address") field(OUT , "@name=resb") field(VAL , "") field(PINI, "YES") info(autosaveFields_pass0, "VAL") } record(mbbi, "$(CM,undefined)00:RESB:CTRL_STATUS") { field(DTYP, "FEED State") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(THVL, "3") field(FRVL, "4") field(ZRST, "Error") field(ONST, "Idle") field(TWST, "Searching") field(THST, "Inspecting") field(FRST, "Running") field(ZRSV, "MAJOR") field(ONSV, "") field(TWSV, "MAJOR") field(THSV, "MINOR") field(FRSV, "") } record(aai, "$(CM,undefined)00:RESB:CTRL_LAST_ERROR") { field(DTYP, "FEED Error") field(INP , "@name=resb") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(longin, "$(CM,undefined)00:RESB:CTRL_TX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=0") field(SCAN, "1 second") # also adjust *Rate* CALC when changing field(FLNK, "$(CM,undefined)00:RESB:CTRL_TX_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_TX_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_TX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RESB:CTRL_RX_CNT") } record(longin, "$(CM,undefined)00:RESB:CTRL_RX_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=1") field(FLNK, "$(CM,undefined)00:RESB:CTRL_RX_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_RX_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_RX_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(FLNK, "$(CM,undefined)00:RESB:CTRL_RXB_CNT") } record(longin, "$(CM,undefined)00:RESB:CTRL_RXB_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=6") field(FLNK, "$(CM,undefined)00:RESB:CTRL_RXB_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_RXB_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_RXB_CNT") field(INPD, "1048576") # 1M field(CALC, "C:=A-B;B:=A;C/D*8") field(EGU , "Mb/s") field(PREC, "3") field(FLNK, "$(CM,undefined)00:RESB:CTRL_IGNORE_CNT") } record(longin, "$(CM,undefined)00:RESB:CTRL_IGNORE_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=2") field(FLNK, "$(CM,undefined)00:RESB:CTRL_IGNORE_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_IGNORE_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_IGNORE_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESB:CTRL_TMO_CNT") } record(longin, "$(CM,undefined)00:RESB:CTRL_TMO_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=3") field(FLNK, "$(CM,undefined)00:RESB:CTRL_TMO_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_TMO_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_TMO_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESB:CTRL_ERR_CNT") } record(longin, "$(CM,undefined)00:RESB:CTRL_ERR_CNT") { field(DTYP, "FEED Counter") field(INP , "@name=resb offset=4") field(FLNK, "$(CM,undefined)00:RESB:CTRL_ERR_RATE") } record(calc, "$(CM,undefined)00:RESB:CTRL_ERR_RATE") { field(INPA, "$(CM,undefined)00:RESB:CTRL_ERR_CNT") field(CALC, "C:=A-B;B:=A;C") field(EGU , "pkt/s") field(HIGH, "0.0001") # small non-zero field(HSV , "MAJOR") field(FLNK, "$(CM,undefined)00:RESB:CTRL_RTT") } record(ai, "$(CM,undefined)00:RESB:CTRL_RTT") { field(DTYP, "FEED RTT") field(INP , "@name=resb") field(ASLO, "1e6") field(EGU , "us") } record(aai, "$(CM,undefined)00:RESB:CTRL_JINFO") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed IOC JSON") field(INP , "@name=resb offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RESB:CTRL_JSON") } record(aai, "$(CM,undefined)00:RESB:CTRL_JSON") { field(DTYP, "FEED JBlob") field(DESC, "zlib compressed Device JSON") field(INP , "@name=resb offset=1") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "16000") field(FLNK, "$(CM,undefined)00:RESB:CTRL_FW_DESC") } record(aai, "$(CM,undefined)00:RESB:CTRL_FW_DESC") { field(DTYP, "FEED ROM Info") field(DESC, "FW description") field(INP , "@name=resb offset=0") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") field(FLNK, "$(CM,undefined)00:RESB:CTRL_FW_CODEHASH") } record(aai, "$(CM,undefined)00:RESB:CTRL_FW_CODEHASH") { field(DTYP, "FEED ROM Info") field(DESC, "FW Git rev.") field(INP , "@name=resb offset=2") field(SCAN, "I/O Intr") field(FTVL, "CHAR") field(NELM, "256") } record(aai, "$(CM,undefined)00:RESB:CTRL_FW_ROM") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ROM") field(SCAN, "I/O Intr") field(FTVL, "LONG") field(NELM, "2048") } # aggregate basic alarm status record(calc, "$(CM,undefined)00:RESB:CTRL_BASESTATUS_") { field(INPA, "$(CM,undefined)00:RESB:CTRL_STATUS.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RESB:CTRL_IGNORE_RATE.SEVR CP MSS") field(INPC, "$(CM,undefined)00:RESB:CTRL_TMO_RATE.SEVR CP MSS") field(INPD, "$(CM,undefined)00:RESB:CTRL_ERR_RATE.SEVR CP MSS") # do something with the values so that the links are actual read field(CALC, "A+B+C+D") } # Background poll to ensure the device is still there record(longin, "$(CM,undefined)00:RESB:CTRL_HELLO-I") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=HELLO") field(SCAN, "2 second") } record(aai, "$(CM,undefined)00:RESB:reg_buf_data_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_data_0 signal=resb:buf_data_0") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_data_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:buf_data_0") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:buf_data_0") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_buf_data_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_data_1 signal=resb:buf_data_1") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_data_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:buf_data_1") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:buf_data_1") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_buf_data_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_data_2 signal=resb:buf_data_2") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_data_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:buf_data_2") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:buf_data_2") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_buf_data_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_data_3 signal=resb:buf_data_3") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_data_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:buf_data_3") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_buf_data_3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:buf_data_3") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_config_rom_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=config_rom signal=resb:config_rom") field(FTVL, "LONG") field(NELM, "2048") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_config_rom_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_config_rom_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:config_rom") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_config_rom_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:config_rom") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_ctrace0_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace0_out signal=resb:ctrace0_out") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace0_out_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace0_out_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:ctrace0_out") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace0_out_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:ctrace0_out") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_ctrace1_out_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace1_out signal=resb:ctrace1_out") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace1_out_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace1_out_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:ctrace1_out") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace1_out_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:ctrace1_out") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_pzt_ow_data_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=pzt_ow_data_0 signal=resb:pzt_ow_data_0") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_pzt_ow_data_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_0_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:pzt_ow_data_0") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_0_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:pzt_ow_data_0") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_pzt_ow_data_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=pzt_ow_data_1 signal=resb:pzt_ow_data_1") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_pzt_ow_data_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_1_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:pzt_ow_data_1") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_1_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:pzt_ow_data_1") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_pzt_ow_data_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=pzt_ow_data_2 signal=resb:pzt_ow_data_2") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_pzt_ow_data_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_2_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:pzt_ow_data_2") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_2_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:pzt_ow_data_2") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_pzt_ow_data_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=pzt_ow_data_3 signal=resb:pzt_ow_data_3") field(FTVL, "LONG") field(NELM, "32") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_pzt_ow_data_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_3_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:pzt_ow_data_3") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_pzt_ow_data_3_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:pzt_ow_data_3") field(VAL , "1") field(PINI, "YES") } record(aai, "$(CM,undefined)00:RESB:reg_qsfp_result_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=qsfp_result signal=resb:qsfp_result") field(FTVL, "LONG") field(NELM, "4096") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_qsfp_result_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_qsfp_result_OFFSET") { field(DTYP, "FEED Signal Offset") field(OUT , "@signal=resb:qsfp_result") field(VAL , "0") field(PINI, "YES") } record(longout, "$(CM,undefined)00:RESB:reg_qsfp_result_STEP") { field(DTYP, "FEED Signal Step") field(OUT , "@signal=resb:qsfp_result") field(VAL , "1") field(PINI, "YES") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status1_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status1_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status1_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status1_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status2_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status2_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status2_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status2_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status2_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status2_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status2_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status2_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status2_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_buf_status2_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=buf_status2_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_buf_status2_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cav_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cav_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cav_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cc0_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cc0_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cc0_latency_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cc1_latency_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cc1_latency") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cc1_latency_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_counts_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_rev_id_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_summary_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_cavity0_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_cavity0_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_cavity0_status_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_cavity1_status_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_cavity1_status") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_cavity1_status_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_counts_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_rev_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_rev_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_rev_id_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_summary_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_summary") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_summary_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cct0_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct0_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct0_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cct1_local_frame_counter_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct1_local_frame_counter") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct1_local_frame_counter_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_4_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_5_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_6_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cpl_tmp_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cpl_tmp_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cpl_tmp_7_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_cplr_tmp_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cplr_tmp_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cplr_tmp_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace0_pc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace0_pc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace0_pc_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace0_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace0_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace0_running_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace1_pc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace1_pc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace1_pc_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace1_running_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace1_running") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace1_running_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrl_fnal_status_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrl_fnal_status_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrl_fnal_status_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrl_fnal_status_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrl_fnal_status_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_dig_in_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=dig_in_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_dig_in_stat_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_fsd_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fsd_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fsd_stat_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_git_commit_id_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=git_commit_id") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_git_commit_id_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_abs_steps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_abs_steps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_abs_steps_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_abs_steps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_abs_steps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_abs_steps_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_abs_steps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_abs_steps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_abs_steps_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_abs_steps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_abs_steps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_abs_steps_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_accum_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_accum_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_accum_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_accum_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_accum_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_accum_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_accum_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_accum_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_accum_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_accum_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_accum_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_accum_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_clkrate_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_clkrate_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_clkrate_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_clkrate_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_clkrate_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_clkrate_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_clkrate_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_clkrate_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_clkrate_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_clkrate_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_clkrate_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_clkrate_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lacc_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lacc_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lacc_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lacc_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lacc_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lacc_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lacc_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lacc_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lacc_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lacc_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lacc_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lacc_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lsteps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lsteps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lsteps_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lsteps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lsteps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lsteps_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lsteps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lsteps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lsteps_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lsteps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lsteps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lsteps_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lvlcty_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lvlcty_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lvlcty_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lvlcty_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lvlcty_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lvlcty_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lvlcty_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lvlcty_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lvlcty_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_lvlcty_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_lvlcty_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_lvlcty_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_period_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_period_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_period_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_period_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_period_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_period_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_period_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_period_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_period_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_period_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_period_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_period_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_sgn_steps_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_sgn_steps_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_sgn_steps_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_sgn_steps_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_sgn_steps_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_sgn_steps_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_sgn_steps_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_sgn_steps_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_sgn_steps_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_sgn_steps_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_sgn_steps_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_sgn_steps_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_status_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_status_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_status_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_status_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_status_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_status_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_status_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_status_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_status_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_status_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_status_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_status_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_steps_actual_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_steps_actual_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_steps_actual_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_steps_actual_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_steps_actual_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_steps_actual_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_steps_actual_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_steps_actual_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_steps_actual_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_m_steps_actual_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=m_steps_actual_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_m_steps_actual_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_0_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_0_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_0_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_0_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_0_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_0_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_0_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_0_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_0_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_0_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_0_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_0_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_1_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_1_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_1_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_power_out_1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_power_out_1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_power_out_1_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_stat_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_stat_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_stat_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_stat_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_stat_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_stat_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_stat_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_stat_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_stat_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_p_stat_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=p_stat_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_p_stat_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_0_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_1_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_2_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_3_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_4_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_5_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_6_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_7_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_stp_tmp_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=stp_tmp_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_stp_tmp_flt_stat_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_usr_access_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=usr_access_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_usr_access_reg_RBV") } record(longin, "$(CM,undefined)00:RESB:reg_vac_flt_stat_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=vac_flt_stat") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_vac_flt_stat_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_fnal_ctl_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=fnal_ctl_0 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_fnal_ctl_0") } record(aai, "$(CM,undefined)00:RESB:reg_fnal_ctl_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fnal_ctl_0") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fnal_ctl_0_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_fnal_ctl_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=fnal_ctl_1 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_fnal_ctl_1") } record(aai, "$(CM,undefined)00:RESB:reg_fnal_ctl_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fnal_ctl_1") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fnal_ctl_1_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_fnal_ctl_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=fnal_ctl_2 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_fnal_ctl_2") } record(aai, "$(CM,undefined)00:RESB:reg_fnal_ctl_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fnal_ctl_2") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fnal_ctl_2_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_fnal_ctl_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=fnal_ctl_3 offset=0") field(FTVL, "LONG") field(NELM, "16384") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_fnal_ctl_3") } record(aai, "$(CM,undefined)00:RESB:reg_fnal_ctl_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fnal_ctl_3") field(FTVL, "LONG") field(NELM, "16384") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fnal_ctl_3_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_loopback") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=loopback offset=0") field(FTVL, "LONG") field(NELM, "32768") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_loopback") } record(aai, "$(CM,undefined)00:RESB:reg_loopback_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=loopback") field(FTVL, "LONG") field(NELM, "32768") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_loopback_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_adc_samp_cntr_disable") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=adc_samp_cntr_disable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_adc_samp_cntr_disable") } record(longin, "$(CM,undefined)00:RESB:reg_adc_samp_cntr_disable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=adc_samp_cntr_disable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_adc_samp_cntr_disable_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cc_loc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cc_loc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cc_loc") } record(longin, "$(CM,undefined)00:RESB:reg_cc_loc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cc_loc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cc_loc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cc_tx_disable") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cc_tx_disable") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cc_tx_disable") } record(longin, "$(CM,undefined)00:RESB:reg_cc_tx_disable_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cc_tx_disable") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cc_tx_disable_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ccr0_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ccr0_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ccr0_error_clear") } record(longin, "$(CM,undefined)00:RESB:reg_ccr0_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr0_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr0_error_clear_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ccr1_error_clear") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ccr1_error_clear") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ccr1_error_clear") } record(longin, "$(CM,undefined)00:RESB:reg_ccr1_error_clear_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ccr1_error_clear") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ccr1_error_clear_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cct_cavity_0_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_0_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cct_cavity_0_status_aux") } record(longin, "$(CM,undefined)00:RESB:reg_cct_cavity_0_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct_cavity_0_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct_cavity_0_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cct_cavity_1_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_1_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cct_cavity_1_status_aux") } record(longin, "$(CM,undefined)00:RESB:reg_cct_cavity_1_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct_cavity_1_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct_cavity_1_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cct_cavity_2_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_2_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cct_cavity_2_status_aux") } record(longin, "$(CM,undefined)00:RESB:reg_cct_cavity_2_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct_cavity_2_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct_cavity_2_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_cct_cavity_3_status_aux") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_3_status_aux") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_cct_cavity_3_status_aux") } record(longin, "$(CM,undefined)00:RESB:reg_cct_cavity_3_status_aux_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=cct_cavity_3_status_aux") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_cct_cavity_3_status_aux_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace0_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ctrace0_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ctrace0_start") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace0_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace0_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace0_start_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ctrace1_start") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ctrace1_start") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ctrace1_start") } record(longin, "$(CM,undefined)00:RESB:reg_ctrace1_start_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ctrace1_start") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ctrace1_start_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_fiber_reset") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=fiber_reset") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_fiber_reset") } record(longin, "$(CM,undefined)00:RESB:reg_fiber_reset_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=fiber_reset") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_fiber_reset_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_g_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=g_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_g_buf_control") } record(longin, "$(CM,undefined)00:RESB:reg_g_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=g_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_g_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_global_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=global_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_global_ctl") } record(longin, "$(CM,undefined)00:RESB:reg_global_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=global_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_global_ctl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_flt_clr") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_0") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_1") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_2") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_3") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_4") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_4_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_5") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_5_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_6") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_6_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_cplr_tmp_limit_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_7") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_cplr_tmp_limit_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_cplr_tmp_limit_7_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_dig_out_epics") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_dig_out_epics") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_dig_out_epics") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_dig_out_epics_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_dig_out_epics") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_dig_out_epics_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_0") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_1") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_2") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_3") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_4") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_4_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_5") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_5_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_6") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_6_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_0_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_7") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_0_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_0_7_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_0") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_1") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_2") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_3") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_4") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_4_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_5") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_5_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_6") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_6_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_excite_current_1_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_7") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_excite_current_1_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_excite_current_1_7_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_fsd_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_clr") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_fsd_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_clr_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_mask") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_fsd_mask") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_mask") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_mask_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_fsd_mask") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_fsd_mask_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_he_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_he_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_he_flt") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_he_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_he_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_he_flt_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_cplr_tmp_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_mask_cplr_tmp_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_cplr_tmp_flt") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_cplr_tmp_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_mask_cplr_tmp_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_cplr_tmp_flt_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_he_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_mask_he_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_he_flt") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_he_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_mask_he_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_he_flt_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_stp_tmp_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_mask_stp_tmp_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_stp_tmp_flt") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_stp_tmp_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_mask_stp_tmp_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_stp_tmp_flt_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_vac_flt") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_mask_vac_flt") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_vac_flt") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_vac_flt_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_mask_vac_flt") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_mask_vac_flt_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_mastr_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_mastr_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_mastr_flt_clr") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_mastr_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_mastr_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_mastr_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_flt_clr") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_0") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_0") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_0") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_0_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_0") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_0_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_1") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_2") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_3") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_3") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_3") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_3_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_3") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_3_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_4") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_4") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_4") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_4_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_4") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_4_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_5") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_5") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_5") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_5_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_5") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_5_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_6") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_6") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_6") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_6_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_6") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_6_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_7") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_stp_tmp_limit_7") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_7") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_7_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_stp_tmp_limit_7") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_stp_tmp_limit_7_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_ilock_dsp_vac_flt_clr") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ilock_dsp_vac_flt_clr") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_ilock_dsp_vac_flt_clr") } record(longin, "$(CM,undefined)00:RESB:reg_ilock_dsp_vac_flt_clr_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=ilock_dsp_vac_flt_clr") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_ilock_dsp_vac_flt_clr_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_periph_config") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=periph_config") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_periph_config") } record(longin, "$(CM,undefined)00:RESB:reg_periph_config_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=periph_config") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_periph_config_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_qsfp_i2c_reg") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=qsfp_i2c_reg") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_qsfp_i2c_reg") } record(longin, "$(CM,undefined)00:RESB:reg_qsfp_i2c_reg_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=qsfp_i2c_reg") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_qsfp_i2c_reg_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_ack") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_chan_keep") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_detune_source_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_igain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_igain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_irate") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_irate_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_acc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_cntl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_drvI") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_steps") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_sub_stp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_vlcty") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_am") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_fm") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_ctl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac1") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac2") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_hw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_lw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pgain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pgain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_insrc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_0_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_0_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_ack") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_chan_keep") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_detune_source_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_igain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_igain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_irate") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_irate_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_acc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_cntl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_drvI") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_steps") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_sub_stp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_vlcty") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_am") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_fm") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_ctl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac1") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac2") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_hw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_lw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pgain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pgain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_insrc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_1_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_1_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_ack") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_chan_keep") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_detune_source_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_igain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_igain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_irate") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_irate_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_acc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_cntl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_drvI") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_steps") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_sub_stp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_vlcty") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_am") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_fm") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_ctl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac1") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac2") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_hw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_lw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pgain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pgain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_insrc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_2_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_2_pzt_power_limit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_ack") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_buf_ack") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_ack") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_ack_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_buf_ack") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_ack_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_buf_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_buf_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_buf_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_chan_keep") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_chan_keep") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_chan_keep") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_chan_keep_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_chan_keep") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_chan_keep_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_counts") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_bias_counts") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_counts") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_counts_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_bias_counts") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_counts_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_bias_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_bias_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_bias_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_max") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_dac_max") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_max") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_max_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_dac_max") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_max_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_min") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_dac_min") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_min") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_min_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_dac_min") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_min_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_sp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_dac_sp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_sp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_sp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_dac_sp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_dac_sp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_fnal_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_fnal_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_fnal_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_fnal_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_fnal_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_int_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_int_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_int_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_int_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_int_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_int_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_ctrl_control") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_lbnl_ctrl_control") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_ctrl_control") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_ctrl_control_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_lbnl_ctrl_control") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_ctrl_control_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_llimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_llimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_llimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_llimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_llimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_llimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_ulimit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_ulimit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_ulimit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_ulimit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_ctrl_ulimit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_ulimit_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_detune_source_select") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_detune_source_select") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_detune_source_select") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_detune_source_select_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_detune_source_select") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_detune_source_select_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_igain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_igain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_igain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_igain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_igain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_igain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_integ5_sign_flip") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_integ5_sign_flip") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_integ5_sign_flip") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_integ5_sign_flip_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_integ5_sign_flip") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_integ5_sign_flip_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_irate") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_irate") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_irate") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_irate_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_irate") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_irate_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_acc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_acc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_acc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_acc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_acc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_acc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_cntl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_cntl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_cntl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_cntl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_cntl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_cntl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_drvI") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_drvI") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_drvI") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_drvI_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_drvI") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_drvI_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_steps") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_steps") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_steps") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_steps_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_steps") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_steps_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_sub_stp") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_sub_stp") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_sub_stp") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_sub_stp_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_sub_stp") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_sub_stp_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_vlcty") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_m_vlcty") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_vlcty") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_vlcty_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_m_vlcty") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_m_vlcty_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_am") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_nco_am") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_am") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_am_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_nco_am") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_am_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_high") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_nco_dphase_high") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_high") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_high_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_nco_dphase_high") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_high_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_low") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_nco_dphase_low") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_low") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_low_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_nco_dphase_low") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_dphase_low_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_fm") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_nco_fm") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_fm") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_fm_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_nco_fm") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_nco_fm_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_ctl") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_p_ctl") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_ctl") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_ctl_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_p_ctl") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_ctl_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac1") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_p_dac1") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac1") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac1_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_p_dac1") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac1_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac2") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_p_dac2") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac2") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac2_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_p_dac2") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_dac2_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_hw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_p_hw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_hw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_hw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_p_hw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_hw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_lw") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_p_lw") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_lw") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_lw_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_p_lw") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_p_lw_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pgain") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_pgain") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pgain") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pgain_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_pgain") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pgain_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_insrc") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_pzt_insrc") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_insrc") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_insrc_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_pzt_insrc") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_insrc_RBV") } record(longout, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_power_limit") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_pzt_power_limit") field(PINI, "YES") info(autosaveFields_pass0, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_power_limit") } record(longin, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_power_limit_RBV") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=rc_dsp_3_pzt_power_limit") field(SCAN, "$(REGSCAN,undefined)") field(TSE , "-2") info(feed:info:input, "$(CM,undefined)00:RESB:reg_rc_dsp_3_pzt_power_limit_RBV") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_0_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_1_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_2_ctrl_lbnl_pzt_arc_resonator_prop_const") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_dot_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_outer_prod_k_out") } record(aao, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const offset=0") field(FTVL, "LONG") field(NELM, "1024") field(PINI, "YES") info(autosaveFields_pass1, "VAL") info(feed:info:output, "$(CM,undefined)00:RESB:reg_rc_dsp_3_ctrl_lbnl_pzt_arc_resonator_prop_const") } # Per-device for PRC chassis # # Macros: # BASE - Our record prefix # CTRL - prefix used with feed_base.template # # JSON __metadata__ record(longin, "$(CM,undefined)00:RESB:SLOWABI") { field(DTYP, "FEED __metadata__") field(INP , "@name=resb reg=slow_abi_ver default=0") field(SCAN, "I/O Intr") # on connect } # status monitoring # Read-only register clk_status_out: # 0: immediately after bitfile load, or after clock lost; needs setup # 1: transitional value during setup, system check in progress # 2: setup process completed successfully, data valid record(mbbi, "$(CM,undefined)00:RESB:CLK_STATUS") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=clk_status_out") field(SCAN, "1 second") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(ZRSV, "MAJOR") field(ONSV, "MAJOR") field(ZRST, "Invalid") field(ONST, "In Init") field(TWST, "Valid") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RESB:CLKCHK_") } # force driver into Error state, and disable polling, # when FPGA found in unconfigured state. record(calcout, "$(CM,undefined)00:RESB:CLKCHK_") { field(INPA, "$(CM,undefined)00:RESB:CLK_STATUS NPP MSI") field(IVOA, "Don't drive outputs") # INVALID == timeout, handled elsewhere field(CALC, "A") field(OOPT, "When Zero") field(OUT , "$(CM,undefined)00:RESB:CLKERR_.PROC PP") } record(stringout, "$(CM,undefined)00:RESB:CLKERR_") { field(DTYP, "FEED Force Error") field(OUT , "@name=resb") field(VAL , "Need Init") } record(calc, "$(CM,undefined)00:RESB:AGG_STS_") { field(INPA, "$(CM,undefined)00:RESB:CTRL_BASESTATUS_.SEVR CP MSS") field(INPB, "$(CM,undefined)00:RESB:CLK_STATUS.SEVR CP MSS") # CALC must do something with all inputs to run the MS logic # VAL is ignored field(CALC, "A+B") field(FLNK, "$(CM,undefined)00:RESB:STATUS") } record(stringin, "$(CM,undefined)00:RESB:STATUS") { field(INP , "$(CM,undefined)00:RESB:AGG_STS_.SEVR NPP MSS") } # TODO: consider alarms and initialization behavior record(mbbi, "$(CM,undefined)00:RESB:DF_FC_SRC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cfreq_src_sel") field(TSE , "-2") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") info(feed:info:setting, "$(CM,undefined)00:RESB:DF_FC_SRC_RBV") } record(mbbo, "$(CM,undefined)00:RESB:DF_FC_SRC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cfreq_src_sel") field(ZRVL, "0") field(ZRST, "Loopback") field(ONVL, "1") field(ONST, "Forward") field(TWVL, "2") field(TWST, "Reverse") field(THVL, "3") field(THST, "Cavity") field(VAL, "3") info(autosaveFields, "VAL") info(feed:info:setting, "$(CM,undefined)00:RESB:DF_FC_SRC") } record(longin, "$(CM,undefined)00:RESB:CCR0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr0_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR0_STAT") } record(longin, "$(CM,undefined)00:RESB:CCR0_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr0_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR0_CNT") } record(longout, "$(CM,undefined)00:RESB:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cc_loc") info(feed:info:setting, "$(CM,undefined)00:RESB:CC_LOC") } record(longin, "$(CM,undefined)00:RESB:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cc_loc") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RESB:CCR0_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr0_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR0_REVID") } record(bo, "$(CM,undefined)00:RESB:CCR0_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RESB:CCR0_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RESB:CCR0_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ccr0_error_clear") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RESB:CCR0_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cc0_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RESB:CCR1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr1_summary") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR1_STAT") } record(longin, "$(CM,undefined)00:RESB:CCR1_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr1_counts") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR1_CNT") } record(longout, "$(CM,undefined)00:RESB:CC_LOC") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cc_loc") info(feed:info:setting, "$(CM,undefined)00:RESB:CC_LOC") } record(longin, "$(CM,undefined)00:RESB:CC_LOC_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cc_loc") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CC_LOC_RBV") } record(longin, "$(CM,undefined)00:RESB:CCR1_REVID") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr1_rev_id") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR1_REVID") } record(bo, "$(CM,undefined)00:RESB:CCR1_ERROR_RESET") { field(DESC, "Reset rcvr comm errors wrt RFS") field(ZNAM, "Reset") field(ONAM, "Reset") field(VAL, "1") field(HIGH, "0.5") field(PINI, "NO") field(OUT, "$(CM,undefined)00:RESB:CCR1_ERRORCLR PP") } record(longout, "$(CM,undefined)00:RESB:CCR1_ERRORCLR") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=ccr1_error_clear") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR_ERRORCLR") } record(longin, "$(CM,undefined)00:RESB:CCR1_ERRORCLR_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cc1_error_clear") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR_ERRORCLR_RBV") } record(longin, "$(CM,undefined)00:RESB:CCR0_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr0_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR0_CAV0_STAT") } record(longin, "$(CM,undefined)00:RESB:CCR0_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr0_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR0_CAV1_STAT") } record(longin, "$(CM,undefined)00:RESB:CCR1_CAV0_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr1_cavity0_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR1_CAV0_STAT") } record(longin, "$(CM,undefined)00:RESB:CCR1_CAV1_STAT") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=ccr1_cavity1_status") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCR1_CAV1_STAT") } record(longout, "$(CM,undefined)00:RESB:CCT_CAV0_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_0_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV0_STAT_AUX") } record(longin, "$(CM,undefined)00:RESB:CCT_CAV0_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cct_cavity_0_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV0_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESB:CCT_CAV1_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_1_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV1_STAT_AUX") } record(longin, "$(CM,undefined)00:RESB:CCT_CAV1_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cct_cavity_1_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV1_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESB:CCT_CAV2_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_2_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV2_STAT_AUX") } record(longin, "$(CM,undefined)00:RESB:CCT_CAV2_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cct_cavity_2_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV2_STAT_AUX_RBV") } record(longout, "$(CM,undefined)00:RESB:CCT_CAV3_STAT_AUX") { field(DTYP, "FEED Register Write") field(OUT , "@name=resb reg=cct_cavity_3_status_aux") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV3_STAT_AUX") } record(longin, "$(CM,undefined)00:RESB:CCT_CAV3_STAT_AUX_RBV") { field(DTYP, "FEED Register Read") field(SCAN, "1 second") field(INP , "@name=resb reg=cct_cavity_3_status_aux") field(TSE , "-2") info(feed:info:setting, "$(CM,undefined)00:RESB:CCT_CAV3_STAT_AUX_RBV") } #================================== #---------------------------------- # rfChas.template: # # Support for a single chassis # # Instantiate once per rack # and once per RF chassis # # PREF is name of single chassis # or a single rack #---------------------------------- #================================== #================================== # "Mailbox" PVs requested by # Larry Doolittle to host data # determined by external python # scripts: # Rack or cavity station self-test status #================================== record(mbbi, "$(CM,undefined)00:RESB:SELFTEST_STAT") { field(DESC, "Self test status") field(SCAN, "Passive") field(ZRST, "Fail") field(ONST, "Pass") field(TWST, "Running") field(ZRSV, "MAJOR") field(ONSV, "NO_ALARM") field(TWSV, "MINOR") field(ZRVL, "0") field(ONVL, "1") field(TWVL, "2") field(VAL, "1") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RESB:TESTSTAT") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RESB:SELFTEST_STAT_") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=SELFTEST_STAT") info(feed:info:input, "$(CM,undefined)00:RESB:SELFTEST_STAT") info(feed:info:output, "$(CM,undefined)00:RESB:SELFTEST_STAT") } record(stringin, "$(CM,undefined)00:RESB:SELFTEST_MSG") { field(DESC, "Self test message") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") alias("$(CM,undefined)00:RESB:TESTMSG") } # Dummy PV to allow python API to access actual PV record(longin, "$(CM,undefined)00:RESB:SELFTEST_MSG_") { field(DTYP, "FEED Register Read") field(INP , "@name=resb reg=SELFTEST_MSG") info(feed:info:input, "$(CM,undefined)00:RESB:SELFTEST_MSG") info(feed:info:output, "$(CM,undefined)00:RESB:SELFTEST_MSG") } #================================== # CRC error counts and status #================================== record(longin, "$(CM,undefined)00:RESB:CRCERR_CNT") { field(DTYP, "FEED Register Read") field(SCAN, "$(REGSCAN,undefined)") field(INP , "@name=resb reg=crc_errors") field(TSE , "-2") field(FLNK, "$(CM,undefined)00:RESB:CRCERR_CHK") info(feed:info:setting, "$(CM,undefined)00:RESB:CRCERR_CNT") } record(calc, "$(CM,undefined)00:RESB:CRCERR_CHK") { field(CALC, "A=B?1:0") field(INPA, "$(CM,undefined)00:RESB:CRCERR_CNT MS") field(INPB, "$(CM,undefined)00:RESB:CRCERR_CHK.LA") field(FLNK, "$(CM,undefined)00:RESB:CRCERR_STAT") } record(bi, "$(CM,undefined)00:RESB:CRCERR_STAT") { field(DESC, "CRC error status") field(INP , "$(CM,undefined)00:RESB:CRCERR_CHK MS") field(ZNAM, "Fault") field(ZSV, "MAJOR") field(ONAM, "Ok") }