Skip to content

Commit 3a2514b

Browse files
committed
autoconvert bob
1 parent 6493d75 commit 3a2514b

19 files changed

Lines changed: 226 additions & 88 deletions
Lines changed: 117 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:37:59 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:57 by nmarks-->
33
<display version="2.0.0">
44
<name>custom_urscript</name>
5-
<x>353</x>
6-
<y>499</y>
5+
<x>3511</x>
6+
<y>922</y>
77
<width>330</width>
8-
<height>120</height>
8+
<height>180</height>
99
<background_color>
1010
<color red="187" green="187" blue="187">
1111
</color>
@@ -14,10 +14,11 @@
1414
<grid_step_x>5</grid_step_x>
1515
<widget type="textentry" version="3.0.0">
1616
<name>text entry #6</name>
17-
<pv_name>$(P)Control:CustomScriptPath.VAL</pv_name>
17+
<pv_name>$(P)Control:CustomScriptFile.VAL$</pv_name>
1818
<x>10</x>
19-
<y>65</y>
19+
<y>120</y>
2020
<width>250</width>
21+
<height>21</height>
2122
<font>
2223
<font family="Liberation Sans" style="REGULAR" size="16.0">
2324
</font>
@@ -26,78 +27,32 @@
2627
<color red="115" green="223" blue="255">
2728
</color>
2829
</background_color>
29-
<format>1</format>
30+
<format>6</format>
3031
<show_units>false</show_units>
3132
<border_alarm_sensitive>false</border_alarm_sensitive>
3233
</widget>
3334
<widget type="action_button" version="3.0.0">
3435
<name>message button #10</name>
3536
<actions>
3637
<action type="write_pv">
37-
<pv_name>$(P)Control:RunCustomScript.PROC</pv_name>
38+
<pv_name>$(P)Control:RunCustomScriptFile.PROC</pv_name>
3839
<value>1</value>
3940
<description>Write</description>
4041
</action>
4142
</actions>
42-
<pv_name>$(P)Control:RunCustomScript.PROC</pv_name>
43+
<pv_name>$(P)Control:RunCustomScriptFile.PROC</pv_name>
4344
<text>Run</text>
44-
<x>270</x>
45-
<y>65</y>
45+
<x>265</x>
46+
<y>120</y>
4647
<width>50</width>
47-
<height>20</height>
48+
<height>21</height>
4849
<background_color>
4950
<color red="115" green="223" blue="255">
5051
</color>
5152
</background_color>
5253
</widget>
53-
<widget type="textupdate" version="2.0.0">
54-
<name>text update #13</name>
55-
<pv_name>$(P)Control:CustomScriptRunning.VAL</pv_name>
56-
<x>10</x>
57-
<y>40</y>
58-
<width>250</width>
59-
<font>
60-
<font family="Liberation Sans" style="REGULAR" size="16.0">
61-
</font>
62-
</font>
63-
<foreground_color>
64-
<color red="10" green="0" blue="184">
65-
</color>
66-
</foreground_color>
67-
<background_color>
68-
<color red="187" green="187" blue="187">
69-
</color>
70-
</background_color>
71-
<format>1</format>
72-
<show_units>false</show_units>
73-
<border_alarm_sensitive>false</border_alarm_sensitive>
74-
</widget>
75-
<widget type="label" version="2.0.0">
76-
<name>text #17</name>
77-
<text>Error</text>
78-
<x>10</x>
79-
<y>93</y>
80-
<width>55</width>
81-
<font>
82-
<font family="Liberation Sans" style="REGULAR" size="16.0">
83-
</font>
84-
</font>
85-
<foreground_color>
86-
<color red="253" green="0" blue="0">
87-
</color>
88-
</foreground_color>
89-
<auto_size>true</auto_size>
90-
<rules>
91-
<rule name="vis_if_not_zero" prop_id="visible" out_exp="false">
92-
<exp bool_exp="!(pv0!=0)">
93-
<value>false</value>
94-
</exp>
95-
<pv_name>$(P)Control:CustomScriptError.VAL</pv_name>
96-
</rule>
97-
</rules>
98-
</widget>
9954
<widget type="rectangle" version="2.0.0">
100-
<name>rectangle #21</name>
55+
<name>rectangle #13</name>
10156
<width>500</width>
10257
<height>30</height>
10358
<line_color>
@@ -110,7 +65,7 @@
11065
</background_color>
11166
</widget>
11267
<widget type="label" version="2.0.0">
113-
<name>text #24</name>
68+
<name>text #16</name>
11469
<text>Custom URScript</text>
11570
<x>5</x>
11671
<y>5</y>
@@ -126,7 +81,7 @@
12681
<auto_size>true</auto_size>
12782
</widget>
12883
<widget type="label" version="2.0.0">
129-
<name>text #27</name>
84+
<name>text #19</name>
13085
<text>$(P)</text>
13186
<x>175</x>
13287
<y>5</y>
@@ -142,7 +97,7 @@
14297
<horizontal_alignment>2</horizontal_alignment>
14398
</widget>
14499
<widget type="action_button" version="3.0.0">
145-
<name>message button #30</name>
100+
<name>message button #22</name>
146101
<actions>
147102
<action type="write_pv">
148103
<pv_name>$(P)Dashboard:Stop</pv_name>
@@ -152,10 +107,10 @@
152107
</actions>
153108
<pv_name>$(P)Dashboard:Stop</pv_name>
154109
<text>Stop</text>
155-
<x>270</x>
156-
<y>90</y>
110+
<x>265</x>
111+
<y>95</y>
157112
<width>50</width>
158-
<height>20</height>
113+
<height>21</height>
159114
<foreground_color>
160115
<color red="251" green="243" blue="74">
161116
</color>
@@ -166,10 +121,10 @@
166121
</background_color>
167122
</widget>
168123
<widget type="textentry" version="3.0.0">
169-
<name>text entry #33</name>
124+
<name>text entry #25</name>
170125
<pv_name>$(P)Control:CustomScriptTimeout.VAL</pv_name>
171-
<x>210</x>
172-
<y>95</y>
126+
<x>265</x>
127+
<y>155</y>
173128
<width>50</width>
174129
<height>15</height>
175130
<font>
@@ -185,16 +140,106 @@
185140
<border_alarm_sensitive>false</border_alarm_sensitive>
186141
</widget>
187142
<widget type="label" version="2.0.0">
188-
<name>text #37</name>
143+
<name>text #29</name>
189144
<text>Timeout(sec):</text>
190-
<x>85</x>
191-
<y>95</y>
192-
<width>120</width>
145+
<x>150</x>
146+
<y>155</y>
147+
<width>110</width>
193148
<height>15</height>
194149
<font>
195150
<font family="Liberation Sans" style="REGULAR" size="16.0">
196151
</font>
197152
</font>
198153
<horizontal_alignment>2</horizontal_alignment>
199154
</widget>
155+
<widget type="textentry" version="3.0.0">
156+
<name>text entry #32</name>
157+
<pv_name>$(P)Control:CustomInlineScript.VAL$</pv_name>
158+
<x>10</x>
159+
<y>80</y>
160+
<width>250</width>
161+
<height>21</height>
162+
<font>
163+
<font family="Liberation Sans" style="REGULAR" size="16.0">
164+
</font>
165+
</font>
166+
<background_color>
167+
<color red="115" green="223" blue="255">
168+
</color>
169+
</background_color>
170+
<format>6</format>
171+
<show_units>false</show_units>
172+
<border_alarm_sensitive>false</border_alarm_sensitive>
173+
</widget>
174+
<widget type="label" version="2.0.0">
175+
<name>text #36</name>
176+
<text>Inline (runs immediately):</text>
177+
<x>10</x>
178+
<y>65</y>
179+
<width>150</width>
180+
<height>10</height>
181+
<font>
182+
<font family="Liberation Sans" style="REGULAR" size="10.0">
183+
</font>
184+
</font>
185+
<auto_size>true</auto_size>
186+
</widget>
187+
<widget type="label" version="2.0.0">
188+
<name>text #39</name>
189+
<text>File:</text>
190+
<x>10</x>
191+
<y>110</y>
192+
<width>70</width>
193+
<height>10</height>
194+
<font>
195+
<font family="Liberation Sans" style="REGULAR" size="10.0">
196+
</font>
197+
</font>
198+
<auto_size>true</auto_size>
199+
</widget>
200+
<widget type="label" version="2.0.0">
201+
<name>text #42</name>
202+
<text>Error</text>
203+
<x>265</x>
204+
<y>55</y>
205+
<width>55</width>
206+
<font>
207+
<font family="Liberation Sans" style="REGULAR" size="16.0">
208+
</font>
209+
</font>
210+
<foreground_color>
211+
<color red="253" green="0" blue="0">
212+
</color>
213+
</foreground_color>
214+
<auto_size>true</auto_size>
215+
<rules>
216+
<rule name="vis_if_not_zero" prop_id="visible" out_exp="false">
217+
<exp bool_exp="!(pv0!=0)">
218+
<value>false</value>
219+
</exp>
220+
<pv_name>$(P)Control:CustomScriptError.VAL</pv_name>
221+
</rule>
222+
</rules>
223+
</widget>
224+
<widget type="textupdate" version="2.0.0">
225+
<name>text update #46</name>
226+
<pv_name>$(P)Control:CustomScriptRunning.VAL</pv_name>
227+
<x>10</x>
228+
<y>35</y>
229+
<font>
230+
<font family="Liberation Sans" style="REGULAR" size="16.0">
231+
</font>
232+
</font>
233+
<foreground_color>
234+
<color red="10" green="0" blue="184">
235+
</color>
236+
</foreground_color>
237+
<background_color>
238+
<color red="187" green="187" blue="187">
239+
</color>
240+
</background_color>
241+
<format>1</format>
242+
<show_units>false</show_units>
243+
<border_alarm_sensitive>false</border_alarm_sensitive>
244+
</widget>
200245
</display>

urRobotApp/op/bob/autoconvert/dashboard.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:37:59 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:57 by nmarks-->
33
<display version="2.0.0">
44
<name>dashboard</name>
55
<x>133</x>

urRobotApp/op/bob/autoconvert/path10x.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:37:59 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:57 by nmarks-->
33
<display version="2.0.0">
44
<name>path10x</name>
55
<x>694</x>

urRobotApp/op/bob/autoconvert/path30x.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:38:00 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:57 by nmarks-->
33
<display version="2.0.0">
44
<name>path30x</name>
55
<x>1143</x>

urRobotApp/op/bob/autoconvert/path_top10x.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:38:00 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:58 by nmarks-->
33
<display version="2.0.0">
44
<name>path_top10x</name>
55
<x>1250</x>

urRobotApp/op/bob/autoconvert/path_top5x.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:38:00 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:58 by nmarks-->
33
<display version="2.0.0">
44
<name>path_top5x</name>
55
<x>1271</x>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
phoebus -main org.csstudio.display.converter.medm.Converter

urRobotApp/op/bob/autoconvert/robotiq_gripper.bob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--Saved on 2026-05-20 17:38:00 by nmarks-->
2+
<!--Saved on 2026-05-28 09:38:58 by nmarks-->
33
<display version="2.0.0">
44
<name>robotiq_gripper</name>
55
<x>874</x>

0 commit comments

Comments
 (0)