fixes bug, that monitor-channel was being reset on startup
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ record(longout, "$(INSTR)$(NAME):MONITOR-CHANNEL")
|
||||
field(DRVH, "$(CHANNELS)") # Largest Monitor Channel
|
||||
field(DTYP, "stream")
|
||||
field(OUT, "@$(PROTO) writePresetMonitor($(INSTR)$(NAME):) $(ASYN_PORT)")
|
||||
field(FLNK, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
|
||||
field(FLNK, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV.PROC")
|
||||
}
|
||||
|
||||
record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
|
||||
@@ -26,6 +26,7 @@ record(longin, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV")
|
||||
field(DTYP, "stream")
|
||||
field(INP, "@$(PROTO) readPresetMonitor($(INSTR)$(NAME):) $(ASYN_PORT)")
|
||||
field(SCAN, "1 second")
|
||||
field(FLNK, "$(INSTR)$(NAME):CORRECT-MONITOR-CHANNEL.PROC")
|
||||
}
|
||||
|
||||
# Force back to 1 if it is 0, as 0 has no meaning...
|
||||
@@ -35,7 +36,6 @@ record(seq, "$(INSTR)$(NAME):CORRECT-MONITOR-CHANNEL")
|
||||
field(SELL, "$(INSTR)$(NAME):MONITOR-CHANNEL_RBV.VAL NPP")
|
||||
field(DO0, 1)
|
||||
field(LNK0, "$(INSTR)$(NAME):MONITOR-CHANNEL PP")
|
||||
field(SCAN, ".5 second")
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user