Commiting state after implementing gating etc before cleaning and refactoring

This commit is contained in:
2025-02-13 16:06:31 +01:00
parent 65d6f681b9
commit d4b111ce6d
9 changed files with 419 additions and 70 deletions

View 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)")
}