low rate status is handled differently in new and old box
Some checks failed
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 9m52s

This commit is contained in:
2025-09-17 13:54:08 +02:00
parent b8406016d2
commit 14214e6151
4 changed files with 22 additions and 1 deletions

View File

@@ -38,6 +38,13 @@ record(seq, "$(INSTR)$(NAME):CORRECT-MONITOR-CHANNEL")
field(SCAN, ".5 second")
}
record(calc, "$(INSTR)$(NAME):RATE_MAP")
{
field(DESC, "Want a consistent lowrate pv")
field(INPA, "$(INSTR)$(NAME):RAW-STATUS.B2 NPP")
field(CALC, "(A=1)?1:0")
}
################################################################################
# Count Commands

View File

@@ -25,6 +25,13 @@ record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
field(DISP, 1)
}
record(calc, "$(INSTR)$(NAME):RATE_MAP")
{
field(DESC, "Want a consistent lowrate pv")
field(INPA, "$(INSTR)$(NAME):RAW-STATUS.B2 NPP")
field(CALC, "(A=0)?1:0")
}
################################################################################
# Count Commands

View File

@@ -25,6 +25,13 @@ record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
field(DISP, 1)
}
record(calc, "$(INSTR)$(NAME):RATE_MAP")
{
field(DESC, "Want a consistent lowrate pv")
field(INPA, "$(INSTR)$(NAME):RAW-STATUS.B2 NPP")
field(CALC, "(A=0)?1:0")
}
################################################################################
# Count Commands

View File

@@ -88,7 +88,7 @@ record(bi, "$(INSTR)$(NAME):COUNTING_PRESET")
record(bi, "$(INSTR)$(NAME):IS_LOWRATE")
{
field(INP, "$(INSTR)$(NAME):RAW-STATUS.B2")
field(INP, "$(INSTR)$(NAME):RATE_MAP PP")
field(ZNAM, "LOW RATE")
field(ONAM, "GOOD RATE")
}