Skip to content

Commit d5c4a2b

Browse files
Supermusr test updates
1 parent e431e7f commit d5c4a2b

File tree

2 files changed

+103
-5
lines changed

2 files changed

+103
-5
lines changed

base/uk.ac.stfc.isis.ibex.opis/resources/NucInstDig/graph.opi

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,102 @@ $(pv_value)</tooltip>
255255
<x>108</x>
256256
<y>558</y>
257257
</widget>
258+
<widget typeId="org.csstudio.opibuilder.widgets.LED" version="1.0.0">
259+
<actions hook="false" hook_all="false" />
260+
<alarm_pulsing>false</alarm_pulsing>
261+
<backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
262+
<background_color>
263+
<color red="240" green="240" blue="240" />
264+
</background_color>
265+
<bit>-1</bit>
266+
<border_alarm_sensitive>true</border_alarm_sensitive>
267+
<border_color>
268+
<color red="0" green="128" blue="255" />
269+
</border_color>
270+
<border_style>0</border_style>
271+
<border_width>1</border_width>
272+
<bulb_border>3</bulb_border>
273+
<bulb_border_color>
274+
<color red="150" green="150" blue="150" />
275+
</bulb_border_color>
276+
<data_type>0</data_type>
277+
<effect_3d>true</effect_3d>
278+
<enabled>true</enabled>
279+
<font>
280+
<opifont.name fontName="Segoe UI" height="9" style="0" pixels="false">Default</opifont.name>
281+
</font>
282+
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
283+
<foreground_color>
284+
<color red="192" green="192" blue="192" />
285+
</foreground_color>
286+
<height>20</height>
287+
<name>LED</name>
288+
<off_color>
289+
<color name="Major" red="255" green="0" blue="0" />
290+
</off_color>
291+
<off_label>OFF</off_label>
292+
<on_color>
293+
<color red="0" green="255" blue="0" />
294+
</on_color>
295+
<on_label>ON</on_label>
296+
<pv_name>$(PVROOT)$(TRACE):UPDATING</pv_name>
297+
<pv_value />
298+
<rules />
299+
<scale_options>
300+
<width_scalable>true</width_scalable>
301+
<height_scalable>true</height_scalable>
302+
<keep_wh_ratio>true</keep_wh_ratio>
303+
</scale_options>
304+
<scripts />
305+
<show_boolean_label>false</show_boolean_label>
306+
<square_led>false</square_led>
307+
<tooltip>$(pv_name)
308+
$(pv_value)</tooltip>
309+
<visible>true</visible>
310+
<widget_type>LED</widget_type>
311+
<width>20</width>
312+
<wuid>-3cc1d3c5:1851b24b11b:-7fb3</wuid>
313+
<x>323</x>
314+
<y>561</y>
315+
</widget>
316+
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
317+
<actions hook="false" hook_all="false" />
318+
<auto_size>false</auto_size>
319+
<background_color>
320+
<color red="255" green="255" blue="255" />
321+
</background_color>
322+
<border_color>
323+
<color red="0" green="128" blue="255" />
324+
</border_color>
325+
<border_style>0</border_style>
326+
<border_width>1</border_width>
327+
<enabled>true</enabled>
328+
<font>
329+
<opifont.name fontName="Segoe UI" height="9" style="0" pixels="false">Default</opifont.name>
330+
</font>
331+
<foreground_color>
332+
<color red="0" green="0" blue="0" />
333+
</foreground_color>
334+
<height>20</height>
335+
<horizontal_alignment>1</horizontal_alignment>
336+
<name>Label_1</name>
337+
<rules />
338+
<scale_options>
339+
<width_scalable>true</width_scalable>
340+
<height_scalable>true</height_scalable>
341+
<keep_wh_ratio>false</keep_wh_ratio>
342+
</scale_options>
343+
<scripts />
344+
<text>Updating</text>
345+
<tooltip></tooltip>
346+
<transparent>true</transparent>
347+
<vertical_alignment>1</vertical_alignment>
348+
<visible>true</visible>
349+
<widget_type>Label</widget_type>
350+
<width>80</width>
351+
<wrap_words>false</wrap_words>
352+
<wuid>-3cc1d3c5:1851b24b11b:-7faf</wuid>
353+
<x>244</x>
354+
<y>561</y>
355+
</widget>
258356
</display>

base/uk.ac.stfc.isis.ibex.opis/resources/NucInstDig/main.opi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<include_parent_macros>true</include_parent_macros>
2929
<PVROOT>$(P)$(NCINDG):</PVROOT>
3030
</macros>
31-
<name>$(PVROOT)START</name>
31+
<name>$(PVROOT)START:SP</name>
3232
<rules />
3333
<scripts />
3434
<show_close_button>true</show_close_button>
@@ -211,7 +211,7 @@
211211
<image></image>
212212
<name>Action Button</name>
213213
<push_action_index>0</push_action_index>
214-
<pv_name>$(PVROOT)START</pv_name>
214+
<pv_name>$(PVROOT)START:SP</pv_name>
215215
<pv_value />
216216
<rules />
217217
<scale_options>
@@ -265,7 +265,7 @@ $(pv_value)</tooltip>
265265
<image></image>
266266
<name>Action Button_1</name>
267267
<push_action_index>0</push_action_index>
268-
<pv_name>$(PVROOT)STOP</pv_name>
268+
<pv_name>$(PVROOT)STOP:SP</pv_name>
269269
<pv_value />
270270
<rules />
271271
<scale_options>
@@ -319,7 +319,7 @@ $(pv_value)</tooltip>
319319
<image></image>
320320
<name>Action Button_2</name>
321321
<push_action_index>0</push_action_index>
322-
<pv_name>$(PVROOT)RESET_DC_SPECTRA</pv_name>
322+
<pv_name>$(PVROOT)RESET_DC_SPECTRA:SP</pv_name>
323323
<pv_value />
324324
<rules />
325325
<scale_options>
@@ -364,7 +364,7 @@ $(pv_value)</tooltip>
364364
<height>40</height>
365365
<label></label>
366366
<name>Menu Button</name>
367-
<pv_name>$(PVROOT)READ_DC_SPECTRA</pv_name>
367+
<pv_name>$(PVROOT)READ_DC_SPECTRA:SP</pv_name>
368368
<pv_value />
369369
<rules />
370370
<scale_options>

0 commit comments

Comments
 (0)