From 50c694b916e499d7bb1b84baab0609d3f905d4f2 Mon Sep 17 00:00:00 2001 From: rivers Date: Thu, 1 Jul 2010 22:29:36 +0000 Subject: [PATCH] New file for Apex2 detector git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@11229 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/op/adl/Apex2.adl | 1703 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1703 insertions(+) create mode 100644 ADApp/op/adl/Apex2.adl diff --git a/ADApp/op/adl/Apex2.adl b/ADApp/op/adl/Apex2.adl new file mode 100644 index 0000000..ba1fe8f --- /dev/null +++ b/ADApp/op/adl/Apex2.adl @@ -0,0 +1,1703 @@ + +file { + name="/home/epics/devel/areaDetector/ADApp/op/adl/Apex2.adl" + version=030102 +} +display { + object { + x=173 + y=-22 + width=700 + height=990 + } + clr=14 + bclr=4 + cmap="" + gridSpacing=5 + gridOn=0 + snapToGrid=0 +} +"color map" { + ncolors=65 + colors { + ffffff, + ececec, + dadada, + c8c8c8, + bbbbbb, + aeaeae, + 9e9e9e, + 919191, + 858585, + 787878, + 696969, + 5a5a5a, + 464646, + 2d2d2d, + 000000, + 00d800, + 1ebb00, + 339900, + 2d7f00, + 216c00, + fd0000, + de1309, + be190b, + a01207, + 820400, + 5893ff, + 597ee1, + 4b6ec7, + 3a5eab, + 27548d, + fbf34a, + f9da3c, + eeb62b, + e19015, + cd6100, + ffb0ff, + d67fe2, + ae4ebc, + 8b1a96, + 610a75, + a4aaff, + 8793e2, + 6a73c1, + 4d52a4, + 343386, + c7bb6d, + b79d5c, + a47e3c, + 7d5627, + 58340f, + 99ffff, + 73dfff, + 4ea5f9, + 2a63e4, + 0a00b8, + ebf1b5, + d4db9d, + bbc187, + a6a462, + 8b8239, + 73ff6b, + 52da3b, + 3cb420, + 289315, + 1a7309, + } +} +rectangle { + object { + x=100 + y=4 + width=500 + height=25 + } + "basic attribute" { + clr=2 + } +} +text { + object { + x=158 + y=5 + width=384 + height=25 + } + "basic attribute" { + clr=54 + } + textix="APEX2 Detector Control - $(P)$(R)" + align="horiz. centered" +} +composite { + object { + x=472 + y=207 + width=105 + height=21 + } + "composite name"="" + children { + rectangle { + object { + x=472 + y=207 + width=105 + height=21 + } + "basic attribute" { + clr=2 + } + } + } +} +rectangle { + object { + x=345 + y=205 + width=350 + height=320 + } + "basic attribute" { + clr=14 + fill="outline" + } +} +text { + object { + x=452 + y=208 + width=157 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Collect" + align="horiz. centered" +} +text { + object { + x=370 + y=329 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image mode" + align="horiz. right" +} +menu { + object { + x=476 + y=329 + width=120 + height=20 + } + control { + chan="$(P)$(R)ImageMode" + clr=14 + bclr=51 + } +} +text { + object { + x=370 + y=354 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Frame type" + align="horiz. right" +} +menu { + object { + x=476 + y=354 + width=120 + height=20 + } + control { + chan="$(P)$(R)FrameType" + clr=14 + bclr=51 + } +} +text { + object { + x=361 + y=304 + width=160 + height=20 + } + "basic attribute" { + clr=14 + } + textix="# Images counter" + align="horiz. right" +} +"text update" { + object { + x=596 + y=305 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)NumImagesCounter_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=381 + y=254 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Acquire period" + align="horiz. right" +} +"text entry" { + object { + x=530 + y=254 + width=59 + height=20 + } + control { + chan="$(P)$(R)AcquirePeriod" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=596 + y=255 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)AcquirePeriod_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=391 + y=229 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Exposure time" + align="horiz. right" +} +"text entry" { + object { + x=530 + y=229 + width=59 + height=20 + } + control { + chan="$(P)$(R)AcquireTime" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=596 + y=230 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)AcquireTime_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=601 + y=331 + width=90 + height=18 + } + monitor { + chan="$(P)$(R)ImageMode_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +"text update" { + object { + x=601 + y=356 + width=90 + height=18 + } + monitor { + chan="$(P)$(R)FrameType_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +rectangle { + object { + x=303 + y=601 + width=105 + height=21 + } + "basic attribute" { + clr=2 + } +} +text { + object { + x=276 + y=601 + width=157 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Status" + align="horiz. centered" +} +composite { + object { + x=403 + y=637 + width=216 + height=20 + } + "composite name"="" + children { + text { + object { + x=403 + y=637 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Time remaining" + align="horiz. right" + } + "text update" { + object { + x=552 + y=638 + width=67 + height=18 + } + monitor { + chan="$(P)$(R)TimeRemaining_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +text { + object { + x=394 + y=499 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image counter" + align="horiz. right" +} +"text update" { + object { + x=596 + y=500 + width=90 + height=18 + } + monitor { + chan="$(P)$(R)ArrayCounter_RBV" + clr=54 + bclr=4 + } + limits { + } +} +"text entry" { + object { + x=530 + y=499 + width=60 + height=20 + } + control { + chan="$(P)$(R)ArrayCounter" + clr=14 + bclr=51 + } + limits { + } +} +text { + object { + x=518 + y=454 + width=99 + height=20 + } + "basic attribute" { + clr=63 + } + "dynamic attribute" { + vis="if zero" + calc="A" + chan="$(P)$(R)Acquire" + } + textix="Done" + align="horiz. centered" +} +text { + object { + x=518 + y=454 + width=99 + height=20 + } + "basic attribute" { + clr=30 + } + "dynamic attribute" { + vis="if not zero" + calc="A" + chan="$(P)$(R)Acquire" + } + textix="Collecting" + align="horiz. centered" +} +"message button" { + object { + x=504 + y=474 + width=59 + height=20 + } + control { + chan="$(P)$(R)Acquire" + clr=14 + bclr=51 + } + label="Start" + press_msg="1" +} +text { + object { + x=410 + y=474 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Acquire" + align="horiz. right" +} +"message button" { + object { + x=571 + y=474 + width=59 + height=20 + } + control { + chan="$(P)$(R)Acquire" + clr=14 + bclr=51 + } + label="Stop" + press_msg="0" +} +text { + object { + x=348 + y=429 + width=150 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Array callbacks" + align="horiz. right" +} +menu { + object { + x=506 + y=429 + width=90 + height=20 + } + control { + chan="$(P)$(R)ArrayCallbacks" + clr=14 + bclr=51 + } +} +"text update" { + object { + x=601 + y=430 + width=90 + height=18 + } + monitor { + chan="$(P)$(R)ArrayCallbacks_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +text { + object { + x=350 + y=404 + width=120 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Trigger mode" + align="horiz. right" +} +menu { + object { + x=476 + y=404 + width=120 + height=20 + } + control { + chan="$(P)$(R)TriggerMode" + clr=14 + bclr=51 + } +} +"text update" { + object { + x=601 + y=405 + width=90 + height=18 + } + monitor { + chan="$(P)$(R)TriggerMode_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +composite { + object { + x=5 + y=35 + width=335 + height=215 + } + "composite name"="" + "composite file"="ADSetup.adl" +} +composite { + object { + x=345 + y=35 + width=350 + height=165 + } + "composite name"="" + "composite file"="ADShutter.adl" +} +composite { + object { + x=5 + y=255 + width=335 + height=80 + } + "composite name"="" + "composite file"="ADPlugins.adl" +} +composite { + object { + x=345 + y=530 + width=350 + height=60 + } + "composite name"="" + "composite file"="ADAttrFile.adl" +} +rectangle { + object { + x=119 + y=342 + width=107 + height=21 + } + "basic attribute" { + clr=2 + } +} +rectangle { + object { + x=5 + y=340 + width=335 + height=185 + } + "basic attribute" { + clr=14 + fill="outline" + } +} +text { + object { + x=93 + y=343 + width=159 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Readout" + align="horiz. centered" +} +text { + object { + x=179 + y=370 + width=10 + height=20 + } + "basic attribute" { + clr=14 + } + textix="X" + align="horiz. right" +} +text { + object { + x=272 + y=370 + width=10 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Y" + align="horiz. right" +} +composite { + object { + x=14 + y=395 + width=294 + height=20 + } + "composite name"="" + children { + text { + object { + x=14 + y=395 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Detector Size" + align="horiz. right" + } + "text update" { + object { + x=154 + y=396 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MaxSizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=247 + y=396 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MaxSizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +text { + object { + x=441 + y=279 + width=80 + height=20 + } + "basic attribute" { + clr=14 + } + textix="# Images" + align="horiz. right" +} +"text entry" { + object { + x=530 + y=279 + width=59 + height=20 + } + control { + chan="$(P)$(R)NumImages" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=596 + y=280 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)NumImages_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=441 + y=379 + width=80 + height=20 + } + "basic attribute" { + clr=14 + } + textix="# Darks" + align="horiz. right" +} +"text entry" { + object { + x=530 + y=379 + width=59 + height=20 + } + control { + chan="$(P)$(R)NumDarks" + clr=14 + bclr=51 + } + limits { + } +} +"text update" { + object { + x=596 + y=380 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)NumDarks_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +rectangle { + object { + x=5 + y=595 + width=690 + height=150 + } + "basic attribute" { + clr=14 + fill="outline" + } +} +composite { + object { + x=49 + y=637 + width=267 + height=20 + } + "composite name"="" + children { + "text update" { + object { + x=196 + y=638 + width=120 + height=18 + } + monitor { + chan="$(P)$(R)DetectorState_RBV" + clr=16 + bclr=2 + } + clrmod="alarm" + align="horiz. centered" + limits { + } + } + text { + object { + x=49 + y=637 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Detector state" + align="horiz. right" + } + } +} +composite { + object { + x=41 + y=445 + width=268 + height=70 + } + "composite name"="" + children { + composite { + object { + x=41 + y=495 + width=268 + height=20 + } + "composite name"="" + children { + text { + object { + x=41 + y=495 + width=180 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image Size (bytes)" + align="horiz. right" + } + "text update" { + object { + x=248 + y=496 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ArraySize_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } + } + text { + object { + x=44 + y=470 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image Size" + align="horiz. right" + } + "text update" { + object { + x=155 + y=471 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ArraySizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=248 + y=471 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ArraySizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=154 + y=445 + width=60 + height=20 + } + control { + chan="$(P)$(R)BinX" + clr=14 + bclr=51 + } + limits { + } + } + text { + object { + x=74 + y=445 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Binning" + align="horiz. right" + } + "text update" { + object { + x=248 + y=446 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)BinX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +composite { + object { + x=20 + y=757 + width=109 + height=21 + } + "composite name"="" + children { + composite { + object { + x=20 + y=757 + width=109 + height=21 + } + "composite name"="" + children { + rectangle { + object { + x=20 + y=757 + width=109 + height=21 + } + "basic attribute" { + clr=2 + } + } + } + } + text { + object { + x=54 + y=757 + width=41 + height=20 + } + "basic attribute" { + clr=54 + } + textix="File" + align="horiz. centered" + } + } +} +composite { + object { + x=33 + y=956 + width=653 + height=20 + } + "composite name"="" + children { + text { + object { + x=33 + y=956 + width=133 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Last filename" + align="horiz. right" + } + "text update" { + object { + x=175 + y=957 + width=511 + height=18 + } + monitor { + chan="$(P)$(R)FullFileName_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } + } + } +} +text { + object { + x=12 + y=931 + width=153 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Filename format" + align="horiz. right" +} +composite { + object { + x=175 + y=908 + width=164 + height=43 + } + "composite name"="" + children { + "text update" { + object { + x=175 + y=908 + width=164 + height=18 + } + monitor { + chan="$(P)$(R)FileTemplate_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } + } + "text entry" { + object { + x=175 + y=931 + width=164 + height=20 + } + control { + chan="$(P)$(R)FileTemplate" + clr=14 + bclr=51 + } + format="string" + limits { + } + } + } +} +composite { + object { + x=22 + y=883 + width=305 + height=20 + } + "composite name"="" + children { + text { + object { + x=22 + y=883 + width=143 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Auto increment" + align="horiz. right" + } + menu { + object { + x=175 + y=883 + width=66 + height=20 + } + control { + chan="$(P)$(R)AutoIncrement" + clr=14 + bclr=51 + } + } + "text update" { + object { + x=245 + y=884 + width=82 + height=18 + } + monitor { + chan="$(P)$(R)AutoIncrement_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +composite { + object { + x=53 + y=856 + width=270 + height=22 + } + "composite name"="" + children { + text { + object { + x=53 + y=857 + width=112 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Next file #" + align="horiz. right" + } + "text entry" { + object { + x=175 + y=856 + width=61 + height=22 + } + control { + chan="$(P)$(R)FileNumber" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=241 + y=858 + width=82 + height=18 + } + monitor { + chan="$(P)$(R)FileNumber_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +composite { + object { + x=73 + y=808 + width=612 + height=43 + } + "composite name"="" + children { + text { + object { + x=73 + y=831 + width=92 + height=20 + } + "basic attribute" { + clr=14 + } + textix="File name" + align="horiz. right" + } + composite { + object { + x=174 + y=808 + width=511 + height=43 + } + "composite name"="" + children { + "text entry" { + object { + x=174 + y=831 + width=511 + height=20 + } + control { + chan="$(P)$(R)FileName" + clr=14 + bclr=51 + } + format="string" + limits { + } + } + "text update" { + object { + x=174 + y=808 + width=511 + height=18 + } + monitor { + chan="$(P)$(R)FileName_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } + } + } + } + } +} +"text entry" { + object { + x=174 + y=783 + width=511 + height=20 + } + control { + chan="$(P)$(R)FilePath" + clr=14 + bclr=51 + } + format="string" + limits { + } +} +"text update" { + object { + x=174 + y=760 + width=395 + height=18 + } + monitor { + chan="$(P)$(R)FilePath_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +text { + object { + x=73 + y=783 + width=92 + height=20 + } + "basic attribute" { + clr=14 + } + textix="File path" + align="horiz. right" +} +rectangle { + object { + x=5 + y=750 + width=690 + height=235 + } + "basic attribute" { + clr=14 + fill="outline" + } +} +composite { + object { + x=387 + y=931 + width=286 + height=20 + } + "composite name"="" + children { + text { + object { + x=387 + y=931 + width=112 + height=20 + } + "basic attribute" { + clr=14 + } + textix="File format" + align="horiz. right" + } + "text update" { + object { + x=591 + y=932 + width=82 + height=18 + } + monitor { + chan="$(P)$(R)FileFormat_RBV" + clr=54 + bclr=4 + } + limits { + } + } + menu { + object { + x=504 + y=931 + width=82 + height=20 + } + control { + chan="$(P)$(R)FileFormat" + clr=14 + bclr=51 + } + } + } +} +composite { + object { + x=350 + y=883 + width=289 + height=20 + } + "composite name"="" + children { + "related display" { + object { + x=569 + y=883 + width=70 + height=20 + } + display[0] { + label="Ancillary information" + name="marCCDAncillary.adl" + args="P=$(P),R=$(R)" + } + clr=14 + bclr=51 + } + text { + object { + x=350 + y=883 + width=210 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Ancillary information" + align="horiz. right" + } + } +} +composite { + object { + x=575 + y=758 + width=115 + height=20 + } + "composite name"="" + children { + text { + object { + x=575 + y=758 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Exists:" + } + "text update" { + object { + x=650 + y=758 + width=40 + height=20 + } + monitor { + chan="$(P)$(R)FilePathExists_RBV" + clr=14 + bclr=2 + } + clrmod="alarm" + limits { + } + } + } +} +"text update" { + object { + x=183 + y=666 + width=500 + height=13 + } + monitor { + chan="$(P)$(R)StringToServer_RBV" + clr=14 + bclr=51 + } + format="string" + limits { + } +} +text { + object { + x=40 + y=662 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="To BIS server:" + align="horiz. right" +} +"text update" { + object { + x=183 + y=691 + width=500 + height=13 + } + monitor { + chan="$(P)$(R)StringFromServer_RBV" + clr=14 + bclr=51 + } + format="string" + limits { + } +} +text { + object { + x=20 + y=687 + width=160 + height=20 + } + "basic attribute" { + clr=14 + } + textix="From BIS server:" + align="horiz. right" +} +"text update" { + object { + x=183 + y=716 + width=500 + height=13 + } + monitor { + chan="$(P)$(R)BISStatus" + clr=14 + bclr=51 + } + format="string" + limits { + } +} +text { + object { + x=20 + y=712 + width=160 + height=20 + } + "basic attribute" { + clr=14 + } + textix="From BIS status:" + align="horiz. right" +} +text { + object { + x=14 + y=420 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Data Size" + align="horiz. right" +} +"text update" { + object { + x=154 + y=421 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)SizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=247 + y=421 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)SizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +}