Added WriteStatus and WriteMessage PVs to display error messages on write or open errors

git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@14206 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b
This commit is contained in:
rivers
2011-12-02 00:31:42 +00:00
parent 14711f86cd
commit 2fdae22d99
8 changed files with 1564 additions and 982 deletions
+73 -3
View File
@@ -1,14 +1,14 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFile.adl"
version=030102
version=030105
}
display {
object {
x=35
y=109
width=685
height=410
height=455
}
clr=14
bclr=4
@@ -403,7 +403,7 @@ rectangle {
x=5
y=40
width=675
height=360
height=405
}
"basic attribute" {
clr=14
@@ -882,3 +882,73 @@ composite {
}
}
}
composite {
object {
x=21
y=393
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=21
y=393
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=170
y=393
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=21
y=418
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=170
y=421
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
File diff suppressed because it is too large Load Diff
+128 -58
View File
@@ -1,12 +1,12 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFileJPEG.adl"
version=030102
version=030105
}
display {
object {
x=48
y=285
x=196
y=183
width=1070
height=530
}
@@ -124,7 +124,7 @@ composite {
}
composite {
object {
x=423
x=417
y=246
width=639
height=20
@@ -133,7 +133,7 @@ composite {
children {
text {
object {
x=423
x=417
y=246
width=130
height=20
@@ -146,7 +146,7 @@ composite {
}
"text update" {
object {
x=562
x=556
y=247
width=500
height=18
@@ -164,7 +164,7 @@ composite {
}
text {
object {
x=403
x=397
y=221
width=150
height=20
@@ -177,7 +177,7 @@ text {
}
composite {
object {
x=562
x=556
y=198
width=160
height=43
@@ -186,7 +186,7 @@ composite {
children {
"text update" {
object {
x=562
x=556
y=198
width=160
height=18
@@ -202,7 +202,7 @@ composite {
}
"text entry" {
object {
x=562
x=556
y=221
width=160
height=20
@@ -220,7 +220,7 @@ composite {
}
composite {
object {
x=413
x=407
y=173
width=298
height=20
@@ -229,7 +229,7 @@ composite {
children {
text {
object {
x=413
x=407
y=173
width=140
height=20
@@ -242,7 +242,7 @@ composite {
}
menu {
object {
x=562
x=556
y=173
width=64
height=20
@@ -255,7 +255,7 @@ composite {
}
"text update" {
object {
x=631
x=625
y=174
width=80
height=18
@@ -272,7 +272,7 @@ composite {
}
composite {
object {
x=443
x=437
y=146
width=264
height=22
@@ -281,7 +281,7 @@ composite {
children {
text {
object {
x=443
x=437
y=147
width=110
height=20
@@ -294,7 +294,7 @@ composite {
}
"text entry" {
object {
x=562
x=556
y=146
width=60
height=22
@@ -309,7 +309,7 @@ composite {
}
"text update" {
object {
x=627
x=621
y=148
width=80
height=18
@@ -326,7 +326,7 @@ composite {
}
text {
object {
x=463
x=457
y=121
width=90
height=20
@@ -339,7 +339,7 @@ text {
}
"text entry" {
object {
x=562
x=556
y=121
width=500
height=20
@@ -355,7 +355,7 @@ text {
}
"text update" {
object {
x=562
x=556
y=98
width=500
height=18
@@ -371,7 +371,7 @@ text {
}
"text update" {
object {
x=562
x=556
y=50
width=380
height=18
@@ -387,7 +387,7 @@ text {
}
text {
object {
x=463
x=457
y=73
width=90
height=20
@@ -403,7 +403,7 @@ rectangle {
x=390
y=40
width=675
height=355
height=400
}
"basic attribute" {
clr=14
@@ -412,7 +412,7 @@ rectangle {
}
text {
object {
x=813
x=807
y=296
width=90
height=20
@@ -425,7 +425,7 @@ text {
}
menu {
object {
x=907
x=901
y=296
width=64
height=20
@@ -438,7 +438,7 @@ menu {
}
"text update" {
object {
x=976
x=970
y=297
width=80
height=18
@@ -453,7 +453,7 @@ menu {
}
text {
object {
x=463
x=457
y=296
width=90
height=20
@@ -466,7 +466,7 @@ text {
}
"message button" {
object {
x=562
x=556
y=296
width=60
height=20
@@ -481,7 +481,7 @@ text {
}
text {
object {
x=642
x=636
y=296
width=90
height=20
@@ -494,7 +494,7 @@ text {
}
"message button" {
object {
x=737
x=731
y=296
width=60
height=20
@@ -509,7 +509,7 @@ text {
}
"message button" {
object {
x=562
x=556
y=366
width=59
height=20
@@ -524,7 +524,7 @@ text {
}
text {
object {
x=482
x=476
y=366
width=70
height=20
@@ -537,7 +537,7 @@ text {
}
"message button" {
object {
x=629
x=623
y=366
width=59
height=20
@@ -552,7 +552,7 @@ text {
}
text {
object {
x=413
x=407
y=322
width=140
height=20
@@ -565,7 +565,7 @@ text {
}
menu {
object {
x=562
x=556
y=322
width=80
height=20
@@ -578,7 +578,7 @@ menu {
}
"text update" {
object {
x=650
x=644
y=323
width=70
height=18
@@ -593,7 +593,7 @@ menu {
}
composite {
object {
x=725
x=719
y=321
width=339
height=22
@@ -602,7 +602,7 @@ composite {
children {
text {
object {
x=725
x=719
y=322
width=90
height=20
@@ -615,7 +615,7 @@ composite {
}
"text entry" {
object {
x=824
x=818
y=321
width=60
height=22
@@ -630,7 +630,7 @@ composite {
}
"text update" {
object {
x=984
x=978
y=323
width=80
height=18
@@ -645,7 +645,7 @@ composite {
}
"text update" {
object {
x=889
x=883
y=323
width=80
height=18
@@ -662,7 +662,7 @@ composite {
}
"text update" {
object {
x=562
x=556
y=274
width=100
height=20
@@ -679,7 +679,7 @@ composite {
}
"text update" {
object {
x=737
x=731
y=274
width=100
height=20
@@ -696,7 +696,7 @@ composite {
}
"text update" {
object {
x=562
x=556
y=344
width=100
height=20
@@ -713,7 +713,7 @@ composite {
}
composite {
object {
x=770
x=764
y=173
width=274
height=22
@@ -722,7 +722,7 @@ composite {
children {
text {
object {
x=770
x=764
y=174
width=120
height=20
@@ -735,7 +735,7 @@ composite {
}
"text entry" {
object {
x=899
x=893
y=173
width=60
height=22
@@ -750,7 +750,7 @@ composite {
}
"text update" {
object {
x=964
x=958
y=175
width=80
height=18
@@ -781,7 +781,7 @@ composite {
}
"text entry" {
object {
x=562
x=556
y=73
width=500
height=20
@@ -797,7 +797,7 @@ composite {
}
composite {
object {
x=945
x=939
y=50
width=115
height=20
@@ -806,7 +806,7 @@ composite {
children {
text {
object {
x=945
x=939
y=50
width=70
height=20
@@ -818,7 +818,7 @@ composite {
}
"text update" {
object {
x=1020
x=1014
y=50
width=40
height=20
@@ -836,7 +836,7 @@ composite {
}
text {
object {
x=728
x=722
y=221
width=230
height=20
@@ -848,7 +848,7 @@ text {
}
composite {
object {
x=712
x=706
y=366
width=338
height=20
@@ -857,7 +857,7 @@ composite {
children {
menu {
object {
x=901
x=895
y=366
width=64
height=20
@@ -870,7 +870,7 @@ composite {
}
text {
object {
x=712
x=706
y=366
width=180
height=20
@@ -883,7 +883,7 @@ composite {
}
"text update" {
object {
x=970
x=964
y=367
width=80
height=18
@@ -898,3 +898,73 @@ composite {
}
}
}
composite {
object {
x=406
y=391
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=406
y=391
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=555
y=391
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=406
y=416
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=555
y=419
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
+72 -2
View File
@@ -1,7 +1,7 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFileMagick.adl"
version=030102
version=030105
}
display {
object {
@@ -441,7 +441,7 @@ rectangle {
x=390
y=40
width=675
height=355
height=400
}
"basic attribute" {
clr=14
@@ -1020,3 +1020,73 @@ composite {
}
}
}
composite {
object {
x=407
y=391
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=407
y=391
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=556
y=391
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=407
y=416
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=556
y=419
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
+72 -2
View File
@@ -1,7 +1,7 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFileNetCDF.adl"
version=030102
version=030105
}
display {
object {
@@ -441,7 +441,7 @@ rectangle {
x=390
y=40
width=675
height=355
height=400
}
"basic attribute" {
clr=14
@@ -862,3 +862,73 @@ composite {
}
}
}
composite {
object {
x=407
y=391
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=407
y=391
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=556
y=391
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=407
y=416
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=556
y=419
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
+214 -133
View File
@@ -1,14 +1,14 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFileNexus.adl"
version=030102
version=030105
}
display {
object {
x=199
y=87
width=1070
height=530
height=570
}
clr=14
bclr=4
@@ -409,7 +409,7 @@ rectangle {
x=390
y=40
width=675
height=360
height=405
}
"basic attribute" {
clr=14
@@ -582,7 +582,7 @@ text {
}
text {
object {
x=476
x=477
y=366
width=70
height=20
@@ -779,135 +779,6 @@ composite {
"composite name"=""
"composite file"="NDPluginBase.adl"
}
rectangle {
object {
x=589
y=409
width=470
height=100
}
"basic attribute" {
clr=20
}
"dynamic attribute" {
vis="if zero"
calc="A"
chan="$(P)$(R)FileTemplateValid"
}
}
rectangle {
object {
x=390
y=405
width=675
height=110
}
"basic attribute" {
clr=14
fill="outline"
}
}
composite {
object {
x=406
y=413
width=635
height=91
}
"composite name"=""
children {
"text entry" {
object {
x=591
y=436
width=450
height=20
}
control {
chan="$(P)$(R)TemplateFilePath"
clr=14
bclr=51
}
format="string"
limits {
}
}
"text update" {
object {
x=591
y=413
width=450
height=18
}
monitor {
chan="$(P)$(R)TemplateFilePath_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
"text entry" {
object {
x=591
y=484
width=450
height=20
}
control {
chan="$(P)$(R)TemplateFileName"
clr=14
bclr=51
}
format="string"
limits {
}
}
"text update" {
object {
x=591
y=461
width=450
height=18
}
monitor {
chan="$(P)$(R)TemplateFileName_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
text {
object {
x=406
y=436
width=176
height=20
}
"basic attribute" {
clr=14
}
textix="Template file path"
align="horiz. right"
}
text {
object {
x=406
y=484
width=176
height=20
}
"basic attribute" {
clr=14
}
textix="Template file name"
align="horiz. right"
}
}
}
composite {
object {
x=945
@@ -1043,3 +914,213 @@ composite {
}
}
}
composite {
object {
x=390
y=450
width=675
height=110
}
"composite name"=""
children {
rectangle {
object {
x=589
y=454
width=470
height=100
}
"basic attribute" {
clr=20
}
"dynamic attribute" {
vis="if zero"
calc="A"
chan="$(P)$(R)FileTemplateValid"
}
}
rectangle {
object {
x=390
y=450
width=675
height=110
}
"basic attribute" {
clr=14
fill="outline"
}
}
composite {
object {
x=406
y=458
width=635
height=91
}
"composite name"=""
children {
"text entry" {
object {
x=591
y=481
width=450
height=20
}
control {
chan="$(P)$(R)TemplateFilePath"
clr=14
bclr=51
}
format="string"
limits {
}
}
"text update" {
object {
x=591
y=458
width=450
height=18
}
monitor {
chan="$(P)$(R)TemplateFilePath_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
"text entry" {
object {
x=591
y=529
width=450
height=20
}
control {
chan="$(P)$(R)TemplateFileName"
clr=14
bclr=51
}
format="string"
limits {
}
}
"text update" {
object {
x=591
y=506
width=450
height=18
}
monitor {
chan="$(P)$(R)TemplateFileName_RBV"
clr=54
bclr=4
}
format="string"
limits {
}
}
text {
object {
x=406
y=481
width=176
height=20
}
"basic attribute" {
clr=14
}
textix="Template file path"
align="horiz. right"
}
text {
object {
x=406
y=529
width=176
height=20
}
"basic attribute" {
clr=14
}
textix="Template file name"
align="horiz. right"
}
}
}
}
}
composite {
object {
x=407
y=391
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=407
y=391
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=556
y=391
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=407
y=416
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=556
y=419
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
+71 -1
View File
@@ -441,7 +441,7 @@ rectangle {
x=390
y=40
width=675
height=355
height=400
}
"basic attribute" {
clr=14
@@ -862,3 +862,73 @@ composite {
}
}
}
composite {
object {
x=407
y=391
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=407
y=391
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=556
y=391
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=407
y=416
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=556
y=419
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}
+75 -5
View File
@@ -1,12 +1,12 @@
file {
name="/home/epics/devel/areaDetector/ADApp/op/adl/NDFileTIFF.adl"
version=030102
version=030105
}
display {
object {
x=716
y=108
x=386
y=126
width=1070
height=530
}
@@ -441,7 +441,7 @@ rectangle {
x=390
y=40
width=675
height=355
height=405
}
"basic attribute" {
clr=14
@@ -562,7 +562,7 @@ text {
}
text {
object {
x=476
x=477
y=366
width=70
height=20
@@ -862,3 +862,73 @@ composite {
}
}
}
composite {
object {
x=407
y=393
width=654
height=45
}
"composite name"=""
children {
text {
object {
x=407
y=393
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write status"
align="horiz. right"
}
"text update" {
object {
x=556
y=393
width=120
height=20
}
monitor {
chan="$(P)$(R)WriteStatus"
clr=63
bclr=4
}
clrmod="alarm"
format="string"
limits {
}
}
text {
object {
x=407
y=418
width=140
height=20
}
"basic attribute" {
clr=14
}
textix="Write message"
align="horiz. right"
}
"text update" {
object {
x=556
y=421
width=505
height=14
}
monitor {
chan="$(P)$(R)WriteMessage"
clr=20
bclr=2
}
format="string"
limits {
}
}
}
}