#Records for all the parameters of the currently installed radiator #If INDEX = 0 no radiator is intalled, and other params have no meaning. record(ai, "$(P)ID"){ } record(ao, "$(P)PARA_YAW"){ field(EGU,"deg") } record(ao, "$(P)PARA_PITCH"){ field(EGU,"deg") } record(ao, "$(P)PERP_YAW"){ field(EGU,"deg") } record(ao, "$(P)PERP_PITCH"){ field(EGU,"deg") } record(ao, "$(P)PHI0"){ field(EGU,"deg") } record(ao, "$(P)THETA"){ } record(ao, "$(P)PHI"){ field(EGU,"deg") } record(ao, "$(P)PHI022"){ field(EGU,"deg") } record(ao, "$(P)PARA_MODE"){ field(VAL,"0") } record(ao, "$(P)PERP_MODE"){ field(VAL,"0") } record(ao, "$(P)COH_INCREMENT"){ field(VAL,"0.001") } record(ao, "$(P)ORTH_INCREMENT"){ field(VAL,"0.01") } record(ao, "$(P)E_BEAM"){ field(EGU,"MeV") } record(ao, "$(P)REQ_PHI022"){ field("VAL", "0") field(EGU,"deg") } record(ao, "$(P)REQ_EDGE"){ field(EGU,"MeV") } record(ao, "$(P)REQ_PARA_PITCH"){ field(EGU,"deg") } record(ao, "$(P)REQ_PARA_YAW"){ field(EGU,"deg") } record(ao, "$(P)REQ_PERP_PITCH"){ field(EGU,"deg") } record(ao, "$(P)REQ_PERP_YAW"){ field(EGU,"deg") } record(ao, "$(P)REQ_PERP_MODE"){ field("VAL", "1") } record(ao, "$(P)REQ_PARA_MODE"){ field("VAL", "1") } record(ao, "$(P)REQ_CMRAD"){ field(EGU,"mrad") field("VAL", "0") } record(ao, "$(P)REQ_CDEG"){ field(EGU,"deg") field("VAL", "0") } record(ao, "$(P)REQ_IDEG"){ field(EGU,"deg") field("VAL", "0") } record(ao, "$(P)REQ_IMRAD"){ field(EGU,"mrad") field("VAL", "0") } record(ao, "$(P)OFF_PITCH"){ } record(ao, "$(P)OFF_YAW"){ } record(ao, "$(P)REQ_OFF_PITCH"){ } record(ao, "$(P)REQ_OFF_YAW"){ } #Check for plane = PARA if PITCH and YAW correct set to 1, else 0. record(calc,"$(P)DIAM_PARA"){ field(SCAN,"1 second") field(INPA,"$(P)PARA_YAW") field(INPB,"$(P)PARA_PITCH") field(INPC,"$(G)RAD:DYAW") field(INPD,"$(G)RAD:DPITCH") field(INPE,"$(G)YAW.RBV") field(INPF,"$(G)PITCH.RBV") field(CALC,"((A-C)