Skip to content

Commit

Permalink
cpsc2 : bwg, bwgplot
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   ACQ400/CPSC2_LAUNCHER.opi
	new file:   ACQ400/opi/bwg.opi
	new file:   ACQ400/opi/bwgx.opi
	new file:   ACQ400/opi/plot8_bwf.opi
  • Loading branch information
petermilne committed Jan 19, 2021
1 parent 3556f0b commit 924e149
Show file tree
Hide file tree
Showing 4 changed files with 1,090 additions and 0 deletions.
125 changes: 125 additions & 0 deletions ACQ400/CPSC2_LAUNCHER.opi
Original file line number Diff line number Diff line change
Expand Up @@ -3970,4 +3970,129 @@ $(pv_value)</tooltip>
<x>333</x>
<y>340</y>
</widget>
<widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="2.0.0">
<actions hook="false" hook_all="false">
<action type="WRITE_PV">
<pv_name>loc://bwg</pv_name>
<value>1</value>
<timeout>10</timeout>
<confirm_message></confirm_message>
<description></description>
</action>
</actions>
<alarm_pulsing>false</alarm_pulsing>
<backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
<background_color>
<color red="240" green="240" blue="240" />
</background_color>
<border_alarm_sensitive>false</border_alarm_sensitive>
<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="Noto Sans" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
<foreground_color>
<color red="0" green="0" blue="0" />
</foreground_color>
<height>31</height>
<image></image>
<name>bwg</name>
<push_action_index>0</push_action_index>
<pv_name>loc://bwg(0)</pv_name>
<pv_value />
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts>
<path pathString="scripts/LaunchOpi.js" checkConnect="true" sfe="false" seoe="false">
<pv trig="false">loc://UUT</pv>
<pv trig="false">loc://SITE2</pv>
<pv trig="true">loc://bwg</pv>
</path>
</scripts>
<style>0</style>
<text>BWG</text>
<toggle_button>false</toggle_button>
<tooltip>$(pv_name)
$(pv_value)</tooltip>
<visible>true</visible>
<widget_type>Action Button</widget_type>
<width>115</width>
<wuid>-26774cfe:177161aefaf:-78b1</wuid>
<x>457</x>
<y>294</y>
</widget>
<widget typeId="org.csstudio.opibuilder.widgets.ActionButton" version="2.0.0">
<actions hook="false" hook_all="false">
<action type="WRITE_PV">
<pv_name>loc://PLOT8B</pv_name>
<value>1</value>
<timeout>10</timeout>
<confirm_message></confirm_message>
<description></description>
</action>
</actions>
<alarm_pulsing>false</alarm_pulsing>
<backcolor_alarm_sensitive>false</backcolor_alarm_sensitive>
<background_color>
<color red="240" green="240" blue="240" />
</background_color>
<border_alarm_sensitive>false</border_alarm_sensitive>
<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="Noto Sans" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<forecolor_alarm_sensitive>false</forecolor_alarm_sensitive>
<foreground_color>
<color red="0" green="0" blue="0" />
</foreground_color>
<height>31</height>
<image></image>
<name>plot8_bwf</name>
<push_action_index>0</push_action_index>
<pv_name>loc://PLOT8B(0)</pv_name>
<pv_value />
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts>
<path pathString="scripts/LaunchOpi8.js" checkConnect="true" sfe="true" seoe="false">
<pv trig="false">loc://UUT</pv>
<pv trig="false">loc://SITE2</pv>
<pv trig="true">loc://PLOT8B</pv>
<pv trig="false">loc://plot_time</pv>
<pv trig="true">loc://bwf("AO:BWG")</pv>
<pv trig="true">loc://FNCALVC("V")</pv>
<pv trig="true">loc://CALVC("Voltage [V]")</pv>
<pv trig="true">loc://CALVTCB("BWG V")</pv>
</path>
</scripts>
<style>0</style>
<text>BWG PLOT</text>
<toggle_button>false</toggle_button>
<tooltip>$(pv_name)
$(pv_value)</tooltip>
<visible>true</visible>
<widget_type>Action Button</widget_type>
<width>115</width>
<wuid>-26774cfe:177161aefaf:-7172</wuid>
<x>457</x>
<y>340</y>
</widget>
</display>
237 changes: 237 additions & 0 deletions ACQ400/opi/bwg.opi
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
<?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>
</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>-26774cfe:177161aefaf:-78ae</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 red="255" green="255" blue="255" />
</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="Noto Sans" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<foreground_color>
<color red="0" green="0" blue="0" />
</foreground_color>
<height>49</height>
<horizontal_alignment>1</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 />
<text>BWG : BRAM Waveform Generator ${UUT}</text>
<tooltip></tooltip>
<transparent>true</transparent>
<vertical_alignment>1</vertical_alignment>
<visible>true</visible>
<widget_type>Label</widget_type>
<width>475</width>
<wrap_words>false</wrap_words>
<wuid>-26774cfe:177161aefaf:-7819</wuid>
<x>132</x>
<y>18</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>3</border_style>
<border_width>1</border_width>
<enabled>true</enabled>
<font>
<opifont.name fontName="Noto Sans" 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>67</height>
<macros>
<include_parent_macros>true</include_parent_macros>
<BLOCK>A</BLOCK>
</macros>
<name>Linking Container</name>
<opi_file>bwgx.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>721</width>
<wuid>-26774cfe:177161aefaf:-7402</wuid>
<x>24</x>
<y>132</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>3</border_style>
<border_width>1</border_width>
<enabled>true</enabled>
<font>
<opifont.name fontName="Noto Sans" 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>73</height>
<macros>
<include_parent_macros>true</include_parent_macros>
<BLOCK>B</BLOCK>
</macros>
<name>Linking Container_1</name>
<opi_file>bwgx.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>727</width>
<wuid>-26774cfe:177161aefaf:-7312</wuid>
<x>24</x>
<y>216</y>
</widget>
<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 red="255" green="255" blue="255" />
</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="Noto Sans" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<foreground_color>
<color red="0" green="0" blue="0" />
</foreground_color>
<height>37</height>
<horizontal_alignment>1</horizontal_alignment>
<name>Label_1</name>
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts />
<text>FREQ</text>
<tooltip></tooltip>
<transparent>true</transparent>
<vertical_alignment>1</vertical_alignment>
<visible>true</visible>
<widget_type>Label</widget_type>
<width>67</width>
<wrap_words>false</wrap_words>
<wuid>-26774cfe:177161aefaf:-725a</wuid>
<x>228</x>
<y>78</y>
</widget>
<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 red="255" green="255" blue="255" />
</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="Noto Sans" height="9" style="0" pixels="false">Default</opifont.name>
</font>
<foreground_color>
<color red="0" green="0" blue="0" />
</foreground_color>
<height>37</height>
<horizontal_alignment>1</horizontal_alignment>
<name>Label_2</name>
<rules />
<scale_options>
<width_scalable>true</width_scalable>
<height_scalable>true</height_scalable>
<keep_wh_ratio>false</keep_wh_ratio>
</scale_options>
<scripts />
<text>LEN</text>
<tooltip></tooltip>
<transparent>true</transparent>
<vertical_alignment>1</vertical_alignment>
<visible>true</visible>
<widget_type>Label</widget_type>
<width>67</width>
<wrap_words>false</wrap_words>
<wuid>-26774cfe:177161aefaf:-7259</wuid>
<x>426</x>
<y>78</y>
</widget>
</display>
Loading

0 comments on commit 924e149

Please sign in to comment.