diff --git a/ADApp/Db/marCCD.template b/ADApp/Db/marCCD.template index 2c2efb8..fc7bc0d 100644 --- a/ADApp/Db/marCCD.template +++ b/ADApp/Db/marCCD.template @@ -2,6 +2,25 @@ # Mark Rivers # October 31, 2008 +# Status poll. This can normally be Passive, except when ArrayCallbacks is 0 and Overlap is 1. +# In that case the state will appear to be busy when it is idle, and this polling should be +# turned on to avoid confusion + +record(bo,"$(P)$(R)MarReadStatus") { + field(DTYP,"asynInt32") + field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))MAR_READ_STATUS") + field(VAL, "1") + field(SCAN,"Passive") +} + +record(longin,"$(P)$(R)MarState_RBV") { + field(DTYP,"asynInt32") + field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))MAR_STATE") + field(SCAN, "I/O Intr") + field(PINI, "1") + field(DESC,"Task state") +} + # State word record(longin,"$(P)$(R)MarState_RBV") { field(DTYP,"asynInt32")