From 76bd080e3c1bd3efe5ebea592532137eafde434b Mon Sep 17 00:00:00 2001 From: rivers Date: Thu, 10 May 2012 19:08:32 +0000 Subject: [PATCH] New file for PSL detectors git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@14734 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/Db/PSL.template | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 ADApp/Db/PSL.template diff --git a/ADApp/Db/PSL.template b/ADApp/Db/PSL.template new file mode 100644 index 0000000..f841f2c --- /dev/null +++ b/ADApp/Db/PSL.template @@ -0,0 +1,60 @@ +# Database for the records specific to the PSL driver +# Mark Rivers +# May 9, 2012 + +# These are the records from ADBase.template that we modify some fields for + +# We replace the file format choices from ADBase.template. +record(mbbo, "$(P)$(R)FileFormat") +{ + field(ZRST, "TIFF") + field(ZRVL, "0") + field(ONST, "JPEG") + field(ONVL, "1") + field(TWST, "BMP") + field(TWVL, "2") + field(THST, "GIF") + field(THVL, "3") + field(FRST, "PNG") + field(FRVL, "4") + field(FVST, "FLF") + field(FVVL, "5") + field(VAL, "0") +} + +record(mbbi, "$(P)$(R)FileFormat_RBV") +{ + field(ZRST, "TIFF") + field(ZRVL, "0") + field(ONST, "JPEG") + field(ONVL, "1") + field(TWST, "BMP") + field(TWVL, "2") + field(THST, "GIF") + field(THVL, "3") + field(FRST, "PNG") + field(FRVL, "4") + field(FVST, "FLF") + field(FVVL, "5") +} + +# These are new records for the PSL detector + +record(waveform, "$(P)$(R)TIFFComment") +{ + field(PINI, "YES") + field(DTYP, "asynOctetWrite") + field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))PSL_TIFF_COMMENT") + field(FTVL, "CHAR") + field(NELM, "256") +} + +record(waveform, "$(P)$(R)TIFFComment_RBV") +{ + field(DTYP, "asynOctetRead") + field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))PSL_TIFF_COMMENT") + field(FTVL, "CHAR") + field(NELM, "256") + field(SCAN, "I/O Intr") +} +