Skip to content

Commit

Permalink
Update opi for john
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Willemsen authored and John-Holt-Tessella committed Apr 26, 2018
1 parent 8b52d70 commit 4bff25c
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion base/uk.ac.stfc.isis.ibex.opis/resources/couette_cell.opi
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<background_color>
<color name="ISIS_OPI_Background" red="240" green="240" blue="240" />
</background_color>
<width>277</width>
<width>355</width>
<x>6</x>
<name>Position</name>
<y>78</y>
Expand Down Expand Up @@ -1049,6 +1049,58 @@ $(pv_value)</tooltip>
<opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Value_NEW</opifont.name>
</font>
</widget>
<widget typeId="org.csstudio.opibuilder.widgets.NativeButton" version="1.0">
<toggle_button>false</toggle_button>
<border_style>0</border_style>
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
<tooltip>$(pv_name)
$(pv_value)</tooltip>
<push_action_index>0</push_action_index>
<rules />
<enabled>true</enabled>
<wuid>-58df6ed6:162e37c685d:-7edb</wuid>
<pv_value />
<text>Stop move</text>
<scripts />
<border_alarm_sensitive>false</border_alarm_sensitive>
<height>25</height>
<border_width>1</border_width>
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<image></image>
<visible>true</visible>
<pv_name>$(PV_ROOT):MOTOR:STOP</pv_name>
<border_color>
<color name="ISIS_Border" red="0" green="0" blue="0" />
</border_color>
<widget_type>Button</widget_type>
<width>109</width>
<x>216</x>
<name>Button_1</name>
<y>54</y>
<foreground_color>
<color name="ISIS_Standard_Text" red="0" green="0" blue="0" />
</foreground_color>
<actions hook="false" hook_all="false">
<action type="EXECUTE_PYTHONSCRIPT">
<path>Common Scripts/sendOne.py</path>
<scriptText><![CDATA[from org.csstudio.opibuilder.scriptUtil import PVUtil
pv = widget.getPV();
pv.setValue(2)
]]></scriptText>
<embedded>false</embedded>
<description></description>
</action>
</actions>
<font>
<opifont.name fontName="Segoe UI" height="9" style="0">ISIS_Button_NEW</opifont.name>
</font>
</widget>
</widget>
<widget typeId="org.csstudio.opibuilder.widgets.groupingContainer" version="1.0">
<border_style>13</border_style>
Expand Down

0 comments on commit 4bff25c

Please sign in to comment.