# # Copyright Canadian Light Source, Inc. All rights reserved. # - see licence.txt and licence_CAEN.txt for limitations on use. # # The following are for setting channel parameters # in user space # record( stringout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):name") { field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) ChName") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set") { field( DESC, "Primary voltage setting") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) V0Set") field( PREC, "2") } # init the v0set with v0set:fbk then disable v0set:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:init") { field(DESC, "init v0set from v0set:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set") { field( DESC, "Secondary voltage setting") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) V1Set") field( PREC, "2") } # init the v1set with v1set:fbk then disable v1set:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:init") { field(DESC, "init v1set from v1set:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set") { field( DESC, "Primary current limit") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) I0Set") } # init the i0set with i0set:fbk then disable i0set:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:init") { field(DESC, "init i0set from i0set:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set") { field( DESC, "Secondary current limit") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) I1Set") } # init the i1set with i1set:fbk then disable i1set:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:init") { field(DESC, "init i1set from i1set:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup") { field( DESC, "Voltage ramp-up rate") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) RUp") } # init the rampup with rampup:fbk then disable rampup:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:init") { field(DESC, "init rampup from rampup:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn") { field( DESC, "Voltage ramp-down rate") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) RDWn") } # init the rampdn with rampdn:fbk then disable rampdn:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:init") { field(DESC, "init rampdn from rampdn:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip") { field( DESC, "Trip timeout") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) Trip") } # init the trip with trip:fbk then disable trip:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:init") { field(DESC, "init trip from trip:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax") { field( DESC, "Software voltage limit") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) SVMax") } # init the svmax with svmax:fbk then disable svmax:init record(ao, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:init") { field(DESC, "init svmax from svmax:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff") { field( DESC, "Power on/off") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) Pw") field( ZNAM, "Off") field( ONAM, "On") } # init the pwonoff with pwonoff:fbk then disable pwonoff:init record(bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:init") { field(DESC, "init pwonoff from pwonoff:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode") { field( DESC, "Power-up mode") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) POn") field( ZNAM, "Disable") field( ONAM, "Enable") } # init the pwupmode with pwupmode:fbk then disable pwupmode:init record(bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:init") { field(DESC, "init pwupmode from pwupmode:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode") { field( DESC, "Power-down mode") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) PDwn") field( ZNAM, "KILL") field( ONAM, "Ramp") } # init the pwdnmode with pwdnmode:fbk then disable pwdnmode:init record(bo, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:init") { field(DESC, "init pwdnmode from pwdnmode:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( longout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint") { field( DESC, "Internal trip connections") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) TripInt") } # init the tripint with tripint:fbk then disable tripint:init record(longout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:init") { field(DESC, "init tripint from tripint:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } record( longout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext") { field( DESC, "External trip connections") field( DTYP, "CAEN x527 generic HV Channel") field( OUT, "@$(CHADDR) TripExt") } # init the tripext with tripext:fbk then disable tripext:init record(longout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:init") { field(DESC, "init tripext from tripext:fbk") field(DTYP, "Soft Channel") field(OMSL, "closed_loop") field(DOL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:fbk") field(OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext NPP") field(DISV, "1") # field(DISA, "0") # field(SDIS, "testhv:initao_dis NPP") field(FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:dis") } record(calcout, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:dis") { field(DESC, "disable after init") field( OUT, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:init.DISA NPP") field(CALC, "1") field(OOPT, "Every Time") field(DOPT, "Use CALC") field(ODLY, "20") } # # The following are for monitoring channel parameters (e.g. feedback) # in user space # record( stringin, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):name:fbk") { field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) ChName") field( SCAN, "Event") field( PINI, "1") field( VAL, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM)") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:fbk") { field( DESC, "Primary voltage setting") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) V0Set") field( SCAN, "Event") field( PREC, "2") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v0set:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:fbk") { field( DESC, "Secondary voltage setting") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) V1Set") field( SCAN, "Event") field( PREC, "2") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):v1set:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:fbk") { field( DESC, "Primary current limit") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) I0Set") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i0set:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:fbk") { field( DESC, "Secondary current limit") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) I1Set") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):i1set:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:fbk") { field( DESC, "Voltage ramp-up rate") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) RUp") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampup:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:fbk") { field( DESC, "Voltage ramp-down rate") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) RDWn") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):rampdn:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:fbk") { field( DESC, "Trip timeout") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) Trip") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):trip:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:fbk") { field( DESC, "Software voltage limit") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) SVMax") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):svmax:init") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):hvmax") { field( DESC, "Hardware voltage limit") field( DTYP, "CAEN x527 generic HV Board") field( INP, "@$(CHADDR) HVMax") field( SCAN, "Event") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):vmon") { field( DESC, "Measured voltage") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) VMon") field( SCAN, "Event") field( PREC, "2") } record( ai, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):imon") { field( DESC, "Measured current") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) IMon") field( SCAN, "Event") field( PREC, "2") } record( mbbi, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):status") { field( DESC, "Status") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) Status") field( SCAN, "Event") field( ZRVL, "0") field( ZRST, "Off") field( ONVL, "1") field( ONST, "On") field( TWVL, "2") field( TWST, "Ramping Up") field( THVL, "3") field( THST, "Ramping Down") field( FRVL, "4") field( FRST, "Over-Current") field( FVVL, "5") field( FVST, "Over-Voltage") field( SXVL, "6") field( SXST, "Under-Voltage") field( SVVL, "7") field( SVST, "External Trip") field( EIVL, "8") field( EIST, "Max V") field( NIVL, "9") field( NIST, "Ext. Disable") field( TEVL, "10") field( TEST, "Internal Trip") field( ELVL, "11") field( ELST, "Calib. Error") field( TVVL, "12") field( TVST, "Unplugged") } record( bi, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:fbk") { field( DESC, "Power on/off") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) Pw") field( SCAN, "Event") field( ZNAM, "Off") field( ONAM, "On") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwonoff:init") } record( bi, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:fbk") { field( DESC, "Power-up mode") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) POn") field( SCAN, "Event") field( ZNAM, "Disabled") field( ONAM, "Enabled") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwupmode:init") } record( bi, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:fbk") { field( DESC, "Power-down mode") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) PDwn") field( SCAN, "Event") field( ZNAM, "KILL") field( ONAM, "Ramp") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):pwdnmode:init") } record( longin, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:fbk") { field( DESC, "Internal trip connections") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) TripInt") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripint:init") } record( longin, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:fbk") { field( DESC, "External trip connections") field( DTYP, "CAEN x527 generic HV Channel") field( INP, "@$(CHADDR) TripExt") field( SCAN, "Event") field( FLNK, "$(PREF)$(PSNAME):$(SLOT):$(CHANNUM):tripext:init") }