Skip to content

Commit 4bff25c

Browse files
Tom-WillemsenJohn-Holt-Tessella
authored andcommitted
Update opi for john
1 parent 8b52d70 commit 4bff25c

File tree

1 file changed

+53
-1
lines changed

1 file changed

+53
-1
lines changed

base/uk.ac.stfc.isis.ibex.opis/resources/couette_cell.opi

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<background_color>
143143
<color name="ISIS_OPI_Background" red="240" green="240" blue="240" />
144144
</background_color>
145-
<width>277</width>
145+
<width>355</width>
146146
<x>6</x>
147147
<name>Position</name>
148148
<y>78</y>
@@ -1049,6 +1049,58 @@ $(pv_value)</tooltip>
10491049
<opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Value_NEW</opifont.name>
10501050
</font>
10511051
</widget>
1052+
<widget typeId="org.csstudio.opibuilder.widgets.NativeButton" version="1.0">
1053+
<toggle_button>false</toggle_button>
1054+
<border_style>0</border_style>
1055+
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
1056+
<tooltip>$(pv_name)
1057+
$(pv_value)</tooltip>
1058+
<push_action_index>0</push_action_index>
1059+
<rules />
1060+
<enabled>true</enabled>
1061+
<wuid>-58df6ed6:162e37c685d:-7edb</wuid>
1062+
<pv_value />
1063+
<text>Stop move</text>
1064+
<scripts />
1065+
<border_alarm_sensitive>false</border_alarm_sensitive>
1066+
<height>25</height>
1067+
<border_width>1</border_width>
1068+
<scale_options>
1069+
<width_scalable>true</width_scalable>
1070+
<height_scalable>true</height_scalable>
1071+
<keep_wh_ratio>false</keep_wh_ratio>
1072+
</scale_options>
1073+
<image></image>
1074+
<visible>true</visible>
1075+
<pv_name>$(PV_ROOT):MOTOR:STOP</pv_name>
1076+
<border_color>
1077+
<color name="ISIS_Border" red="0" green="0" blue="0" />
1078+
</border_color>
1079+
<widget_type>Button</widget_type>
1080+
<width>109</width>
1081+
<x>216</x>
1082+
<name>Button_1</name>
1083+
<y>54</y>
1084+
<foreground_color>
1085+
<color name="ISIS_Standard_Text" red="0" green="0" blue="0" />
1086+
</foreground_color>
1087+
<actions hook="false" hook_all="false">
1088+
<action type="EXECUTE_PYTHONSCRIPT">
1089+
<path>Common Scripts/sendOne.py</path>
1090+
<scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
1091+
1092+
pv = widget.getPV();
1093+
1094+
pv.setValue(2)
1095+
]]></scriptText>
1096+
<embedded>false</embedded>
1097+
<description></description>
1098+
</action>
1099+
</actions>
1100+
<font>
1101+
<opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Button_NEW</opifont.name>
1102+
</font>
1103+
</widget>
10521104
</widget>
10531105
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
10541106
<border_style>13</border_style>

0 commit comments

Comments
 (0)