# EL737 EPICS Database for streamdevice support # Macros # P - Prefix # NAME - just a name, e.g. EL737 # PROTO - Stream device protocol file # ASYN_PORT - Low level Asyn IP Port to EL737 ################################################################################ # Status Variables ################################################################################ # Count Commands record(bo, "$(P):$(NAME):C$(CHANNEL)") { field(DESC, "Clear the current channel count") field(DTYP, "stream") field(OUT, "@$(PROTO) clearChannel($(P):$(NAME):, $(CHANNEL)) $(ASYN_PORT)") } ################################################################################ # Read all monitors values record(longin, "$(P):$(NAME):M$(CHANNEL)") { field(DESC, "Counterbox CH$(CHANNEL)") } record(ai, "$(P):$(NAME):R$(CHANNEL)") { field(DESC, "Counterbox Rate CH$(CHANNEL)") field(INP, "@$(PROTO) readRate($(P):$(NAME):, $(CHANNEL)) $(ASYN_PORT)") field(DTYP, "stream") field(SCAN, "1 second") }