#================================================================== # 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):FWSEncStat") { field(DTYP, "asynInt32") field(DESC, "Encoder Status") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:EncStat") } #================================================================== # 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):FWSLLimStat") { field(DTYP, "asynInt32") field(DESC, "LLim Status") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:LLimStat") } #================================================================== # 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):ADCStat") { field(DTYP, "asynInt32") field(DESC, "ADC Status") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:Adc0Stat") } #================================================================== # 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):EthStat") { field(DTYP, "asynInt32") field(DESC, "Eth Status") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:EthStat") } #================================================================== # 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):TimingStat") { field(DTYP, "asynInt32") field(DESC, "Timing Status") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:TimingStat") } #================================================================== # 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):ADCConfigStat") { field(DTYP, "asynInt32") field(DESC, "ADCdata config Sts") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)Conf:ADCConfigStat") } #================================================================== # 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):FPGAVER") { field(DTYP, "asynInt32") field(DESC, "FPGA Fimware version") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)AV_FpgaVersion") } #================================================================== # 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):UPTIMECNT") { field(DTYP, "asynInt32") field(DESC, "Uptime in seconds") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn($(PORT),0)AV_UpTimeCnt") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (n-bits) register. # It is a mbbo record with type asynUInt32Digital. # NOTE: This example uses just 2-bits, but you can extended to # use more bits, just add more xxVL and xxST filed accordingly. # You must set a correct number of bits on the field NOBT # 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<