From f7735ef27017bf1c81c2e5297cf382fa1e1cf271 Mon Sep 17 00:00:00 2001 From: rivers Date: Fri, 16 Dec 2011 00:11:54 +0000 Subject: [PATCH] Added software trigger PV git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@14293 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- ADApp/op/adl/prosilica.adl | 857 +++++++++++++++++++------------------ 1 file changed, 432 insertions(+), 425 deletions(-) diff --git a/ADApp/op/adl/prosilica.adl b/ADApp/op/adl/prosilica.adl index 45fd76f..f237432 100644 --- a/ADApp/op/adl/prosilica.adl +++ b/ADApp/op/adl/prosilica.adl @@ -1,7 +1,7 @@ file { name="/home/epics/devel/areaDetector/ADApp/op/adl/prosilica.adl" - version=030102 + version=030105 } display { object { @@ -114,7 +114,7 @@ rectangle { x=345 y=205 width=350 - height=360 + height=385 } "basic attribute" { clr=14 @@ -326,426 +326,88 @@ composite { } } } -composite { +menu { + object { + x=479 + y=329 + width=120 + height=20 + } + control { + chan="$(P)$(R)ImageMode" + clr=14 + bclr=51 + } +} +text { + object { + x=370 + y=329 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image mode" + align="horiz. right" +} +"text update" { + object { + x=606 + y=331 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)ImageMode_RBV" + clr=54 + bclr=4 + } + format="string" + limits { + } +} +text { object { x=349 - y=329 - width=340 - height=229 + y=354 + width=120 + height=20 } - "composite name"="" - children { - menu { - object { - x=479 - y=329 - width=120 - height=20 - } - control { - chan="$(P)$(R)ImageMode" - clr=14 - bclr=51 - } - } - text { - object { - x=370 - y=329 - width=100 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Image mode" - align="horiz. right" - } - "text update" { - object { - x=606 - y=331 - width=79 - height=18 - } - monitor { - chan="$(P)$(R)ImageMode_RBV" - clr=54 - bclr=4 - } - format="string" - limits { - } - } - text { - object { - x=349 - y=354 - width=120 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Trigger mode" - align="horiz. right" - } - menu { - object { - x=478 - y=354 - width=120 - height=20 - } - control { - chan="$(P)$(R)TriggerMode" - clr=14 - bclr=51 - } - } - "text update" { - object { - x=605 - y=356 - width=79 - height=18 - } - monitor { - chan="$(P)$(R)TriggerMode_RBV" - clr=54 - bclr=4 - } - format="string" - limits { - } - } - composite { - object { - x=368 - y=463 - width=214 - height=20 - } - "composite name"="" - children { - text { - object { - x=368 - y=463 - width=140 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Time remaining" - align="horiz. right" - } - "text update" { - object { - x=515 - y=464 - width=67 - height=18 - } - monitor { - chan="$(P)$(R)TimeRemaining_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - composite { - object { - x=438 - y=393 - width=203 - height=40 - } - "composite name"="" - children { - text { - object { - x=438 - y=413 - width=70 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Acquire" - align="horiz. right" - } - composite { - object { - x=515 - y=393 - width=126 - height=40 - } - "composite name"="" - children { - text { - object { - x=558 - y=393 - width=40 - 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=529 - y=393 - width=100 - 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=515 - y=413 - width=59 - height=20 - } - control { - chan="$(P)$(R)Acquire" - clr=14 - bclr=51 - } - label="Start" - press_msg="1" - } - "message button" { - object { - x=582 - y=413 - width=59 - height=20 - } - control { - chan="$(P)$(R)Acquire" - clr=14 - bclr=51 - } - label="Stop" - press_msg="0" - } - } - } - } - } - composite { - object { - x=368 - y=438 - width=305 - height=20 - } - "composite name"="" - children { - text { - object { - x=368 - y=438 - width=140 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Detector state" - align="horiz. right" - } - "text update" { - object { - x=515 - y=438 - width=158 - height=18 - } - monitor { - chan="$(P)$(R)DetectorState_RBV" - clr=54 - bclr=2 - } - clrmod="alarm" - limits { - } - } - } - } - composite { - object { - x=378 - y=488 - width=303 - height=20 - } - "composite name"="" - children { - composite { - object { - x=515 - y=488 - width=166 - height=20 - } - "composite name"="" - children { - "text entry" { - object { - x=515 - y=488 - width=60 - height=20 - } - control { - chan="$(P)$(R)ArrayCounter" - clr=14 - bclr=51 - } - limits { - } - } - "text update" { - object { - x=581 - y=489 - width=100 - height=18 - } - monitor { - chan="$(P)$(R)ArrayCounter_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - text { - object { - x=378 - y=488 - width=130 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Image counter" - align="horiz. right" - } - } - } - composite { - object { - x=408 - y=513 - width=207 - height=20 - } - "composite name"="" - children { - text { - object { - x=408 - y=513 - width=100 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Image rate" - align="horiz. right" - } - "text update" { - object { - x=515 - y=514 - width=100 - height=18 - } - monitor { - chan="$(P)$(R)ArrayRate_RBV" - clr=54 - bclr=4 - } - limits { - } - } - } - } - text { - object { - x=358 - y=538 - width=150 - height=20 - } - "basic attribute" { - clr=14 - } - textix="Array callbacks" - align="horiz. right" - } - menu { - object { - x=515 - y=538 - width=90 - height=20 - } - control { - chan="$(P)$(R)ArrayCallbacks" - clr=14 - bclr=51 - } - } - "text update" { - object { - x=610 - y=540 - width=79 - height=18 - } - monitor { - chan="$(P)$(R)ArrayCallbacks_RBV" - clr=54 - bclr=4 - } - align="horiz. centered" - format="string" - limits { - } - } + "basic attribute" { + clr=14 + } + textix="Trigger mode" + align="horiz. right" +} +menu { + object { + x=478 + y=354 + width=120 + height=20 + } + control { + chan="$(P)$(R)TriggerMode" + clr=14 + bclr=51 + } +} +"text update" { + object { + x=605 + y=356 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)TriggerMode_RBV" + clr=54 + bclr=4 + } + format="string" + limits { } } composite { @@ -1422,7 +1084,7 @@ composite { composite { object { x=345 - y=570 + y=595 width=350 height=60 } @@ -1431,11 +1093,356 @@ composite { } composite { object { - x=345 - y=635 - width=350 - height=60 + x=368 + y=488 + width=214 + height=20 } "composite name"="" - "composite file"="ADDriverFile.adl" + children { + text { + object { + x=368 + y=488 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Time remaining" + align="horiz. right" + } + "text update" { + object { + x=515 + y=489 + width=67 + height=18 + } + monitor { + chan="$(P)$(R)TimeRemaining_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +composite { + object { + x=368 + y=463 + width=305 + height=20 + } + "composite name"="" + children { + text { + object { + x=368 + y=463 + width=140 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Detector state" + align="horiz. right" + } + "text update" { + object { + x=515 + y=463 + width=158 + height=18 + } + monitor { + chan="$(P)$(R)DetectorState_RBV" + clr=54 + bclr=2 + } + clrmod="alarm" + limits { + } + } + } +} +composite { + object { + x=378 + y=513 + width=303 + height=20 + } + "composite name"="" + children { + composite { + object { + x=515 + y=513 + width=166 + height=20 + } + "composite name"="" + children { + "text entry" { + object { + x=515 + y=513 + width=60 + height=20 + } + control { + chan="$(P)$(R)ArrayCounter" + clr=14 + bclr=51 + } + limits { + } + } + "text update" { + object { + x=581 + y=514 + width=100 + height=18 + } + monitor { + chan="$(P)$(R)ArrayCounter_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } + } + text { + object { + x=378 + y=513 + width=130 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image counter" + align="horiz. right" + } + } +} +composite { + object { + x=408 + y=538 + width=207 + height=20 + } + "composite name"="" + children { + text { + object { + x=408 + y=538 + width=100 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Image rate" + align="horiz. right" + } + "text update" { + object { + x=515 + y=539 + width=100 + height=18 + } + monitor { + chan="$(P)$(R)ArrayRate_RBV" + clr=54 + bclr=4 + } + limits { + } + } + } +} +text { + object { + x=358 + y=563 + width=150 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Array callbacks" + align="horiz. right" +} +menu { + object { + x=515 + y=563 + width=90 + height=20 + } + control { + chan="$(P)$(R)ArrayCallbacks" + clr=14 + bclr=51 + } +} +"text update" { + object { + x=610 + y=565 + width=79 + height=18 + } + monitor { + chan="$(P)$(R)ArrayCallbacks_RBV" + clr=54 + bclr=4 + } + align="horiz. centered" + format="string" + limits { + } +} +"message button" { + object { + x=530 + y=382 + width=59 + height=20 + } + control { + chan="$(P)$(R)TriggerSoftware" + clr=14 + bclr=51 + } + label="Trigger" + press_msg="1" +} +text { + object { + x=361 + y=382 + width=160 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Software trigger" + align="horiz. right" +} +composite { + object { + x=438 + y=418 + width=203 + height=40 + } + "composite name"="" + children { + text { + object { + x=438 + y=438 + width=70 + height=20 + } + "basic attribute" { + clr=14 + } + textix="Acquire" + align="horiz. right" + } + composite { + object { + x=515 + y=418 + width=126 + height=40 + } + "composite name"="" + children { + text { + object { + x=558 + y=418 + width=40 + 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=529 + y=418 + width=100 + 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=515 + y=438 + width=59 + height=20 + } + control { + chan="$(P)$(R)Acquire" + clr=14 + bclr=51 + } + label="Start" + press_msg="1" + } + "message button" { + object { + x=582 + y=438 + width=59 + height=20 + } + control { + chan="$(P)$(R)Acquire" + clr=14 + bclr=51 + } + label="Stop" + press_msg="0" + } + } + } + } }