#https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_dbCommon #https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Analog_Input #https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Concepts#Scanning_Specification # CHANNEL ID grecord(longin, "$(CHANNEL_PORT):channel_id") { field(SCAN, "I/O Intr") field(DESC, "Channel ID") field(VAL, "0") field(DTYP, "asynUInt32Digital") field(INP , "@asynMask($(MODULE_PORT), $(LOCAL_CHANNEL), 0xffffffff, 1) CHANNEL_ID") #port, local address (channel), bit-mask (all (mask none)), ??, name alias("$(CHANNEL_NAME):channel_id") } # CHANNEL SCALAR grecord(ai, "$(CHANNEL_PORT):scalar") { field(SCAN, "1 second") field(DESC, "Channel Scalar") field(VAL, "0") field(DTYP, "asynUInt32Digital") field(INP , "@asynMask($(MODULE_PORT), $(LOCAL_CHANNEL), 0xffffffff, 1) SCALAR") #port, local address (channel), bit-mask (all (mask none)), ??, name alias("$(CHANNEL_NAME):scalar") } # CHANNEL SCALAR RATE grecord(ai, "$(CHANNEL_PORT):rate") { field(SCAN, "1 second") field(DESC, "Channel Scalar Rate") # field(PREC, "3") #Floating point precision of field field(VAL, "0.0") field(EGU, "Hz") #Engineering units for the channel field(DTYP, "asynUInt32Digital") field(INP , "@asynMask($(MODULE_PORT), $(LOCAL_CHANNEL), 0xffffffff, 1) RATE") #port, local address (channel), bit-mask (all (mask none)), ??, name alias("$(CHANNEL_NAME):rate") }