diff --git a/ADApp/op/adl/NDROI.adl b/ADApp/op/adl/NDROI.adl index f413356..df74b03 100644 --- a/ADApp/op/adl/NDROI.adl +++ b/ADApp/op/adl/NDROI.adl @@ -5,10 +5,10 @@ file { } display { object { - x=154 - y=55 - width=390 - height=640 + x=214 + y=151 + width=755 + height=500 } clr=14 bclr=4 @@ -89,10 +89,10 @@ display { } rectangle { object { - x=0 - y=5 - width=390 - height=25 + x=127 + y=9 + width=500 + height=26 } "basic attribute" { clr=2 @@ -100,8 +100,8 @@ rectangle { } text { object { - x=87 - y=6 + x=269 + y=10 width=216 height=25 } @@ -111,223 +111,710 @@ text { textix="$(P)$(R)" align="horiz. centered" } +rectangle { + object { + x=533 + y=41 + width=107 + height=21 + } + "basic attribute" { + clr=2 + } +} +text { + object { + x=507 + y=42 + width=159 + height=20 + } + "basic attribute" { + clr=54 + } + textix="Definition" + align="horiz. centered" +} +rectangle { + object { + x=390 + y=40 + width=360 + height=395 + } + "basic attribute" { + clr=14 + fill="outline" + } +} composite { object { - x=5 - y=495 - width=380 - height=140 + x=395 + y=175 + width=350 + height=255 } "composite name"="" children { rectangle { object { - x=5 - y=495 - width=380 - height=140 + x=395 + y=175 + width=350 + height=255 } "basic attribute" { clr=14 fill="outline" } } - "related display" { - object { - x=172 - y=580 - width=130 - height=20 - } - display[0] { - label="ROI 0" - name="NDROIN.adl" - args="P=$(P), R=$(R)0:" - } - display[1] { - label="ROI 1" - name="NDROIN.adl" - args="P=$(P), R=$(R)1:" - } - display[2] { - label="ROI 2" - name="NDROIN.adl" - args="P=$(P), R=$(R)2:" - } - display[3] { - label="ROI 3" - name="NDROIN.adl" - args="P=$(P), R=$(R)3:" - } - display[4] { - label="ROI 4" - name="NDROIN.adl" - args="P=$(P), R=$(R)4:" - } - display[5] { - label="ROI 5" - name="NDROIN.adl" - args="P=$(P), R=$(R)5:" - } - display[6] { - label="ROI 6" - name="NDROIN.adl" - args="P=$(P), R=$(R)6:" - } - display[7] { - label="ROI 7" - name="NDROIN.adl" - args="P=$(P), R=$(R)7:" - } - clr=14 - bclr=51 - label="Individual ROIs" - } text { object { - x=22 - y=580 - width=140 + x=620 + y=181 + width=10 height=20 } "basic attribute" { clr=14 } - textix="Individual 0-7" + textix="Y" align="horiz. right" } text { object { - x=52 - y=530 - width=110 + x=700 + y=181 + width=10 height=20 } "basic attribute" { clr=14 } - textix="asyn record" + textix="Z" align="horiz. right" } - "related display" { + text { object { - x=172 - y=530 + x=540 + y=181 + width=10 + height=20 + } + "basic attribute" { + clr=14 + } + textix="X" + align="horiz. right" + } + text { + object { + x=402 + y=407 width=100 height=20 } - display[0] { - label="asynRecord" - name="asynRecord.adl" - args="P=$(P),R=$(R)AsynIO" + "basic attribute" { + clr=14 } - clr=14 - bclr=51 + textix="ROI Size" + align="horiz. right" } text { object { - x=12 - y=505 - width=150 + x=432 + y=247 + width=70 height=20 } "basic attribute" { clr=14 } - textix="Highlight ROIs" + textix="Binning" align="horiz. right" } - menu { + text { object { - x=172 - y=505 - width=100 + x=452 + y=292 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix="ROI start" + align="horiz. right" + } + text { + object { + x=462 + y=337 + width=40 + height=20 + } + "basic attribute" { + clr=14 + } + textix="ROI size" + align="horiz. right" + } + text { + object { + x=432 + y=382 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Reverse" + align="horiz. right" + } + "text update" { + object { + x=595 + y=408 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ArraySizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=595 + y=247 + width=60 height=20 } control { - chan="$(P)$(R)Highlight" + chan="$(P)$(R)BinY" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=595 + y=227 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)BinY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=595 + y=292 + width=60 + height=20 + } + control { + chan="$(P)$(R)MinY" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=595 + y=272 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MinY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=595 + y=337 + width=60 + height=20 + } + control { + chan="$(P)$(R)SizeY" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=595 + y=317 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)SizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=595 + y=362 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ReverseY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + menu { + object { + x=595 + y=382 + width=60 + height=18 + } + control { + chan="$(P)$(R)ReverseY" clr=14 bclr=51 } } "text update" { object { - x=278 - y=506 - width=100 + x=675 + y=408 + width=61 height=18 } monitor { - chan="$(P)$(R)Highlight_RBV" + chan="$(P)$(R)ArraySizeZ_RBV" clr=54 bclr=4 } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=675 + y=247 + width=60 + height=20 + } + control { + chan="$(P)$(R)BinZ" + clr=14 + bclr=51 + } limits { } } - "related display" { + "text update" { object { - x=172 - y=607 - width=130 + x=675 + y=227 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)BinZ_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=675 + y=292 + width=60 height=20 } - display[0] { - label="ROIS 1-8" - name="NDROI8.adl" - args="P=$(P),ROI1=$(R)0:,ROI2=$(R)1:,ROI3=$(R)2:,ROI4=$(R)3:,ROI5=$(R)4:,ROI6=$(R)5:,ROI7=$(R)6:,ROI8=$(R)7:," + control { + chan="$(P)$(R)MinZ" + clr=14 + bclr=51 } - display[1] { - label="ROIS 9-16" - name="NDROI8.adl" - args="P=$(P),ROI1=$(R)8:,ROI2=$(R)9:,ROI3=$(R)10:,ROI4=$(R)11:,ROI5=$(R)12:,ROI6=$(R)13:,ROI7=$(R)14:,ROI8=$(R)15:," + limits { } - display[2] { - label="ROIS 17-24" - name="NDROI8.adl" - args="P=$(P),ROI1=$(R)16:,ROI2=$(R)17:,ROI3=$(R)18:,ROI4=$(R)19:,ROI5=$(R)20:,ROI6=$(R)21:,ROI7=$(R)22:,ROI8=$(R)23:," + } + "text update" { + object { + x=675 + y=272 + width=61 + height=18 } - display[3] { - label="ROIS 25-32" - name="NDROI8.adl" - args="P=$(P),ROI1=$(R)24:,ROI2=$(R)25:,ROI3=$(R)26:,ROI4=$(R)27:,ROI5=$(R)28:,ROI6=$(R)29:,ROI7=$(R)30:,ROI8=$(R)31:," + monitor { + chan="$(P)$(R)MinZ_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=675 + y=337 + width=60 + height=20 + } + control { + chan="$(P)$(R)SizeZ" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=675 + y=317 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)SizeZ_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=675 + y=362 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ReverseZ_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + menu { + object { + x=675 + y=382 + width=60 + height=18 + } + control { + chan="$(P)$(R)ReverseZ" + clr=14 + bclr=51 + } + } + "text update" { + object { + x=515 + y=408 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ArraySizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=515 + y=247 + width=60 + height=20 + } + control { + chan="$(P)$(R)BinX" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=515 + y=227 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)BinX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=515 + y=272 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MinX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text entry" { + object { + x=515 + y=292 + width=60 + height=20 + } + control { + chan="$(P)$(R)MinX" + clr=14 + bclr=51 + } + limits { + } + } + "text entry" { + object { + x=515 + y=337 + width=60 + height=20 + } + control { + chan="$(P)$(R)SizeX" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=515 + y=317 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)SizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + menu { + object { + x=515 + y=382 + width=60 + height=18 + } + control { + chan="$(P)$(R)ReverseX" + clr=14 + bclr=51 + } + } + "text update" { + object { + x=515 + y=362 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)ReverseX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { } - clr=14 - bclr=51 - label="Combined ROIs" } text { object { - x=138 - y=555 - width=150 + x=402 + y=202 + width=100 height=20 } "basic attribute" { clr=14 } - textix="ROI definitions" + textix="Input Size" align="horiz. right" } - text { + "text update" { object { - x=82 - y=608 - width=80 - height=20 + x=515 + y=203 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MaxSizeX_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=595 + y=203 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MaxSizeY_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=675 + y=203 + width=61 + height=18 + } + monitor { + chan="$(P)$(R)MaxSizeZ_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +composite { + object { + x=390 + y=440 + width=360 + height=40 + } + "composite name"="" + children { + rectangle { + object { + x=390 + y=440 + width=360 + height=40 } "basic attribute" { clr=14 + fill="outline" + } + } + composite { + object { + x=506 + y=450 + width=129 + height=20 + } + "composite name"="" + children { + "related display" { + object { + x=565 + y=450 + width=70 + height=20 + } + display[0] { + label="asynRecord" + name="asynRecord.adl" + args="P=$(P),R=$(R)AsynIO" + } + clr=14 + bclr=51 + } + text { + object { + x=506 + y=450 + width=50 + height=20 + } + "basic attribute" { + clr=14 + } + textix=" More" + align="horiz. right" + } } - textix="Combined" - align="horiz. right" } } } composite { object { x=5 - y=35 + y=40 width=380 height=455 } @@ -336,7 +823,7 @@ composite { rectangle { object { x=5 - y=35 + y=40 width=380 height=455 } @@ -348,7 +835,7 @@ composite { "text entry" { object { x=172 - y=114 + y=119 width=100 height=20 } @@ -363,7 +850,7 @@ composite { "text update" { object { x=278 - y=115 + y=120 width=100 height=18 } @@ -378,7 +865,7 @@ composite { text { object { x=32 - y=114 + y=119 width=130 height=20 } @@ -391,7 +878,7 @@ composite { text { object { x=62 - y=89 + y=94 width=100 height=20 } @@ -404,7 +891,7 @@ composite { "text entry" { object { x=172 - y=89 + y=94 width=100 height=20 } @@ -419,7 +906,7 @@ composite { "text update" { object { x=278 - y=90 + y=95 width=100 height=18 } @@ -434,7 +921,7 @@ composite { "text entry" { object { x=172 - y=214 + y=219 width=100 height=20 } @@ -449,7 +936,7 @@ composite { "text update" { object { x=278 - y=215 + y=220 width=100 height=18 } @@ -464,7 +951,7 @@ composite { text { object { x=32 - y=214 + y=219 width=130 height=20 } @@ -477,7 +964,7 @@ composite { text { object { x=62 - y=239 + y=244 width=100 height=20 } @@ -490,7 +977,7 @@ composite { "text update" { object { x=172 - y=240 + y=245 width=100 height=18 } @@ -505,7 +992,7 @@ composite { "text entry" { object { x=172 - y=264 + y=269 width=100 height=20 } @@ -520,7 +1007,7 @@ composite { "text update" { object { x=278 - y=265 + y=270 width=100 height=18 } @@ -535,7 +1022,7 @@ composite { text { object { x=22 - y=264 + y=269 width=140 height=20 } @@ -548,7 +1035,7 @@ composite { text { object { x=102 - y=139 + y=144 width=60 height=20 } @@ -561,7 +1048,7 @@ composite { menu { object { x=172 - y=139 + y=144 width=100 height=20 } @@ -574,35 +1061,36 @@ composite { "text update" { object { x=278 - y=140 + y=145 width=100 height=18 } monitor { chan="$(P)$(R)EnableCallbacks_RBV" clr=54 - bclr=4 + bclr=12 } + clrmod="alarm" limits { } } text { object { x=72 - y=164 + y=169 width=90 height=20 } "basic attribute" { clr=14 } - textix="Minimum time" + textix="Min. time" align="horiz. right" } "text entry" { object { x=172 - y=164 + y=169 width=100 height=20 } @@ -617,7 +1105,7 @@ composite { "text update" { object { x=278 - y=165 + y=170 width=100 height=18 } @@ -632,7 +1120,7 @@ composite { text { object { x=62 - y=314 + y=319 width=100 height=20 } @@ -645,7 +1133,7 @@ composite { "text update" { object { x=172 - y=315 + y=320 width=65 height=18 } @@ -661,7 +1149,7 @@ composite { "text update" { object { x=242 - y=315 + y=320 width=65 height=18 } @@ -677,7 +1165,7 @@ composite { text { object { x=72 - y=339 + y=344 width=90 height=20 } @@ -690,7 +1178,7 @@ composite { "text update" { object { x=172 - y=340 + y=345 width=79 height=18 } @@ -706,7 +1194,7 @@ composite { text { object { x=42 - y=289 + y=294 width=120 height=20 } @@ -719,7 +1207,7 @@ composite { "text update" { object { x=172 - y=290 + y=295 width=79 height=18 } @@ -735,7 +1223,7 @@ composite { "text update" { object { x=312 - y=315 + y=320 width=65 height=18 } @@ -751,7 +1239,7 @@ composite { text { object { x=12 - y=189 + y=194 width=150 height=20 } @@ -764,7 +1252,7 @@ composite { menu { object { x=172 - y=189 + y=194 width=100 height=20 } @@ -777,7 +1265,7 @@ composite { "text update" { object { x=278 - y=190 + y=195 width=100 height=18 } @@ -792,7 +1280,7 @@ composite { text { object { x=72 - y=414 + y=419 width=90 height=20 } @@ -805,7 +1293,7 @@ composite { "text update" { object { x=172 - y=415 + y=420 width=79 height=18 } @@ -821,7 +1309,7 @@ composite { text { object { x=62 - y=439 + y=444 width=100 height=20 } @@ -834,7 +1322,7 @@ composite { "text update" { object { x=172 - y=440 + y=445 width=150 height=18 } @@ -850,7 +1338,7 @@ composite { text { object { x=62 - y=364 + y=369 width=100 height=20 } @@ -863,7 +1351,7 @@ composite { "text update" { object { x=172 - y=365 + y=370 width=79 height=18 } @@ -879,7 +1367,7 @@ composite { text { object { x=32 - y=389 + y=394 width=130 height=20 } @@ -892,7 +1380,7 @@ composite { "text update" { object { x=172 - y=390 + y=395 width=79 height=18 } @@ -908,7 +1396,7 @@ composite { text { object { x=12 - y=464 + y=469 width=150 height=20 } @@ -921,7 +1409,7 @@ composite { "text entry" { object { x=172 - y=464 + y=469 width=210 height=20 } @@ -937,7 +1425,7 @@ composite { "text update" { object { x=172 - y=40 + y=45 width=160 height=18 } @@ -953,7 +1441,7 @@ composite { text { object { x=72 - y=39 + y=44 width=90 height=20 } @@ -966,7 +1454,7 @@ composite { "text update" { object { x=172 - y=65 + y=70 width=160 height=18 } @@ -982,7 +1470,7 @@ composite { text { object { x=52 - y=64 + y=69 width=110 height=20 } @@ -994,3 +1482,171 @@ composite { } } } +composite { + object { + x=452 + y=95 + width=273 + height=20 + } + "composite name"="" + children { + text { + object { + x=452 + y=95 + width=90 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Data type" + align="horiz. right" + } + menu { + object { + x=555 + y=96 + width=80 + height=18 + } + control { + chan="$(P)$(R)DataTypeOut" + clr=14 + bclr=51 + } + } + "text update" { + object { + x=645 + y=96 + width=80 + height=18 + } + monitor { + chan="$(P)$(R)DataTypeOut_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } + } + } +} +text { + object { + x=502 + y=70 + width=40 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Name" + align="horiz. right" +} +"text entry" { + object { + x=553 + y=70 + width=150 + height=20 + } + control { + chan="$(P)$(R)Name" + clr=14 + bclr=51 + } + limits { + } +} +text { + object { + x=452 + y=120 + width=90 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Enable scaling" + align="horiz. right" +} +menu { + object { + x=555 + y=121 + width=80 + height=18 + } + control { + chan="$(P)$(R)EnableScale" + clr=14 + bclr=51 + } +} +"text update" { + object { + x=645 + y=121 + width=80 + height=18 + } + monitor { + chan="$(P)$(R)EnableScale_RBV" + clr=54 + bclr=12 + } + clrmod="alarm" + align="horiz. centered" + limits { + } +} +text { + object { + x=452 + y=145 + width=90 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Scale divisor" + align="horiz. right" +} +"text update" { + object { + x=645 + y=146 + width=80 + height=18 + } + monitor { + chan="$(P)$(R)Scale_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + limits { + } +} +"text entry" { + object { + x=553 + y=145 + width=80 + height=20 + } + control { + chan="$(P)$(R)Scale" + clr=14 + bclr=51 + } + limits { + } +}