Skip to content
Snippets Groups Projects
Commit b581fe19 authored by Krisztián Löki's avatar Krisztián Löki
Browse files

Added oxygen concentration trend window

parent 1dc0e3ed
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<display version="2.0.0"> <display version="2.0.0">
<name>ODH Monitor</name> <name>ODH Monitor</name>
<width>300</width> <width>300</width>
<height>410</height> <height>450</height>
<widget type="group" version="2.0.0"> <widget type="group" version="2.0.0">
<name>Monitors Panel</name> <name>Monitors Panel</name>
<x>10</x> <x>10</x>
<y>10</y> <y>10</y>
<width>280</width> <width>280</width>
<height>390</height> <height>430</height>
<style>3</style> <style>3</style>
<background_color> <background_color>
<color name="BACKGROUND" red="220" green="225" blue="221"> <color name="BACKGROUND" red="220" green="225" blue="221">
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<widget type="rectangle" version="2.0.0"> <widget type="rectangle" version="2.0.0">
<name>BGGrey03-titlebar_1</name> <name>BGGrey03-titlebar_1</name>
<width>280</width> <width>280</width>
<height>390</height> <height>430</height>
<line_width>0</line_width> <line_width>0</line_width>
<background_color> <background_color>
<color name="GROUP-BORDER" red="150" green="155" blue="151"> <color name="GROUP-BORDER" red="150" green="155" blue="151">
...@@ -31,13 +31,13 @@ ...@@ -31,13 +31,13 @@
<x>10</x> <x>10</x>
<y>50</y> <y>50</y>
<width>260</width> <width>260</width>
<height>330</height> <height>370</height>
<style>3</style> <style>3</style>
<transparent>true</transparent> <transparent>true</transparent>
<widget type="rectangle" version="2.0.0"> <widget type="rectangle" version="2.0.0">
<name>BGGrey03-background_1</name> <name>BGGrey03-background_1</name>
<width>260</width> <width>260</width>
<height>330</height> <height>370</height>
<line_width>0</line_width> <line_width>0</line_width>
<background_color> <background_color>
<color name="GROUP-BACKGROUND" red="200" green="205" blue="201"> <color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
...@@ -51,13 +51,62 @@ ...@@ -51,13 +51,62 @@
<x>10</x> <x>10</x>
<y>10</y> <y>10</y>
<width>240</width> <width>240</width>
<height>310</height> <height>350</height>
<style>3</style> <style>3</style>
<widget type="label" version="2.0.0">
<name>LB_O2LEVEL</name>
<text>Oxygen Level:</text>
<x>20</x>
<y>20</y>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="textupdate" version="2.0.0">
<name>Text Update_O2Level</name>
<pv_name>$(P):O2Level</pv_name>
<x>126</x>
<y>20</y>
<width>62</width>
<precision>1</precision>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
<wrap_words>false</wrap_words>
</widget>
<widget type="action_button" version="3.0.0">
<name>Action Button</name>
<actions>
<action type="open_display">
<file>ODH_Trend.bob</file>
<target>standalone</target>
<description>Open Trend window</description>
</action>
</actions>
<text>Open Trend Window</text>
<x>20</x>
<y>59</y>
<width>168</width>
<tooltip>$(actions)</tooltip>
</widget>
<widget type="rectangle" version="2.0.0">
<name>Rectangle_3</name>
<x>20</x>
<y>98</y>
<width>200</width>
<height>1</height>
<line_width>1</line_width>
<line_color>
<color name="Grid" red="169" green="169" blue="169">
</color>
</line_color>
<background_color>
<color name="Grid" red="169" green="169" blue="169">
</color>
</background_color>
</widget>
<widget type="led" version="2.0.0"> <widget type="led" version="2.0.0">
<name>LED_LA</name> <name>LED_LA</name>
<pv_name>$(P):ODHAlarm</pv_name> <pv_name>$(P):ODHAlarm</pv_name>
<x>24</x> <x>24</x>
<y>78</y> <y>118</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -71,7 +120,7 @@ ...@@ -71,7 +120,7 @@
<name>LED_LB</name> <name>LED_LB</name>
<pv_name>$(P):ODHWarning</pv_name> <pv_name>$(P):ODHWarning</pv_name>
<x>24</x> <x>24</x>
<y>105</y> <y>145</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -85,7 +134,7 @@ ...@@ -85,7 +134,7 @@
<name>LED_OK</name> <name>LED_OK</name>
<pv_name>$(P):MonitHealthyErr</pv_name> <pv_name>$(P):MonitHealthyErr</pv_name>
<x>24</x> <x>24</x>
<y>132</y> <y>172</y>
<off_color> <off_color>
<color name="LED-GREEN-ON" red="70" green="255" blue="70"> <color name="LED-GREEN-ON" red="70" green="255" blue="70">
</color> </color>
...@@ -99,7 +148,7 @@ ...@@ -99,7 +148,7 @@
<name>LED_WARNING</name> <name>LED_WARNING</name>
<pv_name>$(P):Maint</pv_name> <pv_name>$(P):Maint</pv_name>
<x>24</x> <x>24</x>
<y>160</y> <y>200</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -113,7 +162,7 @@ ...@@ -113,7 +162,7 @@
<name>LED_ALARM</name> <name>LED_ALARM</name>
<pv_name>$(P):MonitWarning</pv_name> <pv_name>$(P):MonitWarning</pv_name>
<x>24</x> <x>24</x>
<y>187</y> <y>227</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -127,7 +176,7 @@ ...@@ -127,7 +176,7 @@
<name>LB_LA</name> <name>LB_LA</name>
<text>ODH Alarm (18%)</text> <text>ODH Alarm (18%)</text>
<x>72</x> <x>72</x>
<y>78</y> <y>118</y>
<width>116</width> <width>116</width>
<height>21</height> <height>21</height>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
...@@ -137,7 +186,7 @@ ...@@ -137,7 +186,7 @@
<name>LB_LB</name> <name>LB_LB</name>
<text>ODH Warning (19.5%)</text> <text>ODH Warning (19.5%)</text>
<x>72</x> <x>72</x>
<y>105</y> <y>145</y>
<width>160</width> <width>160</width>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
</widget> </widget>
...@@ -145,7 +194,7 @@ ...@@ -145,7 +194,7 @@
<name>LB_OK</name> <name>LB_OK</name>
<text>Monitor Healthy</text> <text>Monitor Healthy</text>
<x>72</x> <x>72</x>
<y>132</y> <y>172</y>
<width>108</width> <width>108</width>
<height>21</height> <height>21</height>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
...@@ -155,39 +204,22 @@ ...@@ -155,39 +204,22 @@
<name>LB_WARNING</name> <name>LB_WARNING</name>
<text>Maintenance</text> <text>Maintenance</text>
<x>72</x> <x>72</x>
<y>160</y> <y>200</y>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
</widget> </widget>
<widget type="label" version="2.0.0"> <widget type="label" version="2.0.0">
<name>LB_ALARM</name> <name>LB_ALARM</name>
<text>Monitor Warning</text> <text>Monitor Warning</text>
<x>72</x> <x>72</x>
<y>187</y> <y>227</y>
<width>150</width> <width>150</width>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
</widget> </widget>
<widget type="textupdate" version="2.0.0">
<name>Text Update_O2Level</name>
<pv_name>$(P):O2Level</pv_name>
<x>126</x>
<y>20</y>
<width>52</width>
<precision>1</precision>
<horizontal_alignment>2</horizontal_alignment>
<vertical_alignment>1</vertical_alignment>
<wrap_words>false</wrap_words>
</widget>
<widget type="label" version="2.0.0">
<name>LB_O2LEVEL</name>
<text>Oxygen Level:</text>
<x>20</x>
<y>20</y>
</widget>
<widget type="led" version="2.0.0"> <widget type="led" version="2.0.0">
<name>LED_ALARM_1</name> <name>LED_ALARM_1</name>
<pv_name>$(P):WarmUp</pv_name> <pv_name>$(P):WarmUp</pv_name>
<x>24</x> <x>24</x>
<y>215</y> <y>255</y>
<off_color> <off_color>
<color name="LED-RED-ON" red="255" green="60" blue="46"> <color name="LED-RED-ON" red="255" green="60" blue="46">
</color> </color>
...@@ -201,7 +233,7 @@ ...@@ -201,7 +233,7 @@
<name>LB_ALARM_1</name> <name>LB_ALARM_1</name>
<text>Warm-Up Status</text> <text>Warm-Up Status</text>
<x>72</x> <x>72</x>
<y>215</y> <y>255</y>
<width>110</width> <width>110</width>
<height>21</height> <height>21</height>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
...@@ -211,7 +243,7 @@ ...@@ -211,7 +243,7 @@
<name>LED_ALARM_2</name> <name>LED_ALARM_2</name>
<pv_name>$(P):SysOK</pv_name> <pv_name>$(P):SysOK</pv_name>
<x>24</x> <x>24</x>
<y>242</y> <y>282</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -225,7 +257,7 @@ ...@@ -225,7 +257,7 @@
<name>LB_ALARM_2</name> <name>LB_ALARM_2</name>
<text>SysOK</text> <text>SysOK</text>
<x>72</x> <x>72</x>
<y>242</y> <y>282</y>
<width>43</width> <width>43</width>
<height>21</height> <height>21</height>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
...@@ -235,7 +267,7 @@ ...@@ -235,7 +267,7 @@
<name>LED_ALARM_3</name> <name>LED_ALARM_3</name>
<pv_name>$(P):ConnLost</pv_name> <pv_name>$(P):ConnLost</pv_name>
<x>24</x> <x>24</x>
<y>268</y> <y>308</y>
<off_color> <off_color>
<color name="Grid" red="169" green="169" blue="169"> <color name="Grid" red="169" green="169" blue="169">
</color> </color>
...@@ -249,28 +281,12 @@ ...@@ -249,28 +281,12 @@
<name>LB_ALARM_3</name> <name>LB_ALARM_3</name>
<text>Lost Communication</text> <text>Lost Communication</text>
<x>72</x> <x>72</x>
<y>268</y> <y>308</y>
<width>140</width> <width>140</width>
<height>21</height> <height>21</height>
<vertical_alignment>1</vertical_alignment> <vertical_alignment>1</vertical_alignment>
<auto_size>true</auto_size> <auto_size>true</auto_size>
</widget> </widget>
<widget type="rectangle" version="2.0.0">
<name>Rectangle_3</name>
<x>20</x>
<y>58</y>
<width>200</width>
<height>1</height>
<line_width>1</line_width>
<line_color>
<color name="Grid" red="169" green="169" blue="169">
</color>
</line_color>
<background_color>
<color name="Grid" red="169" green="169" blue="169">
</color>
</background_color>
</widget>
</widget> </widget>
</widget> </widget>
<widget type="label" version="2.0.0"> <widget type="label" version="2.0.0">
...@@ -279,7 +295,7 @@ ...@@ -279,7 +295,7 @@
<width>280</width> <width>280</width>
<height>50</height> <height>50</height>
<font> <font>
<font family="Source Sans Pro" style="BOLD_ITALIC" size="20.0"> <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0">
</font> </font>
</font> </font>
<foreground_color> <foreground_color>
......
<?xml version="1.0" encoding="UTF-8"?>
<display version="2.0.0">
<name>ODH Trend</name>
<width>2200</width>
<height>1200</height>
<widget type="rectangle" version="2.0.0">
<name>Rectangle</name>
<x>10</x>
<y>10</y>
<width>2180</width>
<height>50</height>
<line_width>0</line_width>
<background_color>
<color name="GROUP-BORDER" red="150" green="155" blue="151">
</color>
</background_color>
<corner_width>10</corner_width>
<corner_height>10</corner_height>
</widget>
<widget type="label" version="2.0.0">
<name>Label</name>
<text>Oxygen concentration trend for $(P)</text>
<x>30</x>
<y>20</y>
<width>1000</width>
<height>30</height>
<font>
<font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0">
</font>
</font>
<vertical_alignment>1</vertical_alignment>
</widget>
<widget type="databrowser" version="2.0.0">
<name>Data Browser</name>
<file>ODH_Trend.plt</file>
<x>20</x>
<y>80</y>
<width>2160</width>
<height>1100</height>
</widget>
</display>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<databrowser>
<title></title>
<save_changes>true</save_changes>
<show_legend>false</show_legend>
<show_toolbar>true</show_toolbar>
<grid>false</grid>
<scroll>true</scroll>
<update_period>3.0</update_period>
<scroll_step>5</scroll_step>
<start>-1.00 h</start>
<end>now</end>
<archive_rescale>NONE</archive_rescale>
<foreground>
<red>0</red>
<green>0</green>
<blue>0</blue>
</foreground>
<background>
<red>255</red>
<green>255</green>
<blue>255</blue>
</background>
<title_font>Liberation Sans|20|1</title_font>
<label_font>Liberation Sans|14|1</label_font>
<scale_font>Liberation Sans|12|0</scale_font>
<legend_font>Liberation Sans|14|0</legend_font>
<axes>
<axis>
<visible>true</visible>
<name>Oxygen contentration</name>
<use_axis_name>true</use_axis_name>
<use_trace_names>false</use_trace_names>
<right>false</right>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<min>0.0</min>
<max>100.0</max>
<grid>false</grid>
<autoscale>false</autoscale>
<log_scale>false</log_scale>
</axis>
</axes>
<annotations>
</annotations>
<pvlist>
<pv>
<display_name>Oxygen concentration</display_name>
<visible>true</visible>
<name>$(P):O2Level</name>
<axis>0</axis>
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
<trace_type>LINES</trace_type>
<linewidth>1</linewidth>
<point_type>NONE</point_type>
<point_size>2</point_size>
<waveform_index>0</waveform_index>
<period>0.0</period>
<ring_size>5000</ring_size>
<request>RAW</request>
<archive>
<name>ESS Archiver</name>
<url>pbraw://archiver-02.tn.esss.lu.se:17668/retrieval</url>
<key>1</key>
</archive>
</pv>
</pvlist>
</databrowser>
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