Skip to content

Commit 190a724

Browse files
author
Nic Bricknell
committed
mxSampleDetect: Add screen for top, bottom edge waveforms
1 parent 5e6ce80 commit 190a724

File tree

2 files changed

+278
-49
lines changed

2 files changed

+278
-49
lines changed

adPythonApp/opi/edl/adPythonMxSampleDetect.edl

Lines changed: 110 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ beginScreenProperties
33
major 4
44
minor 0
55
release 1
6-
x 472
7-
y 153
6+
x 715
7+
y 162
88
w 390
99
h 820
1010
font "arial-bold-r-12.0"
@@ -47,8 +47,8 @@ minor 0
4747
release 0
4848
x 230
4949
y 530
50-
w 150
51-
h 120
50+
w 155
51+
h 160
5252
lineColor index 14
5353
fill
5454
fillColor index 3
@@ -690,33 +690,110 @@ value {
690690
}
691691
endObjectProperties
692692

693+
# (Menu Button)
694+
object activeMenuButtonClass
695+
beginObjectProperties
696+
major 4
697+
minor 0
698+
release 0
699+
x 250
700+
y 665
701+
w 115
702+
h 20
703+
fgColor index 25
704+
bgColor index 3
705+
inconsistentColor index 0
706+
topShadowColor index 1
707+
botShadowColor index 11
708+
controlPv "$(P)$(R)OutputArray"
709+
indicatorPv "$(P)$(R)OutputArray_RBV"
710+
font "arial-bold-r-12.0"
711+
endObjectProperties
712+
693713
# (Static Text)
694714
object activeXTextClass
695715
beginObjectProperties
696716
major 4
697717
minor 1
698718
release 1
699-
x 235
700-
y 570
701-
w 29
702-
h 13
719+
x 262
720+
y 635
721+
w 90
722+
h 35
703723
font "arial-bold-r-12.0"
724+
fontAlign "center"
704725
fgColor index 14
705726
bgColor index 3
706727
useDisplayBg
707728
value {
708-
"Tip Y"
729+
"Image to send"
730+
"downstream:"
731+
}
732+
endObjectProperties
733+
734+
# (Static Text)
735+
object activeXTextClass
736+
beginObjectProperties
737+
major 4
738+
minor 1
739+
release 1
740+
x 267
741+
y 620
742+
w 80
743+
h 13
744+
font "arial-medium-r-12.0"
745+
fgColor index 14
746+
bgColor index 3
747+
useDisplayBg
748+
value {
749+
"(upside-down)"
709750
}
710751
autoSize
711752
endObjectProperties
712753

754+
# (Related Display)
755+
object relatedDisplayClass
756+
beginObjectProperties
757+
major 4
758+
minor 4
759+
release 0
760+
x 257
761+
y 595
762+
w 100
763+
h 25
764+
fgColor index 43
765+
bgColor index 3
766+
topShadowColor index 1
767+
botShadowColor index 11
768+
font "arial-bold-r-12.0"
769+
buttonLabel "Edge arrays..."
770+
numPvs 4
771+
numDsps 1
772+
displayFileName {
773+
0 "adPythonMxSampleDetectPlot"
774+
}
775+
endObjectProperties
776+
777+
# (Group)
778+
object activeGroupClass
779+
beginObjectProperties
780+
major 4
781+
minor 0
782+
release 0
783+
x 257
784+
y 540
785+
w 100
786+
h 45
787+
788+
beginGroup
789+
713790
# (Textupdate)
714791
object TextupdateClass
715792
beginObjectProperties
716793
major 10
717794
minor 0
718795
release 0
719-
x 270
796+
x 292
720797
y 565
721798
w 65
722799
h 20
@@ -729,13 +806,33 @@ font "arial-bold-r-12.0"
729806
fontAlign "center"
730807
endObjectProperties
731808

809+
# (Static Text)
810+
object activeXTextClass
811+
beginObjectProperties
812+
major 4
813+
minor 1
814+
release 1
815+
x 257
816+
y 570
817+
w 29
818+
h 13
819+
font "arial-bold-r-12.0"
820+
fgColor index 14
821+
bgColor index 3
822+
useDisplayBg
823+
value {
824+
"Tip Y"
825+
}
826+
autoSize
827+
endObjectProperties
828+
732829
# (Textupdate)
733830
object TextupdateClass
734831
beginObjectProperties
735832
major 10
736833
minor 0
737834
release 0
738-
x 270
835+
x 292
739836
y 540
740837
w 65
741838
h 20
@@ -754,7 +851,7 @@ beginObjectProperties
754851
major 4
755852
minor 1
756853
release 1
757-
x 235
854+
x 257
758855
y 545
759856
w 29
760857
h 13
@@ -768,43 +865,7 @@ value {
768865
autoSize
769866
endObjectProperties
770867

771-
# (Static Text)
772-
object activeXTextClass
773-
beginObjectProperties
774-
major 4
775-
minor 1
776-
release 1
777-
x 235
778-
y 590
779-
w 140
780-
h 35
781-
font "arial-bold-r-12.0"
782-
fgColor index 14
783-
bgColor index 3
784-
useDisplayBg
785-
value {
786-
"Image to send"
787-
"downstream:"
788-
}
789-
endObjectProperties
868+
endGroup
790869

791-
# (Menu Button)
792-
object activeMenuButtonClass
793-
beginObjectProperties
794-
major 4
795-
minor 0
796-
release 0
797-
x 260
798-
y 625
799-
w 115
800-
h 20
801-
fgColor index 25
802-
bgColor index 3
803-
inconsistentColor index 0
804-
topShadowColor index 1
805-
botShadowColor index 11
806-
controlPv "$(P)$(R)OutputArray"
807-
indicatorPv "$(P)$(R)OutputArray_RBV"
808-
font "arial-bold-r-12.0"
809870
endObjectProperties
810871

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
# Adapted from adOpenCV/mxSampleDetectPlot screen.
2+
3+
4 0 1
4+
beginScreenProperties
5+
major 4
6+
minor 0
7+
release 1
8+
x 487
9+
y 382
10+
w 847
11+
h 513
12+
font "arial-medium-r-18.0"
13+
ctlFont "arial-medium-r-18.0"
14+
btnFont "arial-medium-r-18.0"
15+
fgColor index 14
16+
bgColor index 3
17+
textColor index 14
18+
ctlFgColor1 index 14
19+
ctlFgColor2 index 0
20+
ctlBgColor1 index 0
21+
ctlBgColor2 index 14
22+
topShadowColor index 1
23+
botShadowColor index 11
24+
showGrid
25+
snapToGrid
26+
endScreenProperties
27+
28+
# (X-Y Graph)
29+
object xyGraphClass
30+
beginObjectProperties
31+
major 4
32+
minor 8
33+
release 0
34+
# Geometry
35+
x 10
36+
y 10
37+
w 830
38+
h 460
39+
# Appearance
40+
border
41+
graphTitle "$(P)$(R)Top, Bottom"
42+
xLabel "X Pixel"
43+
yLabel "Y Pixel"
44+
fgColor index 14
45+
bgColor index 0
46+
gridColor index 14
47+
font "arial-medium-r-18.0"
48+
# Operating Modes
49+
nPts 2
50+
# X axis properties
51+
showXAxis
52+
xAxisSrc "AutoScale"
53+
xMax 1
54+
# Y axis properties
55+
showYAxis
56+
yAxisSrc "AutoScale"
57+
yMax 1
58+
# Y2 axis properties
59+
y2AxisSrc "AutoScale"
60+
y2Max 1
61+
# Trace Properties
62+
numTraces 2
63+
yPv {
64+
0 "$(P)$(R)Top"
65+
1 "$(P)$(R)Bottom"
66+
}
67+
plotColor {
68+
0 index 15
69+
1 index 25
70+
}
71+
endObjectProperties
72+
73+
# (Rectangle)
74+
object activeRectangleClass
75+
beginObjectProperties
76+
major 4
77+
minor 0
78+
release 0
79+
x 10
80+
y 480
81+
w 180
82+
h 30
83+
lineColor index 14
84+
fill
85+
fillColor index 0
86+
endObjectProperties
87+
88+
# (Exit Button)
89+
object activeExitButtonClass
90+
beginObjectProperties
91+
major 4
92+
minor 1
93+
release 0
94+
x 740
95+
y 480
96+
w 100
97+
h 30
98+
fgColor index 46
99+
bgColor index 3
100+
topShadowColor index 1
101+
botShadowColor index 11
102+
label "EXIT"
103+
font "arial-bold-r-14.0"
104+
3d
105+
endObjectProperties
106+
107+
# (Static Text)
108+
object activeXTextClass
109+
beginObjectProperties
110+
major 4
111+
minor 1
112+
release 1
113+
x 70
114+
y 485
115+
w 32
116+
h 21
117+
font "arial-medium-r-18.0"
118+
fontAlign "right"
119+
fgColor index 15
120+
bgColor index 0
121+
useDisplayBg
122+
value {
123+
"Top"
124+
}
125+
autoSize
126+
endObjectProperties
127+
128+
# (Static Text)
129+
object activeXTextClass
130+
beginObjectProperties
131+
major 4
132+
minor 1
133+
release 1
134+
x 120
135+
y 485
136+
w 60
137+
h 21
138+
font "arial-medium-r-18.0"
139+
fontAlign "right"
140+
fgColor index 25
141+
bgColor index 0
142+
useDisplayBg
143+
value {
144+
"Bottom"
145+
}
146+
autoSize
147+
endObjectProperties
148+
149+
# (Static Text)
150+
object activeXTextClass
151+
beginObjectProperties
152+
major 4
153+
minor 1
154+
release 1
155+
x 20
156+
y 485
157+
w 37
158+
h 21
159+
font "arial-medium-r-18.0"
160+
fgColor index 14
161+
bgColor index 0
162+
useDisplayBg
163+
value {
164+
"Key:"
165+
}
166+
autoSize
167+
endObjectProperties
168+

0 commit comments

Comments
 (0)