#================================================================== # Record example for an IntField, RO, 1 element, no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, without encoding is 0. #================================================================== record(longin, "$(P):$(AMC):AmcClkFreq") { field(DTYP, "asynInt32") field(DESC, "AMC Clock frequency") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)AMC$(AMC):AmcClkFreq") } #================================================================== # Record example for an IntField, RO, 1 element, no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, without encoding is 0. #================================================================== record(longin, "$(P):$(AMC):DSPVers") { field(DTYP, "asynInt32") field(DESC, "System generator core vers") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)AMC$(AMC):Version") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "$(P):$(AMC):AutoRearm") { field(DTYP, "asynUInt32Digital") field(DESC, "Auto rearm") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask($(PORT),1,1)AMC$(AMC):AutoRearm") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for reading back an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bi record with type asynUInt32Digital. # The INP field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bi, "$(P):$(AMC):AutoRearmRBV") { field(DTYP, "asynUInt32Digital") field(DESC, "Auto rearm") field(PINI, "YES") field(SCAN, ".5 second") field(INP, "@asynMask($(PORT),1,1)AMC$(AMC):AutoRearm") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):AddSums0") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):AddSums0") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):AddSums2") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):AddSums2") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):AddSums3") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):AddSums3") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):AddSums4") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):AddSums4") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):AddSums5") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):AddSums5") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):SMOOTHED") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):FinalSumAveraged") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):RAW") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "") field(PREC, "5") field(FLNK, "") field(INP, "@asyn($(PORT),2)AMC$(AMC):FinalSumRaw") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "$(P):$(AMC):BLEN") { field(DTYP, "asynFloat64") field(DESC, "") field(PINI, "YES") field(SCAN, ".5 second") field(EGU, "fs FWHM") field(PREC, "5") field(FLNK, "$(P):$(AMC):BLEN_UMRMS") field(INP, "@asyn($(PORT),2)AMC$(AMC):BLEN") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA0") { field(DTYP, "asynFloat64") field(DESC, "Coef A0 for 1st group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA0") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA1") { field(DTYP, "asynFloat64") field(DESC, "Coef A1 for 2nd group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA1") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA2") { field(DTYP, "asynFloat64") field(DESC, "Coef A2 for 3rd group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA2") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA3") { field(DTYP, "asynFloat64") field(DESC, "Coef A3 Scale 1st group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA3") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA4") { field(DTYP, "asynFloat64") field(DESC, "Coef A4 Scale 2nd group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA4") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefA5") { field(DTYP, "asynFloat64") field(DESC, "Coef A5 Scale 3rd group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefA5") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefAlf0") { field(DTYP, "asynFloat64") field(DESC, "Coef Alf Scale 1st group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefAlf0") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefAlf1") { field(DTYP, "asynFloat64") field(DESC, "Coef Alf Scale 2nd/3rd group") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefAlf1") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefB") { field(DTYP, "asynFloat64") field(DESC, "Coef B") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefB") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefC") { field(DTYP, "asynFloat64") field(DESC, "Coef C") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefC") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefD") { field(DTYP, "asynFloat64") field(DESC, "Coef D") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefD") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefE") { field(DTYP, "asynFloat64") field(DESC, "Coef E") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefE") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefF") { field(DTYP, "asynFloat64") field(DESC, "Coef F") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefF") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefG") { field(DTYP, "asynFloat64") field(DESC, "Coef G") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefG") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefH") { field(DTYP, "asynFloat64") field(DESC, "Coef H") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefH") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "$(P):$(AMC):CoefI") { field(DTYP, "asynFloat64") field(DESC, "Coef I - Offset") field(PINI, "YES") field(SCAN, "Passive") field(PREC, "5") field(OUT, "@asyn($(PORT),3)AMC$(AMC):CoefI") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA0RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A0 for 1st group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA0") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA1RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A1 for 2nd group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA1") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA2RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A2 for 3rd group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA2") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA3RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A3 Scale 1st group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA3") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA4RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A4 Scale 2nd group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA4") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefA5RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef A5 Scale 3rd group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefA5") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefAlf0RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef Alf Scale 1st group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefAlf0") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefAlf1RBV") { field(DTYP, "asynFloat64") field(DESC, "Coef Alf Scale 2nd/3rd group") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefAlf1") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefBRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef B") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefB") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefCRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef C") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefC") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefDRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef D") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefD") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefERBV") { field(DTYP, "asynFloat64") field(DESC, "Coef E") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefE") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefFRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef F") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefF") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefGRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef G") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefG") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefHRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef H") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefH") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "$(P):$(AMC):CoefIRBV") { field(DTYP, "asynFloat64") field(DESC, "Coef I - Offset") field(PINI, "YES") field(SCAN, "1 second") field(PREC, "5") field(INP, "@asyn($(PORT),3)AMC$(AMC):CoefI") info(autosaveFields, "VAL DESC") } #================================================================== # Record example for a SequenceCommand register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register # - MASK : It is always 1 (we only have 1-bit commands) # - ADDR : Address based on the type of register interface. # For SequenceCommand is 4 #================================================================== record(bo, "$(P):$(AMC):InitAmcCard") { field(DTYP, "asynUInt32Digital") field(DESC, "Init JESD modules") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask($(PORT),4,1)AMC$(AMC):InitAmcCard") field(ZNAM, "Run") field(ONAM, "Stop") } #============================================================================ # Record example for an IntField Stream port. # For Stream ports, an additional parameter is automatically created # and the name is generated adding ":16" to the original parameter name # This gives access to the same stream data, but as 16-bit words which # is the case for ADC samples for example. # For this case it is a waveform record with type asynInt16ArrayIn # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. In this case it is # the original parameter name with a suffix ":16". # - ADDR : Address based on the type of register. # For an stream it is 5. #============================================================================ record(waveform, "$(P):$(AMC):IWF") { field(DTYP, "asynInt16ArrayIn") field(DESC, "Integration Window (16-bit)") field(PINI, "NO") field(SCAN, "I/O Intr") field(NELM, "1024") field(FTVL, "SHORT") field(INP, "@asyn($(PORT),5)AMC$(AMC):WeightFunction:16") }