css/databrowser_OPI_param: test.opi

File test.opi, 19.5 KB (added by Takashi Obina, 12 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<display typeId="org.csstudio.opibuilder.Display" version="1.0">
3 <auto_zoom_to_fit_all>false</auto_zoom_to_fit_all>
4 <macros>
5 <include_parent_macros>true</include_parent_macros>
6 </macros>
7 <wuid>-2ad1f7f:13d3911eafd:-7fdb</wuid>
8 <boy_version>3.1.2.20120831</boy_version>
9 <scripts />
10 <show_ruler>true</show_ruler>
11 <height>600</height>
12 <name></name>
13 <snap_to_geometry>true</snap_to_geometry>
14 <show_grid>true</show_grid>
15 <background_color>
16 <color red="240" green="240" blue="240" />
17 </background_color>
18 <foreground_color>
19 <color red="192" green="192" blue="192" />
20 </foreground_color>
21 <widget_type>Display</widget_type>
22 <show_close_button>true</show_close_button>
23 <width>800</width>
24 <rules />
25 <show_edit_range>true</show_edit_range>
26 <grid_space>6</grid_space>
27 <auto_scale_widgets>
28 <auto_scale_widgets>false</auto_scale_widgets>
29 <min_width>-1</min_width>
30 <min_height>-1</min_height>
31 </auto_scale_widgets>
32 <actions hook="false" hook_all="false" />
33 <y>-1</y>
34 <x>-1</x>
35 <widget typeId="org.csstudio.trends.databrowser.opiwidget" version="1.0">
36 <macros>
37 <include_parent_macros>true</include_parent_macros>
38 </macros>
39 <visible>true</visible>
40 <wuid>-2ad1f7f:13d3911eafd:-7fd0</wuid>
41 <scripts />
42 <height>300</height>
43 <name>DataBrowser1</name>
44 <scale_options>
45 <width_scalable>true</width_scalable>
46 <height_scalable>true</height_scalable>
47 <keep_wh_ratio>false</keep_wh_ratio>
48 </scale_options>
49 <foreground_color>
50 <color red="192" green="192" blue="192" />
51 </foreground_color>
52 <background_color>
53 <color red="240" green="240" blue="240" />
54 </background_color>
55 <enabled>true</enabled>
56 <widget_type>Data Browser</widget_type>
57 <font>
58 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
59 </font>
60 <width>400</width>
61 <border_style>1</border_style>
62 <rules />
63 <border_width>1</border_width>
64 <filename>fastcur.plt</filename>
65 <border_color>
66 <color red="0" green="128" blue="255" />
67 </border_color>
68 <show_toolbar>false</show_toolbar>
69 <y>6</y>
70 <actions hook="false" hook_all="false" />
71 <x>6</x>
72 <tooltip></tooltip>
73 </widget>
74 <widget typeId="org.csstudio.opibuilder.widgets.TextUpdate" version="1.0">
75 <border_alarm_sensitive>true</border_alarm_sensitive>
76 <visible>true</visible>
77 <vertical_alignment>1</vertical_alignment>
78 <show_units>true</show_units>
79 <wuid>-2ad1f7f:13d3911eafd:-7fc4</wuid>
80 <auto_size>false</auto_size>
81 <rotation_angle>0.0</rotation_angle>
82 <scripts />
83 <height>20</height>
84 <name>Text Update</name>
85 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
86 <scale_options>
87 <width_scalable>true</width_scalable>
88 <height_scalable>true</height_scalable>
89 <keep_wh_ratio>false</keep_wh_ratio>
90 </scale_options>
91 <format_type>0</format_type>
92 <precision_from_pv>true</precision_from_pv>
93 <transparent>false</transparent>
94 <pv_name>sys://time</pv_name>
95 <background_color>
96 <color red="255" green="255" blue="255" />
97 </background_color>
98 <foreground_color>
99 <color red="0" green="0" blue="0" />
100 </foreground_color>
101 <widget_type>Text Update</widget_type>
102 <enabled>true</enabled>
103 <text>######</text>
104 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
105 <precision>0</precision>
106 <font>
107 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
108 </font>
109 <width>229</width>
110 <border_style>0</border_style>
111 <rules />
112 <pv_value />
113 <border_width>1</border_width>
114 <border_color>
115 <color red="0" green="128" blue="255" />
116 </border_color>
117 <horizontal_alignment>0</horizontal_alignment>
118 <actions hook="false" hook_all="false" />
119 <y>312</y>
120 <wrap_words>false</wrap_words>
121 <tooltip>$(pv_name)
122$(pv_value)</tooltip>
123 <x>9</x>
124 </widget>
125 <widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="1.0">
126 <border_alarm_sensitive>false</border_alarm_sensitive>
127 <visible>true</visible>
128 <wuid>722cc24a:13d45232418:-7fe1</wuid>
129 <scripts />
130 <height>19</height>
131 <name>Action Button_3</name>
132 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
133 <scale_options>
134 <width_scalable>true</width_scalable>
135 <height_scalable>true</height_scalable>
136 <keep_wh_ratio>false</keep_wh_ratio>
137 </scale_options>
138 <pv_name></pv_name>
139 <background_color>
140 <color red="240" green="240" blue="240" />
141 </background_color>
142 <foreground_color>
143 <color red="0" green="0" blue="0" />
144 </foreground_color>
145 <widget_type>Action Button</widget_type>
146 <enabled>true</enabled>
147 <text>Change (H)</text>
148 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
149 <font>
150 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
151 </font>
152 <width>91</width>
153 <border_style>0</border_style>
154 <push_action_index>0</push_action_index>
155 <image></image>
156 <rules />
157 <pv_value />
158 <toggle_button>false</toggle_button>
159 <border_width>1</border_width>
160 <border_color>
161 <color red="0" green="128" blue="255" />
162 </border_color>
163 <y>336</y>
164 <actions hook="false" hook_all="false">
165 <action type="EXECUTE_PYTHONSCRIPT">
166 <path>scripts/changeHscale.py</path>
167 <scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
168]]></scriptText>
169 <embedded>false</embedded>
170 <description></description>
171 </action>
172 </actions>
173 <tooltip>$(pv_name)
174$(pv_value)</tooltip>
175 <x>258</x>
176 </widget>
177 <widget typeId="org.csstudio.opibuilder.widgets.TextInput" version="1.0">
178 <border_alarm_sensitive>false</border_alarm_sensitive>
179 <visible>true</visible>
180 <vertical_alignment>1</vertical_alignment>
181 <multiline_input>false</multiline_input>
182 <auto_size>false</auto_size>
183 <scripts />
184 <height>20</height>
185 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
186 <precision_from_pv>true</precision_from_pv>
187 <background_color>
188 <color red="255" green="255" blue="255" />
189 </background_color>
190 <widget_type>Text Input</widget_type>
191 <enabled>true</enabled>
192 <text>10</text>
193 <font>
194 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
195 </font>
196 <width>100</width>
197 <border_style>3</border_style>
198 <pv_value />
199 <border_width>1</border_width>
200 <maximum>Infinity</maximum>
201 <minimum>-Infinity</minimum>
202 <show_units>true</show_units>
203 <wuid>3e7bb653:13d454f3d3a:-7fdf</wuid>
204 <rotation_angle>0.0</rotation_angle>
205 <name>Inp_HScale</name>
206 <scale_options>
207 <width_scalable>true</width_scalable>
208 <height_scalable>true</height_scalable>
209 <keep_wh_ratio>false</keep_wh_ratio>
210 </scale_options>
211 <format_type>0</format_type>
212 <transparent>false</transparent>
213 <selector_type>0</selector_type>
214 <pv_name></pv_name>
215 <foreground_color>
216 <color red="0" green="0" blue="0" />
217 </foreground_color>
218 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
219 <precision>0</precision>
220 <confirm_message></confirm_message>
221 <rules />
222 <limits_from_pv>false</limits_from_pv>
223 <border_color>
224 <color red="0" green="128" blue="255" />
225 </border_color>
226 <horizontal_alignment>2</horizontal_alignment>
227 <actions hook="false" hook_all="false">
228 <action type="EXECUTE_PYTHONSCRIPT">
229 <path>scripts/changeHscale.py</path>
230 <scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
231]]></scriptText>
232 <embedded>false</embedded>
233 <description></description>
234 </action>
235 </actions>
236 <y>336</y>
237 <tooltip>$(pv_name)
238$(pv_value)</tooltip>
239 <x>117</x>
240 </widget>
241 <widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0">
242 <visible>true</visible>
243 <vertical_alignment>1</vertical_alignment>
244 <wuid>3e7bb653:13d454f3d3a:-7fcc</wuid>
245 <auto_size>false</auto_size>
246 <scripts />
247 <height>20</height>
248 <name>Label</name>
249 <scale_options>
250 <width_scalable>true</width_scalable>
251 <height_scalable>true</height_scalable>
252 <keep_wh_ratio>false</keep_wh_ratio>
253 </scale_options>
254 <transparent>false</transparent>
255 <show_scrollbar>false</show_scrollbar>
256 <background_color>
257 <color red="240" green="240" blue="240" />
258 </background_color>
259 <foreground_color>
260 <color red="0" green="0" blue="0" />
261 </foreground_color>
262 <widget_type>Label</widget_type>
263 <enabled>true</enabled>
264 <text>Horiz Scale</text>
265 <font>
266 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
267 </font>
268 <width>103</width>
269 <border_style>0</border_style>
270 <rules />
271 <border_width>1</border_width>
272 <border_color>
273 <color red="0" green="128" blue="255" />
274 </border_color>
275 <horizontal_alignment>1</horizontal_alignment>
276 <actions hook="false" hook_all="false" />
277 <y>336</y>
278 <wrap_words>true</wrap_words>
279 <tooltip></tooltip>
280 <x>6</x>
281 </widget>
282 <widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="1.0">
283 <border_alarm_sensitive>false</border_alarm_sensitive>
284 <visible>true</visible>
285 <wuid>3e7bb653:13d454f3d3a:-7f9c</wuid>
286 <scripts />
287 <height>19</height>
288 <name>Action Button_1</name>
289 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
290 <scale_options>
291 <width_scalable>true</width_scalable>
292 <height_scalable>true</height_scalable>
293 <keep_wh_ratio>false</keep_wh_ratio>
294 </scale_options>
295 <pv_name></pv_name>
296 <background_color>
297 <color red="240" green="240" blue="240" />
298 </background_color>
299 <foreground_color>
300 <color red="0" green="0" blue="0" />
301 </foreground_color>
302 <widget_type>Action Button</widget_type>
303 <enabled>true</enabled>
304 <text>Change (V)</text>
305 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
306 <font>
307 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
308 </font>
309 <width>91</width>
310 <border_style>0</border_style>
311 <push_action_index>0</push_action_index>
312 <image></image>
313 <rules />
314 <pv_value />
315 <toggle_button>false</toggle_button>
316 <border_width>1</border_width>
317 <border_color>
318 <color red="0" green="128" blue="255" />
319 </border_color>
320 <y>355</y>
321 <actions hook="false" hook_all="false">
322 <action type="EXECUTE_PYTHONSCRIPT">
323 <path>scripts/changeVscale.py</path>
324 <scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
325]]></scriptText>
326 <embedded>false</embedded>
327 <description></description>
328 </action>
329 </actions>
330 <tooltip>$(pv_name)
331$(pv_value)</tooltip>
332 <x>258</x>
333 </widget>
334 <widget typeId="org.csstudio.opibuilder.widgets.TextInput" version="1.0">
335 <border_alarm_sensitive>false</border_alarm_sensitive>
336 <visible>true</visible>
337 <vertical_alignment>1</vertical_alignment>
338 <multiline_input>false</multiline_input>
339 <auto_size>false</auto_size>
340 <scripts />
341 <height>20</height>
342 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
343 <precision_from_pv>true</precision_from_pv>
344 <background_color>
345 <color red="255" green="255" blue="255" />
346 </background_color>
347 <widget_type>Text Input</widget_type>
348 <enabled>true</enabled>
349 <text>0</text>
350 <font>
351 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
352 </font>
353 <width>46</width>
354 <border_style>3</border_style>
355 <pv_value />
356 <border_width>1</border_width>
357 <maximum>1.7976931348623157E308</maximum>
358 <minimum>-1.7976931348623157E308</minimum>
359 <show_units>true</show_units>
360 <wuid>3e7bb653:13d454f3d3a:-7f9b</wuid>
361 <rotation_angle>0.0</rotation_angle>
362 <name>Inp_VScale_min</name>
363 <scale_options>
364 <width_scalable>true</width_scalable>
365 <height_scalable>true</height_scalable>
366 <keep_wh_ratio>false</keep_wh_ratio>
367 </scale_options>
368 <format_type>0</format_type>
369 <transparent>false</transparent>
370 <selector_type>0</selector_type>
371 <pv_name></pv_name>
372 <foreground_color>
373 <color red="0" green="0" blue="0" />
374 </foreground_color>
375 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
376 <precision>0</precision>
377 <confirm_message></confirm_message>
378 <rules />
379 <limits_from_pv>false</limits_from_pv>
380 <border_color>
381 <color red="0" green="128" blue="255" />
382 </border_color>
383 <horizontal_alignment>2</horizontal_alignment>
384 <actions hook="false" hook_all="false" />
385 <y>355</y>
386 <tooltip>$(pv_name)
387$(pv_value)</tooltip>
388 <x>117</x>
389 </widget>
390 <widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0">
391 <visible>true</visible>
392 <vertical_alignment>1</vertical_alignment>
393 <wuid>3e7bb653:13d454f3d3a:-7f9a</wuid>
394 <auto_size>false</auto_size>
395 <scripts />
396 <height>20</height>
397 <name>Label_1</name>
398 <scale_options>
399 <width_scalable>true</width_scalable>
400 <height_scalable>true</height_scalable>
401 <keep_wh_ratio>false</keep_wh_ratio>
402 </scale_options>
403 <transparent>false</transparent>
404 <show_scrollbar>false</show_scrollbar>
405 <background_color>
406 <color red="240" green="240" blue="240" />
407 </background_color>
408 <foreground_color>
409 <color red="0" green="0" blue="0" />
410 </foreground_color>
411 <widget_type>Label</widget_type>
412 <enabled>true</enabled>
413 <text>Vert Scale</text>
414 <font>
415 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
416 </font>
417 <width>103</width>
418 <border_style>0</border_style>
419 <rules />
420 <border_width>1</border_width>
421 <border_color>
422 <color red="0" green="128" blue="255" />
423 </border_color>
424 <horizontal_alignment>1</horizontal_alignment>
425 <actions hook="false" hook_all="false" />
426 <y>355</y>
427 <wrap_words>true</wrap_words>
428 <tooltip></tooltip>
429 <x>6</x>
430 </widget>
431 <widget typeId="org.csstudio.opibuilder.widgets.TextInput" version="1.0">
432 <border_alarm_sensitive>false</border_alarm_sensitive>
433 <visible>true</visible>
434 <vertical_alignment>1</vertical_alignment>
435 <multiline_input>false</multiline_input>
436 <auto_size>false</auto_size>
437 <scripts />
438 <height>20</height>
439 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
440 <precision_from_pv>true</precision_from_pv>
441 <background_color>
442 <color red="255" green="255" blue="255" />
443 </background_color>
444 <widget_type>Text Input</widget_type>
445 <enabled>true</enabled>
446 <text>100</text>
447 <font>
448 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
449 </font>
450 <width>46</width>
451 <border_style>3</border_style>
452 <pv_value />
453 <border_width>1</border_width>
454 <maximum>1.7976931348623157E308</maximum>
455 <minimum>-1.7976931348623157E308</minimum>
456 <show_units>true</show_units>
457 <wuid>3e7bb653:13d454f3d3a:-7f72</wuid>
458 <rotation_angle>0.0</rotation_angle>
459 <name>Inp_VScale_max</name>
460 <scale_options>
461 <width_scalable>true</width_scalable>
462 <height_scalable>true</height_scalable>
463 <keep_wh_ratio>false</keep_wh_ratio>
464 </scale_options>
465 <format_type>0</format_type>
466 <transparent>false</transparent>
467 <selector_type>0</selector_type>
468 <pv_name></pv_name>
469 <foreground_color>
470 <color red="0" green="0" blue="0" />
471 </foreground_color>
472 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
473 <precision>0</precision>
474 <confirm_message></confirm_message>
475 <rules />
476 <limits_from_pv>false</limits_from_pv>
477 <border_color>
478 <color red="0" green="128" blue="255" />
479 </border_color>
480 <horizontal_alignment>2</horizontal_alignment>
481 <actions hook="false" hook_all="false" />
482 <y>355</y>
483 <tooltip>$(pv_name)
484$(pv_value)</tooltip>
485 <x>171</x>
486 </widget>
487 <widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0">
488 <visible>true</visible>
489 <vertical_alignment>1</vertical_alignment>
490 <wuid>3e7bb653:13d454f3d3a:-7f2a</wuid>
491 <auto_size>false</auto_size>
492 <scripts />
493 <height>20</height>
494 <name>Label_2</name>
495 <scale_options>
496 <width_scalable>true</width_scalable>
497 <height_scalable>true</height_scalable>
498 <keep_wh_ratio>false</keep_wh_ratio>
499 </scale_options>
500 <transparent>false</transparent>
501 <show_scrollbar>false</show_scrollbar>
502 <background_color>
503 <color red="240" green="240" blue="240" />
504 </background_color>
505 <foreground_color>
506 <color red="0" green="0" blue="0" />
507 </foreground_color>
508 <widget_type>Label</widget_type>
509 <enabled>true</enabled>
510 <text>min</text>
511 <font>
512 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
513 </font>
514 <width>37</width>
515 <border_style>0</border_style>
516 <rules />
517 <border_width>1</border_width>
518 <border_color>
519 <color red="0" green="128" blue="255" />
520 </border_color>
521 <horizontal_alignment>1</horizontal_alignment>
522 <actions hook="false" hook_all="false" />
523 <y>336</y>
524 <wrap_words>true</wrap_words>
525 <tooltip></tooltip>
526 <x>216</x>
527 </widget>
528 <widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="1.0">
529 <border_alarm_sensitive>false</border_alarm_sensitive>
530 <visible>true</visible>
531 <wuid>3e7bb653:13d454f3d3a:-7e45</wuid>
532 <scripts />
533 <height>19</height>
534 <name>Action Button_2</name>
535 <forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
536 <scale_options>
537 <width_scalable>true</width_scalable>
538 <height_scalable>true</height_scalable>
539 <keep_wh_ratio>false</keep_wh_ratio>
540 </scale_options>
541 <pv_name></pv_name>
542 <background_color>
543 <color red="240" green="240" blue="240" />
544 </background_color>
545 <foreground_color>
546 <color red="0" green="0" blue="0" />
547 </foreground_color>
548 <widget_type>Action Button</widget_type>
549 <enabled>true</enabled>
550 <text>Auto</text>
551 <backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
552 <font>
553 <opifont.name fontName="IPAGothic" height="12" style="0">Default</opifont.name>
554 </font>
555 <width>37</width>
556 <border_style>0</border_style>
557 <push_action_index>0</push_action_index>
558 <image></image>
559 <rules />
560 <pv_value />
561 <toggle_button>false</toggle_button>
562 <border_width>1</border_width>
563 <border_color>
564 <color red="0" green="128" blue="255" />
565 </border_color>
566 <y>355</y>
567 <actions hook="false" hook_all="false">
568 <action type="EXECUTE_PYTHONSCRIPT">
569 <path>scripts/changeVscale.py</path>
570 <scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
571
572display.getWidget("DataBrowser1").figure.dataBrowserPlot.XYGraph.primaryYAxis.setAutoScale(True)
573]]></scriptText>
574 <embedded>true</embedded>
575 <description></description>
576 </action>
577 </actions>
578 <tooltip>$(pv_name)
579$(pv_value)</tooltip>
580 <x>354</x>
581 </widget>
582</display>