21 lines
571 B
Plaintext
21 lines
571 B
Plaintext
# EPICS Database for streamdevice specific to measurement channels
|
|
#
|
|
# Macros
|
|
# INSTR - Prefix
|
|
# NAME - the device name, e.g. EL737
|
|
# PORT - Stream Generator Port
|
|
# CHANNEL - the number associated with the measurment channel
|
|
|
|
################################################################################
|
|
# Read all monitors values
|
|
|
|
record(longin, "$(INSTR)$(NAME):M$(CHANNEL)")
|
|
{
|
|
field(DESC, "DAQ CH$(CHANNEL)")
|
|
field(EGU, "cts")
|
|
field(DTYP, "asynInt32")
|
|
field(INP, "@asyn($(PORT),0,$(TIMEOUT=1)) COUNTS$(CHANNEL)")
|
|
field(SCAN, "I/O Intr")
|
|
field(PINI, "YES")
|
|
}
|