From 013e0730fe7bf77e90a5564d943378af3df03f17 Mon Sep 17 00:00:00 2001 From: rivers Date: Sat, 28 Mar 2009 03:08:14 +0000 Subject: [PATCH] Added Abort and NumErased_RBV git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@8700 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/Db/mar345.template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ADApp/Db/mar345.template b/ADApp/Db/mar345.template index e10b371..4708075 100644 --- a/ADApp/Db/mar345.template +++ b/ADApp/Db/mar345.template @@ -6,6 +6,14 @@ # 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)Abort") { + field(DTYP,"asynInt32") + field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))MAR_ABORT") + field(ZNAM,"Done") + field(ONAM,"Abort") + field(VAL, "1") +} + record(busy,"$(P)$(R)Erase") { field(DTYP,"asynInt32") field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))MAR_ERASE") @@ -40,6 +48,13 @@ record(longin, "$(P)$(R)NumErase_RBV") field(SCAN, "I/O Intr") } +record(longin, "$(P)$(R)NumErased_RBV") +{ + field(PINI, "1") + field(DTYP, "asynInt32") + field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))MAR_NUM_ERASED") + field(SCAN, "I/O Intr") +} # Erase mode - none, before, after record(mbbo,"$(P)$(R)EraseMode") {