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