Skip to content

Commit

Permalink
Merge pull request #1506 from ISISComputingGroup/Ticket7479
Browse files Browse the repository at this point in the history
Add standalone general i/o screen
  • Loading branch information
rerpha authored Nov 25, 2022
2 parents bae43f0 + a635079 commit 7b8048b
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8"?>
<display typeId="org.csstudio.opibuilder.Display" version="1.0.0">
<actions hook="false" hook_all="false" />
<auto_scale_widgets>
<auto_scale_widgets>false</auto_scale_widgets>
<min_width>-1</min_width>
<min_height>-1</min_height>
</auto_scale_widgets>
<auto_zoom_to_fit_all>false</auto_zoom_to_fit_all>
<background_color>
<color red="240" green="240" blue="240" />
</background_color>
<boy_version>5.1.0</boy_version>
<foreground_color>
<color red="192" green="192" blue="192" />
</foreground_color>
<grid_space>6</grid_space>
<height>600</height>
<macros>
<include_parent_macros>true</include_parent_macros>
<PV_ROOT>$(P)MOT:</PV_ROOT>
</macros>
<name></name>
<rules />
<scripts />
<show_close_button>true</show_close_button>
<show_edit_range>true</show_edit_range>
<show_grid>true</show_grid>
<show_ruler>true</show_ruler>
<snap_to_geometry>true</snap_to_geometry>
<widget_type>Display</widget_type>
<width>800</width>
<wuid>-5a16a077:1849f629923:-7cff</wuid>
<x>-1</x>
<y>-1</y>
<widget typeId="org.csstudio.opibuilder.widgets.Label" version="1.0.0">
<actions hook="false" hook_all="false" />
<auto_size>false</auto_size>
<background_color>
<color name="ISIS_Title_Background_NEW" red="240" green="240" blue="240" />
</background_color>
<border_color>
<color name="ISIS_Border" red="0" green="0" blue="0" />
</border_color>
<border_style>0</border_style>
<border_width>1</border_width>
<enabled>true</enabled>
<font>
<opifont.name fontName="Segoe UI" height="18" style="1" pixels="false">ISIS_Header1_NEW</opifont.name>
</font>
<foreground_color>
<color name="ISIS_Standard_Text" red="0" green="0" blue="0" />
</foreground_color>
<height>37</height>
<horizontal_alignment>0</horizontal_alignment>
<name>Label</name>
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts />
<show_scrollbar>false</show_scrollbar>
<text>Galil $(M) - General I/O</text>
<tooltip></tooltip>
<transparent>false</transparent>
<vertical_alignment>1</vertical_alignment>
<visible>true</visible>
<widget_type>Label</widget_type>
<width>775</width>
<wrap_words>true</wrap_words>
<wuid>-5a16a077:1849f629923:-7cf6</wuid>
<x>6</x>
<y>6</y>
</widget>
<widget typeId="org.csstudio.opibuilder.widgets.linkingContainer" version="1.0.0">
<actions hook="false" hook_all="false" />
<background_color>
<color red="240" green="240" blue="240" />
</background_color>
<border_color>
<color red="0" green="128" blue="255" />
</border_color>
<border_style>0</border_style>
<border_width>1</border_width>
<enabled>true</enabled>
<font>
<opifont.name fontName="Segoe UI" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<foreground_color>
<color red="192" green="192" blue="192" />
</foreground_color>
<group_name></group_name>
<height>385</height>
<macros>
<include_parent_macros>true</include_parent_macros>
<GALIL_PREFIX>$(PV_ROOT)DMC$(M):Galil</GALIL_PREFIX>
</macros>
<name>Linking Container</name>
<opi_file>general_IO.opi</opi_file>
<resize_behaviour>0</resize_behaviour>
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts />
<tooltip></tooltip>
<visible>true</visible>
<widget_type>Linking Container</widget_type>
<width>775</width>
<wuid>-5a16a077:1849f629923:-7cee</wuid>
<x>6</x>
<y>42</y>
</widget>
</display>
18 changes: 18 additions & 0 deletions base/uk.ac.stfc.isis.ibex.opis/resources/opi_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,24 @@
</categories>
</value>
</entry>
<entry>
<key>Galil General I/O</key>
<value>
<type>DEBUG</type>
<path>galil/general_io_standalone.opi</path>
<description>The OPI giving a view of the general inputs/outputs on a galil controller.</description>
<macros>
<macro>
<name>M</name>
<description>The galil prefix. E.g. the galil at MOT:MTR0304 would be 03</description>
<default>01</default>
</macro>
</macros>
<categories>
<category>Miscellaneous motion control</category>
</categories>
</value>
</entry>
<entry>
<key>Beckhoff Engineering View</key>
<value>
Expand Down

0 comments on commit 7b8048b

Please sign in to comment.