From cd7a3c6575c8483c54d66bafb83eb75fb0df0642 Mon Sep 17 00:00:00 2001 From: rivers Date: Tue, 29 Apr 2008 00:27:57 +0000 Subject: [PATCH] All records are now part of NDPluginBase git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@7162 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/Db/NDROI.template | 140 +--------------------------------------- 1 file changed, 1 insertion(+), 139 deletions(-) diff --git a/ADApp/Db/NDROI.template b/ADApp/Db/NDROI.template index d26e180..e8cb0af 100644 --- a/ADApp/Db/NDROI.template +++ b/ADApp/Db/NDROI.template @@ -2,144 +2,6 @@ # Mark Rivers # April 22, 2008 -################################################################### -# These records control the connection of the server to # -# an NDArray port and address # -################################################################### -# NDArray port name -record(stringout, "$(P)$(R)NDArrayPort") +record(ai, "$(P)$(R)junk") { - field(DTYP, "asynOctetWrite") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))NDARRAY_PORT") } - -record(stringin, "$(P)$(R)NDArrayPort_RBV") -{ - field(PINI, "1") - field(DTYP, "asynOctetRead") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))NDARRAY_PORT") - field(SCAN, "I/O Intr") -} - -record(longout, "$(P)$(R)NDArrayAddress") -{ - field(DTYP, "asynInt32") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))NDArray_ADDR") -} - -record(longin, "$(P)$(R)NDArrayAddress_RBV") -{ - field(PINI, "1") - field(DTYP, "asynInt32") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))NDArray_ADDR") - field(SCAN, "I/O Intr") -} - -################################################################### -# These records control the minimum time between ROI updates # -################################################################### - -record(ao, "$(P)$(R)MinTime") -{ - field(PINI, "1") - field(DTYP, "asynFloat64") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))ARRAY_UPDATE_TIME") - field(VAL, "0.0") - field(EGU, "s") - field(PREC, "3") -} - -record(ai, "$(P)$(R)MinTime_RBV") -{ - field(PINI, "1") - field(DTYP, "asynFloat64") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))ARRAY_UPDATE_TIME") - field(VAL, "1.0") - field(EGU, "s") - field(PREC, "3") - field(SCAN, "I/O Intr") -} - -################################################################### -# These records control whether callbacks block or not # -################################################################### -record(mbbo, "$(P)$(R)BlockingCallbacks") -{ - field(PINI, "1") - field(DTYP, "asynInt32") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))BLOCKING_CALLBACKS") - field(ZRST, "No") - field(ZRVL, "0") - field(ONST, "Yes") - field(ONVL, "1") -} - -# Array posting flag -record(mbbi, "$(P)$(R)BlockingCallbacks_RBV") -{ -# field(PINI, "1") - field(DTYP, "asynInt32") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))BLOCKING_CALLBACKS") - field(ZRST, "No") - field(ZRVL, "0") - field(ONST, "Yes") - field(ONVL, "1") - field(SCAN, "I/O Intr") -} - - -################################################################### -# These records provide statistics on array callbacks and # -# array callback rates # -################################################################### -record(longout, "$(P)$(R)ArrayCounter") -{ - field(DTYP, "asynInt32") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))ARRAY_COUNTER") -} - -record(longin, "$(P)$(R)ArrayCounter_RBV") -{ - field(PINI, "1") - field(DTYP, "asynInt32") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))ARRAY_COUNTER") - field(SCAN, "I/O Intr") -} - -# This record needs work, because B should reflect the time since last processed -record(calc, "$(P)$(R)ArrayRate_RBV") -{ - field(INPA, "$(P)$(R)ArrayRate_RBV.B NPP NMS") # Previous counter value - field(INPB, "$(P)$(R)ArrayCounter_RBV NPP NMS") # Current counter value - field(INPC, "1.0") # Delta time, needs work - field(CALC, "(B-A)/C") - field(PREC, "1") - field(SCAN, "1 second") -} - -record(longout, "$(P)$(R)DroppedArrays") -{ - field(DTYP, "asynInt32") - field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))DROPPED_ARRAYS") -} - -record(longin, "$(P)$(R)DroppedArrays_RBV") -{ - field(PINI, "1") - field(DTYP, "asynInt32") - field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))DROPPED_ARRAYS") - field(SCAN, "I/O Intr") -} - - -################################################################### -# The asynRecord is used for mainly for trace mask # -################################################################### - -# Set ASYN_TRACEIO_HEX bit by default -record(asyn,"$(P)$(R)AsynIO") -{ - field(PORT, $(PORT)) - field(TIB2,"1") -} -