# # TOF waveforms to be filled by state codes # grecord(bi,"$(PREF)TOF:SCALER:FILL_FLAG") { field(DESC, "Fill flag for TOF WV ") field(ONAM, "FILL") field(ZNAM, "STOP") field(VAL , "1") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:SCALER:INTERVAL") { field(DESC, "Update time for TOF WV ") field(VAL , "1.0") field(PINI, "YES") } ############################################################# NORTH ############################################################# grecord(stringin,"$(PREF)TOF:N:T:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:N:T:scaler_r2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:N:T:scaler_t1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:N:T:scaler_t2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:N:T:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:N:T:scaler_r2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:N:T:scaler_t1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:N:T:scaler_t2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:N:T:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(stringin,"$(PREF)TOF:N:A:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:N:A:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:N:A:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(ai,"$(PREF)TOF:N:T:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_r2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:A:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_r2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:A:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_r2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:T:scaler_t2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:N:A:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } ############################################################# SOUTH ############################################################# grecord(stringin,"$(PREF)TOF:S:T:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:S:T:scaler_r2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:S:T:scaler_t1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:S:T:scaler_t2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:S:T:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:S:T:scaler_r2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:S:T:scaler_t1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:S:T:scaler_t2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:S:T:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(stringin,"$(PREF)TOF:S:A:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:S:A:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:S:A:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(ai,"$(PREF)TOF:S:T:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_r2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:A:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_r2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:A:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_r2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:T:scaler_t2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:S:A:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } ############################################################# TOP ############################################################# grecord(stringin,"$(PREF)TOF:UP:T:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:UP:T:scaler_r2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:UP:T:scaler_t1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:UP:T:scaler_t2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:UP:T:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:UP:T:scaler_r2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:UP:T:scaler_t1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:UP:T:scaler_t2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:UP:T:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(stringin,"$(PREF)TOF:UP:A:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:UP:A:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:UP:A:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:A:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:A:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_r2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:T:scaler_t2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:UP:A:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } ############################################################# BOTTOM ############################################################# grecord(stringin,"$(PREF)TOF:DW:T:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:DW:T:scaler_r2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:DW:T:scaler_t1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(stringin,"$(PREF)TOF:DW:T:scaler_t2:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:DW:T:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:DW:T:scaler_r2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:DW:T:scaler_t1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:DW:T:scaler_t2_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:DW:T:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(stringin,"$(PREF)TOF:DW:A:scaler_r1:SNL:TEXT") { field(DESC, "STATUS from TOF SNL") } grecord(waveform,"$(PREF)TOF:DW:A:scaler_r1_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF)TOF:DW:A:x_wf") { field(NELM, "46") field(LOPR, "1") field(HOPR, "46") field(FTVL, "DOUBLE") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t2_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:A:scaler_r1_wf_max") { field(DESC, "Max value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t2_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:A:scaler_r1_wf_min") { field(DESC, "Min value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_r2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:T:scaler_t2_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } grecord(ai,"$(PREF)TOF:DW:A:scaler_r1_wf_total") { field(DESC, "Total value of TOF WV") field(VAL , "0.0") field(PINI, "YES") } ############################################################# TOTAL ############################################################# grecord(calc, "$(PREF)TOF:T:scaler_r1_wf_total") { field(INPA, "$(PREF)TOF:DW:T:scaler_r1_wf_total") field(INPB, "$(PREF)TOF:UP:T:scaler_r1_wf_total") field(INPC, "$(PREF)TOF:N:T:scaler_r1_wf_total") field(INPD, "$(PREF)TOF:S:T:scaler_r1_wf_total") field(SCAN, ".2 second") field(CALC, "A+B+C+D") } grecord(calc, "$(PREF)TOF:T:scaler_r2_wf_total") { field(INPA, "$(PREF)TOF:DW:T:scaler_r2_wf_total") field(INPB, "$(PREF)TOF:UP:T:scaler_r2_wf_total") field(INPC, "$(PREF)TOF:N:T:scaler_r2_wf_total") field(INPD, "$(PREF)TOF:S:T:scaler_r2_wf_total") field(SCAN, ".2 second") field(CALC, "A+B+C+D") } grecord(calc, "$(PREF)TOF:T:scaler_t1_wf_total") { field(INPA, "$(PREF)TOF:DW:T:scaler_t1_wf_total") field(INPB, "$(PREF)TOF:UP:T:scaler_t1_wf_total") field(INPC, "$(PREF)TOF:N:T:scaler_t1_wf_total") field(INPD, "$(PREF)TOF:S:T:scaler_t1_wf_total") field(SCAN, ".2 second") field(CALC, "A+B+C+D") } grecord(calc, "$(PREF)TOF:T:scaler_t2_wf_total") { field(INPA, "$(PREF)TOF:DW:T:scaler_t2_wf_total") field(INPB, "$(PREF)TOF:UP:T:scaler_t2_wf_total") field(INPC, "$(PREF)TOF:N:T:scaler_t2_wf_total") field(INPD, "$(PREF)TOF:S:T:scaler_t2_wf_total") field(SCAN, ".2 second") field(CALC, "A+B+C+D") } grecord(calc, "$(PREF)TOF:A:scaler_r1_wf_total") { field(INPA, "$(PREF)TOF:DW:A:scaler_r1_wf_total") field(INPB, "$(PREF)TOF:UP:A:scaler_r1_wf_total") field(INPC, "$(PREF)TOF:N:A:scaler_r1_wf_total") field(INPD, "$(PREF)TOF:S:A:scaler_r1_wf_total") field(SCAN, ".2 second") field(CALC, "A+B+C+D") }