|
1 | 1 | <?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--> |
3 | 3 | <display version="2.0.0"> |
4 | 4 | <name>custom_urscript</name> |
5 | | - <x>353</x> |
6 | | - <y>499</y> |
| 5 | + <x>3511</x> |
| 6 | + <y>922</y> |
7 | 7 | <width>330</width> |
8 | | - <height>120</height> |
| 8 | + <height>180</height> |
9 | 9 | <background_color> |
10 | 10 | <color red="187" green="187" blue="187"> |
11 | 11 | </color> |
|
14 | 14 | <grid_step_x>5</grid_step_x> |
15 | 15 | <widget type="textentry" version="3.0.0"> |
16 | 16 | <name>text entry #6</name> |
17 | | - <pv_name>$(P)Control:CustomScriptPath.VAL</pv_name> |
| 17 | + <pv_name>$(P)Control:CustomScriptFile.VAL$</pv_name> |
18 | 18 | <x>10</x> |
19 | | - <y>65</y> |
| 19 | + <y>120</y> |
20 | 20 | <width>250</width> |
| 21 | + <height>21</height> |
21 | 22 | <font> |
22 | 23 | <font family="Liberation Sans" style="REGULAR" size="16.0"> |
23 | 24 | </font> |
|
26 | 27 | <color red="115" green="223" blue="255"> |
27 | 28 | </color> |
28 | 29 | </background_color> |
29 | | - <format>1</format> |
| 30 | + <format>6</format> |
30 | 31 | <show_units>false</show_units> |
31 | 32 | <border_alarm_sensitive>false</border_alarm_sensitive> |
32 | 33 | </widget> |
33 | 34 | <widget type="action_button" version="3.0.0"> |
34 | 35 | <name>message button #10</name> |
35 | 36 | <actions> |
36 | 37 | <action type="write_pv"> |
37 | | - <pv_name>$(P)Control:RunCustomScript.PROC</pv_name> |
| 38 | + <pv_name>$(P)Control:RunCustomScriptFile.PROC</pv_name> |
38 | 39 | <value>1</value> |
39 | 40 | <description>Write</description> |
40 | 41 | </action> |
41 | 42 | </actions> |
42 | | - <pv_name>$(P)Control:RunCustomScript.PROC</pv_name> |
| 43 | + <pv_name>$(P)Control:RunCustomScriptFile.PROC</pv_name> |
43 | 44 | <text>Run</text> |
44 | | - <x>270</x> |
45 | | - <y>65</y> |
| 45 | + <x>265</x> |
| 46 | + <y>120</y> |
46 | 47 | <width>50</width> |
47 | | - <height>20</height> |
| 48 | + <height>21</height> |
48 | 49 | <background_color> |
49 | 50 | <color red="115" green="223" blue="255"> |
50 | 51 | </color> |
51 | 52 | </background_color> |
52 | 53 | </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> |
99 | 54 | <widget type="rectangle" version="2.0.0"> |
100 | | - <name>rectangle #21</name> |
| 55 | + <name>rectangle #13</name> |
101 | 56 | <width>500</width> |
102 | 57 | <height>30</height> |
103 | 58 | <line_color> |
|
110 | 65 | </background_color> |
111 | 66 | </widget> |
112 | 67 | <widget type="label" version="2.0.0"> |
113 | | - <name>text #24</name> |
| 68 | + <name>text #16</name> |
114 | 69 | <text>Custom URScript</text> |
115 | 70 | <x>5</x> |
116 | 71 | <y>5</y> |
|
126 | 81 | <auto_size>true</auto_size> |
127 | 82 | </widget> |
128 | 83 | <widget type="label" version="2.0.0"> |
129 | | - <name>text #27</name> |
| 84 | + <name>text #19</name> |
130 | 85 | <text>$(P)</text> |
131 | 86 | <x>175</x> |
132 | 87 | <y>5</y> |
|
142 | 97 | <horizontal_alignment>2</horizontal_alignment> |
143 | 98 | </widget> |
144 | 99 | <widget type="action_button" version="3.0.0"> |
145 | | - <name>message button #30</name> |
| 100 | + <name>message button #22</name> |
146 | 101 | <actions> |
147 | 102 | <action type="write_pv"> |
148 | 103 | <pv_name>$(P)Dashboard:Stop</pv_name> |
|
152 | 107 | </actions> |
153 | 108 | <pv_name>$(P)Dashboard:Stop</pv_name> |
154 | 109 | <text>Stop</text> |
155 | | - <x>270</x> |
156 | | - <y>90</y> |
| 110 | + <x>265</x> |
| 111 | + <y>95</y> |
157 | 112 | <width>50</width> |
158 | | - <height>20</height> |
| 113 | + <height>21</height> |
159 | 114 | <foreground_color> |
160 | 115 | <color red="251" green="243" blue="74"> |
161 | 116 | </color> |
|
166 | 121 | </background_color> |
167 | 122 | </widget> |
168 | 123 | <widget type="textentry" version="3.0.0"> |
169 | | - <name>text entry #33</name> |
| 124 | + <name>text entry #25</name> |
170 | 125 | <pv_name>$(P)Control:CustomScriptTimeout.VAL</pv_name> |
171 | | - <x>210</x> |
172 | | - <y>95</y> |
| 126 | + <x>265</x> |
| 127 | + <y>155</y> |
173 | 128 | <width>50</width> |
174 | 129 | <height>15</height> |
175 | 130 | <font> |
|
185 | 140 | <border_alarm_sensitive>false</border_alarm_sensitive> |
186 | 141 | </widget> |
187 | 142 | <widget type="label" version="2.0.0"> |
188 | | - <name>text #37</name> |
| 143 | + <name>text #29</name> |
189 | 144 | <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> |
193 | 148 | <height>15</height> |
194 | 149 | <font> |
195 | 150 | <font family="Liberation Sans" style="REGULAR" size="16.0"> |
196 | 151 | </font> |
197 | 152 | </font> |
198 | 153 | <horizontal_alignment>2</horizontal_alignment> |
199 | 154 | </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> |
200 | 245 | </display> |
0 commit comments