Skip to content

Commit fc4188e

Browse files
authored
Merge pull request #26 from epics-modules/iss25
Removing replot button from medm and ui screens - fixes #25
2 parents 2904809 + 1212601 commit fc4188e

3 files changed

Lines changed: 294 additions & 403 deletions

File tree

stdApp/op/adl/pid_plot_readback.adl

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
file {
3-
name="j:\epics\R3.13.1\share\stdApp\op\adl\pid_plot_readback.adl"
4-
version=020306
3+
name="/home/beams/MWYMAN/sandbox/std/stdApp/op/adl/pid_plot_readback.adl"
4+
version=030111
55
}
66
display {
77
object {
8-
x=476
9-
y=530
8+
x=596
9+
y=273
1010
width=600
1111
height=480
1212
}
@@ -103,10 +103,14 @@ display {
103103
pen[0] {
104104
chan="$(P)$(PID).VAL"
105105
clr=20
106+
limits {
107+
}
106108
}
107109
pen[1] {
108110
chan="$(P)$(PID).CVAL"
109111
clr=54
112+
limits {
113+
}
110114
}
111115
}
112116
"text entry" {
@@ -163,31 +167,3 @@ text {
163167
}
164168
textix="Display maxiumum"
165169
}
166-
"related display" {
167-
object {
168-
x=313
169-
y=443
170-
width=103
171-
height=20
172-
}
173-
display[0] {
174-
label="Plot"
175-
name="pid_plot_readback.adl"
176-
args="P=$(P), PID=$(PID)"
177-
policy="replace display"
178-
}
179-
clr=14
180-
bclr=4
181-
}
182-
text {
183-
object {
184-
x=334
185-
y=417
186-
width=60
187-
height=20
188-
}
189-
"basic attribute" {
190-
clr=14
191-
}
192-
textix="Replot"
193-
}

stdApp/op/bob/autoconvert/pid_plot_readback.bob

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--Saved on 2026-02-20 16:08:18 by mwyman-->
23
<display version="2.0.0">
34
<name>pid_plot_readback</name>
4-
<x>476</x>
5-
<y>530</y>
5+
<x>596</x>
6+
<y>273</y>
67
<width>600</width>
78
<height>480</height>
89
<background_color>
@@ -11,7 +12,7 @@
1112
</background_color>
1213
<grid_visible>false</grid_visible>
1314
<grid_step_x>5</grid_step_x>
14-
<widget type="stripchart" version="2.0.0">
15+
<widget type="stripchart" version="2.1.0">
1516
<name>strip chart #6</name>
1617
<x>1</x>
1718
<y>1</y>
@@ -23,7 +24,7 @@
2324
</background_color>
2425
<title>$(P)$(PID) setpoint and readback</title>
2526
<show_toolbar>false</show_toolbar>
26-
<time_range>30 second</time_range>
27+
<start>30 second</start>
2728
<y_axes>
2829
<y_axis>
2930
<title></title>
@@ -33,6 +34,10 @@
3334
<maximum>100.0</maximum>
3435
<show_grid>false</show_grid>
3536
<visible>true</visible>
37+
<color>
38+
<color name="Text" red="0" green="0" blue="0">
39+
</color>
40+
</color>
3641
</y_axis>
3742
</y_axes>
3843
<traces>
@@ -67,7 +72,7 @@
6772
</traces>
6873
</widget>
6974
<widget type="textentry" version="3.0.0">
70-
<name>text entry #11</name>
75+
<name>text entry #13</name>
7176
<pv_name>$(P)$(PID).HOPR</pv_name>
7277
<x>191</x>
7378
<y>418</y>
@@ -84,7 +89,7 @@
8489
<border_alarm_sensitive>false</border_alarm_sensitive>
8590
</widget>
8691
<widget type="textentry" version="3.0.0">
87-
<name>text entry #15</name>
92+
<name>text entry #17</name>
8893
<pv_name>$(P)$(PID).LOPR</pv_name>
8994
<x>191</x>
9095
<y>443</y>
@@ -101,7 +106,7 @@
101106
<border_alarm_sensitive>false</border_alarm_sensitive>
102107
</widget>
103108
<widget type="label" version="2.0.0">
104-
<name>text #19</name>
109+
<name>text #21</name>
105110
<text>Display miniumum</text>
106111
<x>21</x>
107112
<y>443</y>
@@ -113,7 +118,7 @@
113118
<auto_size>true</auto_size>
114119
</widget>
115120
<widget type="label" version="2.0.0">
116-
<name>text #22</name>
121+
<name>text #24</name>
117122
<text>Display maxiumum</text>
118123
<x>21</x>
119124
<y>418</y>
@@ -124,35 +129,4 @@
124129
</font>
125130
<auto_size>true</auto_size>
126131
</widget>
127-
<widget type="action_button" version="3.0.0">
128-
<name>related display #25</name>
129-
<actions>
130-
<action type="open_display">
131-
<file>pid_plot_readback.opi</file>
132-
<target>replace</target>
133-
<description>Plot</description>
134-
</action>
135-
</actions>
136-
<text></text>
137-
<x>313</x>
138-
<y>443</y>
139-
<width>103</width>
140-
<height>20</height>
141-
<background_color>
142-
<color red="187" green="187" blue="187">
143-
</color>
144-
</background_color>
145-
</widget>
146-
<widget type="label" version="2.0.0">
147-
<name>text #28</name>
148-
<text>Replot</text>
149-
<x>334</x>
150-
<y>417</y>
151-
<width>60</width>
152-
<font>
153-
<font family="Liberation Sans" style="REGULAR" size="16.0">
154-
</font>
155-
</font>
156-
<auto_size>true</auto_size>
157-
</widget>
158132
</display>

0 commit comments

Comments
 (0)