adds gating stuff, writes all thresholds simultaneously, updates readme with example
This commit is contained in:
@ -28,5 +28,18 @@ record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
|
||||
################################################################################
|
||||
# Count Commands
|
||||
|
||||
# The hardware stores a separate threshold for each channel, which is somewhat
|
||||
# unintuitive for the user, as only one can actually be made use of at a time.
|
||||
# So, we just write the threshold value to all channels when it is changed.
|
||||
record(dfanout,"$(INSTR)$(NAME):THRESHOLD-F")
|
||||
{
|
||||
field(OMSL, "supervisory")
|
||||
field(SELM, "All")
|
||||
field(OUTA, "$(INSTR)$(NAME):THRESH1 PP")
|
||||
field(OUTB, "$(INSTR)$(NAME):THRESH2 PP")
|
||||
field(OUTC, "$(INSTR)$(NAME):THRESH3 PP")
|
||||
field(OUTD, "$(INSTR)$(NAME):THRESH4 PP")
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# Read all monitors values
|
||||
|
Reference in New Issue
Block a user