33 lines
898 B
Plaintext
33 lines
898 B
Plaintext
# EPICS Database for streamdevice support 1st gen systems with 4 channels
|
|
#
|
|
# Macros
|
|
# INSTR - Prefix
|
|
# NAME - the device name, e.g. EL737
|
|
# PROTO - Stream device protocol file
|
|
# ASYN_PORT - Low level Asyn IP Port to DAQ
|
|
|
|
################################################################################
|
|
# Status Variables
|
|
|
|
record(longout, "$(INSTR)$(NAME):MONITOR-CHANNEL")
|
|
{
|
|
field(DESC, "PRESET-COUNT Monitors this channel")
|
|
field(VAL, 1)
|
|
field(DRVL, "1") # Smallest Monitor Channel
|
|
field(DRVH, "1") # Largest Monitor Channel
|
|
field(DISP, 1)
|
|
}
|
|
|
|
record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
|
|
{
|
|
field(DESC, "PRESET-COUNT Monitors this channel")
|
|
field(VAL, 1)
|
|
field(DISP, 1)
|
|
}
|
|
|
|
################################################################################
|
|
# Count Commands
|
|
|
|
################################################################################
|
|
# Read all monitors values
|