grecord(waveform, "$(PREF):$(PLANE):rate") { field(NELM, "64") field(FTVL, "DOUBLE") field(DTYP, "Soft Channel") alias("$(PREF)_$(PLANE)") } grecord(waveform, "$(PREF):$(PLANE):gain") { field(NELM, "64") field(FTVL, "DOUBLE") field(DTYP, "Soft Channel") alias("$(PREF)_$(PLANE)_gain") } grecord(waveform, "$(PREF):$(PLANE):disable") { field(NELM, "64") field(FTVL, "DOUBLE") field(DTYP, "Soft Channel") alias("$(PREF)_$(PLANE)_disable") } grecord(waveform, "$(PREF):$(PLANE):lbl") { field(NELM, "64") field(FTVL, "DOUBLE") field(DTYP, "Soft Channel") alias("$(PREF)_$(PLANE)_lbl") } grecord(ao,"$(PREF):$(PLANE):mean") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_mean_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):d_mean") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_d_mean_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):width") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_width_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):d_width") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_d_width_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):max") { field(PREC, "4") field(EGU,"counts") alias("$(PREF)_max_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):d_max") { field(PREC, "4") field(EGU,"counts") alias("$(PREF)_d_max_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):bkg") { field(PREC, "4") field(EGU,"counts") alias("$(PREF)_back_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):d_bkg") { field(PREC, "4") field(EGU,"counts") alias("$(PREF)_d_back_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):avg") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_avg_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):rms") { field(PREC, "4") field(EGU,"mm") alias("$(PREF)_rms_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):photons") { field(PREC, "4") field(EGU,"photons") alias("$(PREF)_photons_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):d_photons") { field(PREC, "4") field(EGU,"photons") alias("$(PREF)_d_photons_$(PLANE)") } grecord(ao,"$(PREF):$(PLANE):total_rate") { field(PREC, "4") field(EGU,"Hz") alias("$(PREF)_total_rate_$(PLANE)") } # Define the waveforms for time slices grecord(waveform,"$(PREF):$(PLANE):mean_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") # field(FLNK, "$(PREF):$(PLANE):mean_fft") } grecord(waveform,"$(PREF):$(PLANE):width_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF):$(PLANE):max_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF):$(PLANE):photons_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF):$(PLANE):bkg_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") } grecord(waveform,"$(PREF):$(PLANE):sum_wf") { field(NELM, "$(NSLICES)") field(LOPR, "1") field(HOPR, "$(NSLICES)") field(FTVL, "DOUBLE") }