SINQSW-107 makes some changes to better cooperate with Nicos

This commit is contained in:
2024-11-13 12:29:24 +01:00
parent 01839b3217
commit 3b660ca560
9 changed files with 101 additions and 64 deletions

View File

@ -11,6 +11,25 @@
################################################################################
# Count Commands
# record(ao,"$(P):$(NAME):THRESHOLD_$(CHANNEL)")
# {
# field(DESC, "Minimum rate for counting to proceed")
# field(VAL, "0") # Rate
# field(DRVL, "0") # Minimum Rate
# field(OMSL, "supervisory")
# field(OROC, "0")
# field(OUT, "@$(PROTO) setMinRate($(P):$(NAME):, $(CHANNEL)) $(ASYN_PORT)")
# field(DTYP, "stream")
# }
#
# record(ai,"$(P):$(NAME):THRESHOLD_$(CHANNEL)_RBV")
# {
# field(DESC, "Minimum rate for counting to proceed")
# field(INP, "@$(PROTO) readMinRate($(P):$(NAME):, $(CHANNEL)) $(ASYN_PORT)")
# field(DTYP, "stream")
# field(SCAN, "1 second")
# }
################################################################################
# Read all monitors values
@ -18,3 +37,11 @@ record(longin, "$(P):$(NAME):M$(CHANNEL)")
{
field(DESC, "Counterbox CH$(CHANNEL)")
}
record(ai, "$(P):$(NAME):R$(CHANNEL)")
{
field(DESC, "Counterbox Rate CH$(CHANNEL)")
field(INP, "@$(PROTO) readRate($(P):$(NAME):, $(CHANNEL)) $(ASYN_PORT)")
field(DTYP, "stream")
field(SCAN, "1 second")
}