Commiting state after implementing gating etc before cleaning and refactoring
This commit is contained in:
26
db/counterbox_simcontrol.db
Normal file
26
db/counterbox_simcontrol.db
Normal file
@@ -0,0 +1,26 @@
|
||||
# Sinq Counterbox EPICS Database for StreamDevice Communication with Simulation
|
||||
# Macros
|
||||
# P - Prefix
|
||||
# NAME - just a name, e.g. EL737
|
||||
# PROTO - Stream device protocol file
|
||||
# ASYN_PORT - Low level Asyn IP Port to EL737
|
||||
|
||||
################################################################################
|
||||
|
||||
record(bo, "$(P):$(NAME):G1")
|
||||
{
|
||||
field(DESC, "Set Gate 1 Low/High")
|
||||
field(ZNAM, "Low")
|
||||
field(ONAM, "High")
|
||||
field(DTYP, "stream")
|
||||
field(OUT, "@$(PROTO) setGate($(P):$(NAME):, 1) $(ASYN_PORT)")
|
||||
}
|
||||
|
||||
record(bo, "$(P):$(NAME):G2")
|
||||
{
|
||||
field(DESC, "Set Gate 2 Low/High")
|
||||
field(ZNAM, "Low")
|
||||
field(ONAM, "High")
|
||||
field(DTYP, "stream")
|
||||
field(OUT, "@$(PROTO) setGate($(P):$(NAME):, 2) $(ASYN_PORT)")
|
||||
}
|
||||
Reference in New Issue
Block a user