Add in modular versions of components found on ADBaseScreen.

git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@9334 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b
This commit is contained in:
hammonds
2009-08-18 22:02:52 +00:00
parent 1df4731e14
commit 27338bc2fd
4 changed files with 1662 additions and 0 deletions

176
ADApp/op/adl/ADAttrFile.adl Executable file
View File

@@ -0,0 +1,176 @@
file {
name="ADAttrFile.adl"
version=030102
}
display {
object {
x=4
y=30
width=350
height=60
}
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,
}
}
composite {
object {
x=0
y=0
width=350
height=60
}
"composite name"=""
children {
composite {
object {
x=127
y=2
width=107
height=21
}
"composite name"=""
children {
rectangle {
object {
x=127
y=2
width=107
height=21
}
"basic attribute" {
clr=2
}
}
}
}
text {
object {
x=160
y=2
width=40
height=20
}
"basic attribute" {
clr=54
}
textix="Attributes"
align="horiz. centered"
}
rectangle {
object {
x=0
y=0
width=350
height=60
}
"basic attribute" {
clr=14
fill="outline"
}
}
text {
object {
x=13
y=29
width=40
height=20
}
"basic attribute" {
clr=14
}
textix="File"
align="horiz. right"
}
"text entry" {
object {
x=58
y=30
width=280
height=20
}
control {
chan="$(P)$(R)NDAttributesFile"
clr=14
bclr=51
}
format="string"
limits {
}
}
}
}

747
ADApp/op/adl/ADCollect.adl Executable file
View File

@@ -0,0 +1,747 @@
file {
name="C:\epics\synApps_5_4_1\support\areaDetector\1-5beta\ADApp\op\adl\ADCollect.adl"
version=030102
}
display {
object {
x=139
y=165
width=350
height=385
}
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,
}
}
composite {
object {
x=127
y=2
width=105
height=21
}
"composite name"=""
children {
rectangle {
object {
x=127
y=2
width=105
height=21
}
"basic attribute" {
clr=2
}
}
}
}
rectangle {
object {
x=0
y=0
width=350
height=385
}
"basic attribute" {
clr=14
fill="outline"
}
}
text {
object {
x=107
y=3
width=157
height=20
}
"basic attribute" {
clr=54
}
textix="Collect"
align="horiz. centered"
}
text {
object {
x=46
y=24
width=130
height=20
}
"basic attribute" {
clr=14
}
textix="Exposure time"
align="horiz. right"
}
"text entry" {
object {
x=185
y=24
width=59
height=20
}
control {
chan="$(P)$(R)AcquireTime"
clr=14
bclr=51
}
limits {
}
}
"text update" {
object {
x=251
y=25
width=79
height=18
}
monitor {
chan="$(P)$(R)AcquireTime_RBV"
clr=54
bclr=4
}
limits {
}
}
text {
object {
x=36
y=49
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Acquire period"
align="horiz. right"
}
"text entry" {
object {
x=185
y=49
width=59
height=20
}
control {
chan="$(P)$(R)AcquirePeriod"
clr=14
bclr=51
}
limits {
}
}
"text update" {
object {
x=251
y=50
width=79
height=18
}
monitor {
chan="$(P)$(R)AcquirePeriod_RBV"
clr=54
bclr=4
}
limits {
}
}
text {
object {
x=96
y=74
width=80
height=20
}
"basic attribute" {
clr=14
}
textix="# Images"
align="horiz. right"
}
"text entry" {
object {
x=185
y=74
width=59
height=20
}
control {
chan="$(P)$(R)NumImages"
clr=14
bclr=51
}
limits {
}
}
"text update" {
object {
x=251
y=75
width=79
height=18
}
monitor {
chan="$(P)$(R)NumImages_RBV"
clr=54
bclr=4
}
limits {
}
}
text {
object {
x=16
y=99
width=160
height=20
}
"basic attribute" {
clr=14
}
textix="# Images complete"
align="horiz. right"
}
"text update" {
object {
x=251
y=100
width=67
height=18
}
monitor {
chan="$(P)$(R)NumImagesCounter_RBV"
clr=54
bclr=4
}
limits {
}
}
text {
object {
x=48
y=124
width=128
height=20
}
"basic attribute" {
clr=14
}
textix="# Exp./image"
align="horiz. right"
}
"text entry" {
object {
x=185
y=124
width=59
height=20
}
control {
chan="$(P)$(R)NumExposures"
clr=14
bclr=51
}
limits {
}
}
"text update" {
object {
x=251
y=125
width=79
height=18
}
monitor {
chan="$(P)$(R)NumExposures_RBV"
clr=54
bclr=4
}
limits {
}
}
menu {
object {
x=134
y=149
width=120
height=20
}
control {
chan="$(P)$(R)ImageMode"
clr=14
bclr=51
}
}
text {
object {
x=25
y=149
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="Image mode"
align="horiz. right"
}
"text update" {
object {
x=261
y=151
width=79
height=18
}
monitor {
chan="$(P)$(R)ImageMode_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
text {
object {
x=4
y=174
width=120
height=20
}
"basic attribute" {
clr=14
}
textix="Trigger mode"
align="horiz. right"
}
menu {
object {
x=133
y=174
width=120
height=20
}
control {
chan="$(P)$(R)TriggerMode"
clr=14
bclr=51
}
}
"text update" {
object {
x=260
y=176
width=79
height=18
}
monitor {
chan="$(P)$(R)TriggerMode_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
composite {
object {
x=23
y=283
width=214
height=20
}
"composite name"=""
children {
text {
object {
x=23
y=283
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Time remaining"
align="horiz. right"
}
"text update" {
object {
x=170
y=284
width=67
height=18
}
monitor {
chan="$(P)$(R)TimeRemaining_RBV"
clr=54
bclr=4
}
limits {
}
}
}
}
composite {
object {
x=93
y=213
width=203
height=40
}
"composite name"=""
children {
text {
object {
x=93
y=233
width=70
height=20
}
"basic attribute" {
clr=14
}
textix="Acquire"
align="horiz. right"
}
composite {
object {
x=170
y=213
width=126
height=40
}
"composite name"=""
children {
text {
object {
x=213
y=213
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=184
y=213
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=170
y=233
width=59
height=20
}
control {
chan="$(P)$(R)Acquire"
clr=14
bclr=51
}
label="Start"
press_msg="1"
}
"message button" {
object {
x=237
y=233
width=59
height=20
}
control {
chan="$(P)$(R)Acquire"
clr=14
bclr=51
}
label="Stop"
press_msg="0"
}
}
}
}
}
composite {
object {
x=23
y=258
width=305
height=20
}
"composite name"=""
children {
text {
object {
x=23
y=258
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Detector state"
align="horiz. right"
}
"text update" {
object {
x=170
y=258
width=158
height=18
}
monitor {
chan="$(P)$(R)DetectorState_RBV"
clr=54
bclr=2
}
clrmod="alarm"
limits {
}
}
}
}
composite {
object {
x=33
y=308
width=303
height=20
}
"composite name"=""
children {
composite {
object {
x=170
y=308
width=166
height=20
}
"composite name"=""
children {
"text entry" {
object {
x=170
y=308
width=60
height=20
}
control {
chan="$(P)$(R)ArrayCounter"
clr=14
bclr=51
}
limits {
}
}
"text update" {
object {
x=236
y=309
width=100
height=18
}
monitor {
chan="$(P)$(R)ArrayCounter_RBV"
clr=54
bclr=4
}
limits {
}
}
}
}
text {
object {
x=33
y=308
width=130
height=20
}
"basic attribute" {
clr=14
}
textix="Image counter"
align="horiz. right"
}
}
}
composite {
object {
x=63
y=333
width=207
height=20
}
"composite name"=""
children {
text {
object {
x=63
y=333
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="Image rate"
align="horiz. right"
}
"text update" {
object {
x=170
y=334
width=100
height=18
}
monitor {
chan="$(P)$(R)ArrayRate_RBV"
clr=54
bclr=4
}
limits {
}
}
}
}
text {
object {
x=13
y=358
width=150
height=20
}
"basic attribute" {
clr=14
}
textix="Array callbacks"
align="horiz. right"
}
menu {
object {
x=170
y=358
width=90
height=20
}
control {
chan="$(P)$(R)ArrayCallbacks"
clr=14
bclr=51
}
}
"text update" {
object {
x=265
y=360
width=79
height=18
}
monitor {
chan="$(P)$(R)ArrayCallbacks_RBV"
clr=54
bclr=4
}
align="horiz. centered"
format="string"
limits {
}
}

402
ADApp/op/adl/ADSetup.adl Executable file
View File

@@ -0,0 +1,402 @@
file {
name="ADSetup.adl"
version=030102
}
display {
object {
x=85
y=111
width=335
height=250
}
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=114
y=2
width=107
height=21
}
"basic attribute" {
clr=2
}
}
rectangle {
object {
x=0
y=0
width=335
height=250
}
"basic attribute" {
clr=14
fill="outline"
}
}
text {
object {
x=88
y=3
width=159
height=20
}
"basic attribute" {
clr=54
}
textix="Setup"
align="horiz. centered"
}
composite {
object {
x=58
y=59
width=268
height=20
}
"composite name"=""
children {
text {
object {
x=166
y=60
width=160
height=18
}
"basic attribute" {
clr=54
}
textix="$(P)$(R)"
}
text {
object {
x=58
y=59
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="EPICS name"
align="horiz. right"
}
}
}
composite {
object {
x=38
y=84
width=288
height=20
}
"composite name"=""
children {
text {
object {
x=38
y=84
width=120
height=20
}
"basic attribute" {
clr=14
}
textix="Manufacturer"
align="horiz. right"
}
"text update" {
object {
x=166
y=85
width=160
height=18
}
monitor {
chan="$(P)$(R)Manufacturer_RBV"
clr=54
bclr=4
}
limits {
}
}
}
}
text {
object {
x=68
y=206
width=90
height=20
}
"basic attribute" {
clr=14
}
textix=" More"
align="horiz. right"
}
"related display" {
object {
x=167
y=206
width=70
height=20
}
display[0] {
label="asyn record"
name="asynRecord.adl"
args="P=$(P),R=$(R)AsynIO"
}
display[1] {
label="Save restore status"
name="save_restoreStatus_more.adl"
args="P=$(P)"
}
display[2] {
label="Image plugin #1"
name="NDStdArrays.adl"
args="P=$(P), R=$(I)"
}
display[3] {
label="ROI plugin #1"
name="NDROI.adl"
args="P=$(P), R=$(ROI)"
}
display[4] {
label="netCDF plugin #1"
name="NDFileNetCDF.adl"
args="P=$(P), R=$(NETCDF)"
}
display[5] {
label="TIFF plugin #1"
name="NDFileTIFF.adl"
args="P=$(P), R=$(TIFF)"
}
display[6] {
label="JPEG plugin #1"
name="NDFileJPEG.adl"
args="P=$(P), R=$(JPEG)"
}
display[7] {
label="Nexus plugin #1"
name="NDFileNexus.adl"
args="P=$(P), R=$(NEXUS)"
}
display[8] {
label="Color convert plugin #1"
name="NDColorConvert.adl"
args="P=$(P), R=$(CC)"
}
clr=14
bclr=51
}
text {
object {
x=108
y=109
width=50
height=20
}
"basic attribute" {
clr=14
}
textix="Model"
align="horiz. right"
}
"text update" {
object {
x=166
y=110
width=160
height=18
}
monitor {
chan="$(P)$(R)Model_RBV"
clr=54
bclr=4
}
limits {
}
}
text {
object {
x=58
y=159
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="Connection"
align="horiz. right"
}
"message button" {
object {
x=166
y=159
width=80
height=20
}
control {
chan="$(P)$(R)AsynIO.CNCT"
clr=14
bclr=51
}
label="Connect"
press_msg="1"
}
"message button" {
object {
x=251
y=159
width=80
height=20
}
control {
chan="$(P)$(R)AsynIO.CNCT"
clr=14
bclr=51
}
label="Disconnect"
press_msg="0"
}
text {
object {
x=197
y=132
width=90
height=20
}
"basic attribute" {
clr=63
}
"dynamic attribute" {
vis="if not zero"
calc="0"
chan="$(P)$(R)AsynIO.CNCT"
}
textix="Connected"
align="horiz. centered"
}
text {
object {
x=182
y=132
width=120
height=20
}
"basic attribute" {
clr=20
}
"dynamic attribute" {
vis="if zero"
chan="$(P)$(R)AsynIO.CNCT"
}
textix="Disconnected"
align="horiz. centered"
}
text {
object {
x=58
y=34
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="asyn port"
align="horiz. right"
}
"text update" {
object {
x=166
y=35
width=160
height=18
}
monitor {
chan="$(P)$(R)PortName_RBV"
clr=54
bclr=4
}
limits {
}
}

337
ADApp/op/adl/ADShutter.adl Executable file
View File

@@ -0,0 +1,337 @@
file {
name="ADShutter.adl"
version=030102
}
display {
object {
x=112
y=138
width=350
height=165
}
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=113
y=2
width=107
height=21
}
"basic attribute" {
clr=2
}
}
rectangle {
object {
x=0
y=0
width=350
height=165
}
"basic attribute" {
clr=14
fill="outline"
}
}
text {
object {
x=86
y=3
width=159
height=20
}
"basic attribute" {
clr=54
}
textix="Shutter"
align="horiz. centered"
}
text {
object {
x=16
y=34
width=150
height=20
}
"basic attribute" {
clr=14
}
textix="Shutter mode"
align="horiz. right"
}
menu {
object {
x=173
y=34
width=120
height=20
}
control {
chan="$(P)$(R)ShutterMode"
clr=14
bclr=51
}
}
text {
object {
x=66
y=83
width=100
height=20
}
"basic attribute" {
clr=14
}
textix="Open/Close"
align="horiz. right"
}
"message button" {
object {
x=173
y=83
width=60
height=20
}
control {
chan="$(P)$(R)ShutterControl"
clr=14
bclr=51
}
label="Open"
press_msg="1"
}
"message button" {
object {
x=240
y=83
width=60
height=20
}
control {
chan="$(P)$(R)ShutterControl"
clr=14
bclr=51
}
label="Close"
press_msg="0"
}
text {
object {
x=6
y=58
width=120
height=20
}
"basic attribute" {
clr=14
}
textix="Status: Det."
align="horiz. right"
}
"text update" {
object {
x=132
y=59
width=60
height=18
}
monitor {
chan="$(P)$(R)ShutterStatus_RBV"
clr=54
bclr=2
}
clrmod="alarm"
align="horiz. centered"
limits {
}
}
"text entry" {
object {
x=132
y=108
width=60
height=20
}
control {
chan="$(P)$(R)ShutterOpenDelay"
clr=14
bclr=51
}
limits {
}
}
text {
object {
x=15
y=108
width=110
height=20
}
"basic attribute" {
clr=14
}
textix="Delay: Open"
align="horiz. right"
}
text {
object {
x=215
y=108
width=50
height=20
}
"basic attribute" {
clr=14
}
textix="Close"
align="horiz. right"
}
"text entry" {
object {
x=272
y=108
width=60
height=20
}
control {
chan="$(P)$(R)ShutterCloseDelay"
clr=14
bclr=51
}
limits {
}
}
"related display" {
object {
x=205
y=136
width=70
height=20
}
display[0] {
name="ADEpicsShutter.adl"
args="P=$(P),R=$(R)"
}
clr=14
bclr=51
}
text {
object {
x=6
y=136
width=190
height=20
}
"basic attribute" {
clr=14
}
textix="EPICS shutter setup"
align="horiz. right"
}
text {
object {
x=215
y=58
width=50
height=20
}
"basic attribute" {
clr=14
}
textix="EPICS"
align="horiz. right"
}
"text update" {
object {
x=272
y=59
width=60
height=18
}
monitor {
chan="$(P)$(R)ShutterStatusEPICS_RBV"
clr=54
bclr=2
}
clrmod="alarm"
align="horiz. centered"
limits {
}
}