diff --git a/ADApp/Db/NDROIN.template b/ADApp/Db/NDROIN.template index 1067daa..8aa15c1 100644 --- a/ADApp/Db/NDROIN.template +++ b/ADApp/Db/NDROIN.template @@ -174,6 +174,63 @@ record(longin, "$(P)$(R)ImageSizeY_RBV") field(SCAN, "I/O Intr") } +################################################################### +# These records control the data type of the array data # +# The last entry is "Automatic" meaning preserve the data type # +# of the input array. # +################################################################### + +record(mbbo, "$(P)$(R)DataType") +{ + field(PINI, "1") + field(DTYP, "asynInt32") + field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))DATA_TYPE") + field(ZRST, "Int8") + field(ZRVL, "0") + field(ONST, "UInt8") + field(ONVL, "1") + field(TWST, "Int16") + field(TWVL, "2") + field(THST, "UInt16") + field(THVL, "3") + field(FRST, "Int32") + field(FRVL, "4") + field(FVST, "UInt32") + field(FVVL, "5") + field(SXST, "Float32") + field(SXVL, "6") + field(SVST, "Float64") + field(SVVL, "7") + field(EIST, "Automatic") + field(EIVL, "-1") +} + +record(mbbi, "$(P)$(R)DataType_RBV") +{ + field(DTYP, "asynInt32") + field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))DATA_TYPE") + field(ZRST, "Int8") + field(ZRVL, "0") + field(ONST, "UInt8") + field(ONVL, "1") + field(TWST, "Int16") + field(TWVL, "2") + field(THST, "UInt16") + field(THVL, "3") + field(FRST, "Int32") + field(FRVL, "4") + field(FVST, "UInt32") + field(FVVL, "5") + field(SXST, "Float32") + field(SXVL, "6") + field(SVST, "Float64") + field(SVVL, "7") + field(EIST, "Automatic") + field(EIVL, "-1") + field(SCAN, "I/O Intr") +} + + ################################################################### # These records control whether statistics are computed # ################################################################### @@ -313,6 +370,7 @@ record(ai, "$(P)$(R)HistEntropy_RBV") { field(DTYP, "asynFloat64") field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))HIST_ENTROPY") + field(PREC, "3") field(SCAN, "I/O Intr") } diff --git a/ADApp/Db/NDROIN_settings.req b/ADApp/Db/NDROIN_settings.req index 4c1c797..9327ea5 100644 --- a/ADApp/Db/NDROIN_settings.req +++ b/ADApp/Db/NDROIN_settings.req @@ -9,6 +9,7 @@ $(P)$(R)SizeX $(P)$(R)SizeY $(P)$(R)ReverseX $(P)$(R)ReverseY +$(P)$(R)DataType $(P)$(R)HistSize $(P)$(R)HistMin $(P)$(R)HistMax diff --git a/ADApp/Db/NDROI_settings.req b/ADApp/Db/NDROI_settings.req index 1d88cd6..f77b741 100644 --- a/ADApp/Db/NDROI_settings.req +++ b/ADApp/Db/NDROI_settings.req @@ -1,2 +1 @@ -$(P)$(R)MinTime -$(P)$(R)BlockingCallbacks +# Nothing extra needed beyong NDPluginBase_settings.req for now