Skip to content
Snippets Groups Projects
Commit 1d460990 authored by Benjamin Bolling's avatar Benjamin Bolling
Browse files

Updated the LINAC Synoptic View.

parent 6ae785f7
No related branches found
No related tags found
1 merge request!183Updated the LINAC Synoptic View
Showing
with 54515 additions and 1464 deletions
......@@ -3,7 +3,7 @@
<name>linac-synoptic</name>
<class></class>
<width>2390</width>
<height>520</height>
<height>510</height>
<background_color>
<color name="BACKGROUND" red="220" green="225" blue="221">
</color>
......@@ -13,7 +13,24 @@
<file>synopticsfiles/linac_synoptics_main.bob</file>
<y>50</y>
<width>2370</width>
<height>470</height>
<height>460</height>
<rules>
<rule name="resizing" prop_id="resize" out_exp="false">
<exp bool_exp="pv0==0">
<value>0</value>
</exp>
<exp bool_exp="pv0==1">
<value>2</value>
</exp>
<pv_name>loc://synopticssizing</pv_name>
</rule>
<rule name="resetwidth" prop_id="width" out_exp="false">
<exp bool_exp="pv0==0">
<value>2370</value>
</exp>
<pv_name>loc://synopticssizing</pv_name>
</rule>
</rules>
</widget>
<widget type="rectangle" version="2.0.0">
<name>Rectangle_38</name>
......@@ -42,4 +59,11 @@
<vertical_alignment>1</vertical_alignment>
<wrap_words>false</wrap_words>
</widget>
<widget type="embedded" version="2.0.0">
<name>Embedded Display_1</name>
<file>linac_synoptics_settings.bob</file>
<y>70</y>
<width>1040</width>
<height>190</height>
</widget>
</display>
<?xml version="1.0" encoding="UTF-8"?>
<display version="2.0.0">
<name>linac-synoptics-settings</name>
<class></class>
<width>1040</width>
<height>190</height>
<background_color>
<color name="Transparent" red="255" green="255" blue="255" alpha="0">
</color>
</background_color>
<widget type="rectangle" version="2.0.0">
<name>MGGrey03-background_6</name>
<x>360</x>
<y>20</y>
<width>320</width>
<height>150</height>
<line_width>2</line_width>
<line_color>
<color name="GROUP-BORDER" red="150" green="155" blue="151">
</color>
</line_color>
<background_color>
<color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
</color>
</background_color>
<corner_width>10</corner_width>
<corner_height>10</corner_height>
</widget>
<widget type="label" version="2.0.0">
<name>MGGrey03-title_11</name>
<text>Device Settings</text>
<x>360</x>
<y>20</y>
<width>320</width>
<height>50</height>
<font>
<font family="Source Sans Pro" style="BOLD_ITALIC" size="21.0">
</font>
</font>
<background_color>
<color name="RED-BORDER" red="150" green="8" blue="16">
</color>
</background_color>
<horizontal_alignment>1</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="radio" version="2.0.0">
<name>Radio Button</name>
<pv_name>loc://synopticshowhideBLM(1)</pv_name>
<x>380</x>
<y>100</y>
<width>80</width>
<height>60</height>
<items>
<item>Hide</item>
<item>Show</item>
</items>
</widget>
<widget type="label" version="2.0.0">
<name>Label</name>
<text>BLMs:</text>
<x>380</x>
<y>70</y>
<width>90</width>
</widget>
<widget type="radio" version="2.0.0">
<name>Radio Button_1</name>
<pv_name>loc://synopticshowhidePBI(1)</pv_name>
<x>480</x>
<y>100</y>
<width>80</width>
<height>60</height>
<items>
<item>Hide</item>
<item>Show</item>
</items>
</widget>
<widget type="label" version="2.0.0">
<name>Label_1</name>
<text>PBI:</text>
<x>480</x>
<y>70</y>
<width>90</width>
</widget>
<widget type="radio" version="2.0.0">
<name>Radio Button_2</name>
<pv_name>loc://synopticshowhideBMD(1)</pv_name>
<x>580</x>
<y>100</y>
<width>80</width>
<height>60</height>
<items>
<item>Hide</item>
<item>Show</item>
</items>
</widget>
<widget type="label" version="2.0.0">
<name>Label_2</name>
<text>BMD:</text>
<x>580</x>
<y>70</y>
<width>90</width>
</widget>
<widget type="rectangle" version="2.0.0">
<name>MGGrey03-background_7</name>
<x>700</x>
<y>20</y>
<width>320</width>
<height>150</height>
<line_width>2</line_width>
<line_color>
<color name="GROUP-BORDER" red="150" green="155" blue="151">
</color>
</line_color>
<background_color>
<color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
</color>
</background_color>
<corner_width>10</corner_width>
<corner_height>10</corner_height>
</widget>
<widget type="label" version="2.0.0">
<name>MGGrey03-title_12</name>
<text>Synoptics Settings</text>
<x>700</x>
<y>20</y>
<width>320</width>
<height>50</height>
<font>
<font family="Source Sans Pro" style="BOLD_ITALIC" size="21.0">
</font>
</font>
<background_color>
<color name="RED-BORDER" red="150" green="8" blue="16">
</color>
</background_color>
<horizontal_alignment>1</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="radio" version="2.0.0">
<name>Radio Button_3</name>
<pv_name>loc://synopticsResizing</pv_name>
<x>860</x>
<y>70</y>
<width>110</width>
<height>90</height>
<items>
<item>No Resize</item>
<item>Size to fit</item>
<item>Stretch</item>
</items>
</widget>
<widget type="label" version="2.0.0">
<name>Label_3</name>
<text>Resizing:</text>
<x>770</x>
<y>70</y>
<width>80</width>
</widget>
<widget type="rectangle" version="2.0.0">
<name>MGGrey03-background_8</name>
<x>20</x>
<y>20</y>
<width>320</width>
<height>150</height>
<line_width>2</line_width>
<line_color>
<color name="GROUP-BORDER" red="150" green="155" blue="151">
</color>
</line_color>
<background_color>
<color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
</color>
</background_color>
<corner_width>10</corner_width>
<corner_height>10</corner_height>
</widget>
<widget type="label" version="2.0.0">
<name>MGGrey03-title_13</name>
<text>Section</text>
<x>20</x>
<y>20</y>
<width>320</width>
<height>50</height>
<font>
<font family="Source Sans Pro" style="BOLD_ITALIC" size="21.0">
</font>
</font>
<background_color>
<color name="RED-BORDER" red="150" green="8" blue="16">
</color>
</background_color>
<horizontal_alignment>1</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="textentry" version="3.0.0">
<name>Text Entry</name>
<pv_name>loc://synopticssectionname("MEBT")</pv_name>
<x>200</x>
<y>70</y>
<width>120</width>
<height>30</height>
<rules>
<rule name="visible" prop_id="visible" out_exp="false">
<exp bool_exp="pv0==1">
<value>true</value>
</exp>
<exp bool_exp="pv0==0">
<value>false</value>
</exp>
<pv_name>loc://manualsynopticssectionname</pv_name>
</rule>
</rules>
</widget>
<widget type="textupdate" version="2.0.0">
<name>Text Update</name>
<pv_name>loc://synopticssectionname</pv_name>
<x>120</x>
<y>122</y>
<width>200</width>
<height>30</height>
</widget>
<widget type="label" version="2.0.0">
<name>Label_7</name>
<text>Edit value:</text>
<x>105</x>
<y>70</y>
<width>80</width>
<height>30</height>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="label" version="2.0.0">
<name>Label_8</name>
<text>Set value:</text>
<x>30</x>
<y>120</y>
<width>80</width>
<height>30</height>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="checkbox" version="2.0.0">
<name>Check Box</name>
<pv_name>loc://manualsynopticssectionname(0)</pv_name>
<label>Manual</label>
<x>30</x>
<y>70</y>
<width>90</width>
<height>30</height>
</widget>
<widget type="action_button" version="3.0.0">
<name>Action Button_1</name>
<actions>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>ISRC-LEBT-RFQ</value>
<description>ISRC-LEBT-RFQ</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>MEBT</value>
<description>MEBT</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>DTL</value>
<description>DTL</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>Spk</value>
<description>Spk</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>MBL</value>
<description>MBL</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>HBL</value>
<description>HBL</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>HEBT</value>
<description>HEBT</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>A2T</value>
<description>A2T</description>
</action>
<action type="write_pv">
<pv_name>loc://synopticssectionname</pv_name>
<value>DmpL</value>
<description>DmpL</description>
</action>
</actions>
<x>200</x>
<y>70</y>
<width>120</width>
<rules>
<rule name="label" prop_id="text" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0</expression>
</exp>
<pv_name>loc://synopticssectionname</pv_name>
</rule>
<rule name="visible" prop_id="visible" out_exp="false">
<exp bool_exp="pv0==0">
<value>true</value>
</exp>
<exp bool_exp="pv0==1">
<value>false</value>
</exp>
<pv_name>loc://manualsynopticssectionname</pv_name>
</rule>
</rules>
<tooltip>$(actions)</tooltip>
</widget>
</display>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -69,40 +69,6 @@
<tooltip>not working yet.</tooltip>
<enabled>false</enabled>
</widget>
<widget type="led" version="2.0.0">
<name>LED Template_12</name>
<pv_name>PwrR.SEVR</pv_name>
<x>10</x>
<y>10</y>
<width>140</width>
<height>30</height>
<off_label>CONNECTION</off_label>
<off_color>
<color name="LED-GREEN-ON" red="70" green="255" blue="70">
</color>
</off_color>
<on_label>CONNECTION</on_label>
<on_color>
<color name="LED-RED-ON" red="255" green="60" blue="46">
</color>
</on_color>
<font>
<font family="Source Sans Pro" style="REGULAR" size="12.0">
</font>
</font>
<square>true</square>
<actions>
</actions>
<rules>
<rule name="pvname" prop_id="pv_name" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0+":PwrR.SEVR"</expression>
</exp>
<pv_name>$(synopticsPV)</pv_name>
</rule>
</rules>
<border_alarm_sensitive>false</border_alarm_sensitive>
</widget>
<widget type="group" version="2.0.0">
<name>XX</name>
<x>10</x>
......@@ -119,7 +85,7 @@
<rules>
<rule name="pvname" prop_id="pv_name" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0</expression>
<expression>pvStr0+":PROC1-RecordingR"</expression>
</exp>
<pv_name>$(synopticsPV)</pv_name>
</rule>
......@@ -150,7 +116,7 @@
<rules>
<rule name="pvname" prop_id="pv_name" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0+"-AvgValue"</expression>
<expression>pvStr0+":ACCT1-FlatTopCurrentR"</expression>
</exp>
<pv_name>$(synopticsPV)</pv_name>
</rule>
......@@ -173,7 +139,7 @@
<rules>
<rule name="pvname" prop_id="pv_name" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0+"-IPCH-RBV"</expression>
<expression>pvStr0+":ACCT1-FlatTopCurrentR"</expression>
</exp>
<pv_name>$(synopticsPV)</pv_name>
</rule>
......@@ -269,4 +235,35 @@
</trace>
</traces>
</widget>
<widget type="led" version="2.0.0">
<name>LED Template_14</name>
<x>10</x>
<y>10</y>
<width>140</width>
<height>30</height>
<off_color>
<color red="255" green="0" blue="0">
</color>
</off_color>
<on_color>
<color name="OK" red="0" green="255" blue="0">
</color>
</on_color>
<font>
<font family="Source Sans Pro" style="REGULAR" size="12.0">
</font>
</font>
<square>true</square>
<actions>
</actions>
<rules>
<rule name="pvname" prop_id="pv_name" out_exp="true">
<exp bool_exp="pvStr0">
<expression>pvStr0+":PROC1-RecordingR"</expression>
</exp>
<pv_name>$(synopticsPV)</pv_name>
</rule>
</rules>
<border_alarm_sensitive>false</border_alarm_sensitive>
</widget>
</display>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment