# EL737 EPICS Database for streamdevice support # Macros # P - Prefix # NAME - just a name, e.g. DAQV2 # PROTO - Stream device protocol file # ASYN_PORT - Low level Asyn IP Port to Counterbox ################################################################################ # Status Variables record(longout, "$(P):$(NAME):MONITOR-CHANNEL") { field(DESC, "PRESET-COUNT Monitors this channel") field(DTYP, "stream") field(OUT, "@$(PROTO) writePresetMonitor($(P):$(NAME):) $(ASYN_PORT)") field(FLNK, "$(P):$(NAME):MONITOR-CHANNEL_RBV") } record(longin, "$(P):$(NAME):MONITOR-CHANNEL_RBV") { field(DESC, "PRESET-COUNT Monitors this channel") field(DTYP, "stream") field(INP, "@$(PROTO) readPresetMonitor($(P):$(NAME):) $(ASYN_PORT)") field(SCAN, "5 second") } ################################################################################ # Count Commands ################################################################################ # Read all monitors values