From 90f956dbaef70f6e3a35f59b7b3a42b18ab78042 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kriszti=C3=A1n=20L=C3=B6ki?= <krisztian.loki@esss.se>
Date: Thu, 9 Jan 2020 17:55:34 +0100
Subject: [PATCH] Added OPIs for lm510

---
 NON-APPROVED/TS2/lm510/lm510.bob    | 286 +++++++++++++
 NON-APPROVED/TS2/lm510/lm510_lt.bob | 637 ++++++++++++++++++++++++++++
 2 files changed, 923 insertions(+)
 create mode 100644 NON-APPROVED/TS2/lm510/lm510.bob
 create mode 100644 NON-APPROVED/TS2/lm510/lm510_lt.bob

diff --git a/NON-APPROVED/TS2/lm510/lm510.bob b/NON-APPROVED/TS2/lm510/lm510.bob
new file mode 100644
index 00000000..d61daccc
--- /dev/null
+++ b/NON-APPROVED/TS2/lm510/lm510.bob
@@ -0,0 +1,286 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<display version="2.0.0">
+  <name>$(DEVICE)</name>
+  <scripts>
+    <script file="EmbeddedPy">
+      <text><![CDATA[# Embedded python script
+from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil
+
+macros = widget.getPropertyValue("macros")
+
+def ch_x(idx):
+    devname = PVUtil.getString(pvs[idx - 1])
+    macros.add("DEVICE_CH" + str(idx), devname)
+    ch_widget = ScriptUtil.findWidgetByName(widget, "Open Ch" + str(idx))
+    if devname:
+        ch_widget.setPropertyValue("text", devname)
+    else:
+        ch_widget.setPropertyValue("enabled", False)
+
+ch_x(1)
+ch_x(2)
+widget.setPropertyValue("macros", macros)
+]]></text>
+      <pv_name>$(DEVICE):Ch1DevNameR</pv_name>
+      <pv_name>$(DEVICE):Ch2DevNameR</pv_name>
+    </script>
+  </scripts>
+  <widget type="label" version="2.0.0">
+    <name>LM510</name>
+    <text>Cryogenics Level Monitor $(DEVICE)</text>
+    <width>800</width>
+    <height>25</height>
+    <font>
+      <font name="Header 3" family="Source Sans Pro" style="BOLD_ITALIC" size="18.0">
+      </font>
+    </font>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Manufacturer</name>
+    <text>Manufacturer:</text>
+    <x>10</x>
+    <y>35</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Model</name>
+    <text>Model:</text>
+    <x>10</x>
+    <y>65</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Serial</name>
+    <text>Serial:</text>
+    <x>10</x>
+    <y>95</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Firmware</name>
+    <text>Firmware:</text>
+    <x>10</x>
+    <y>125</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>ManufR</name>
+    <pv_name>$(DEVICE):ManufR</pv_name>
+    <x>120</x>
+    <y>35</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>ModelR</name>
+    <pv_name>$(DEVICE):ModelR</pv_name>
+    <x>120</x>
+    <y>65</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SerNumR</name>
+    <pv_name>$(DEVICE):SerNumR</pv_name>
+    <x>120</x>
+    <y>95</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>FWVerR</name>
+    <pv_name>$(DEVICE):FWVerR</pv_name>
+    <x>120</x>
+    <y>125</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="navtabs" version="2.0.0">
+    <name>Navigation Tabs</name>
+    <tabs>
+      <tab>
+        <name>Channel 1</name>
+        <file>lm510_lt.bob</file>
+        <macros>
+          <DEVICE>$(DEVICE_CH1)</DEVICE>
+        </macros>
+        <group_name></group_name>
+      </tab>
+      <tab>
+        <name>Channel 2</name>
+        <file>lm510_lt.bob</file>
+        <macros>
+          <DEVICE>$(DEVICE_CH2)</DEVICE>
+        </macros>
+        <group_name></group_name>
+      </tab>
+    </tabs>
+    <x>10</x>
+    <y>170</y>
+    <width>780</width>
+    <height>430</height>
+    <direction>0</direction>
+    <selected_color>
+      <color name="GREEN-BORDER" red="40" green="140" blue="40">
+      </color>
+    </selected_color>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Operation Mode</name>
+    <text>Operation Mode:</text>
+    <x>270</x>
+    <y>35</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+    <tooltip>Operation Mode</tooltip>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>Mode-RB</name>
+    <pv_name>$(DEVICE):Mode-RB</pv_name>
+    <x>400</x>
+    <y>35</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>CommsStatR</name>
+    <pv_name>$(DEVICE):CommsStatR</pv_name>
+    <x>627</x>
+    <y>3</y>
+    <width>170</width>
+    <transparent>true</transparent>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Error</name>
+    <text>Errors:</text>
+    <x>560</x>
+    <y>35</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>ErrStrR</name>
+    <pv_name>$(DEVICE):SystErrR</pv_name>
+    <x>690</x>
+    <y>35</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Control mode</name>
+    <text>Control mode:</text>
+    <x>270</x>
+    <y>65</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="combo" version="2.0.0">
+    <name>CtrlModeS</name>
+    <pv_name>$(DEVICE):CtrlModeS</pv_name>
+    <x>400</x>
+    <y>65</y>
+    <height>20</height>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>CtrlMode-RB</name>
+    <pv_name>$(DEVICE):CtrlMode-RB</pv_name>
+    <x>510</x>
+    <y>65</y>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>Ch1TypeR</name>
+    <pv_name>$(DEVICE):Ch1TypeR</pv_name>
+    <x>400</x>
+    <y>95</y>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>Ch2TypeR</name>
+    <pv_name>$(DEVICE):Ch2TypeR</pv_name>
+    <x>400</x>
+    <y>125</y>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Channel 1</name>
+    <text>Channel 1:</text>
+    <x>270</x>
+    <y>95</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Channel 2</name>
+    <text>Channel 2:</text>
+    <x>270</x>
+    <y>125</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Open Ch1</name>
+    <actions>
+      <action type="open_display">
+        <file>lm510_lt.bob</file>
+        <macros>
+          <DEVICE>$(DEVICE_CH1)</DEVICE>
+        </macros>
+        <target>standalone</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <pv_name>$(DEVICE):Ch1DevNameR</pv_name>
+    <text></text>
+    <x>510</x>
+    <y>95</y>
+    <height>20</height>
+    <tooltip>$(actions)</tooltip>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Open Ch2</name>
+    <actions>
+      <action type="open_display">
+        <file>lm510_lt.bob</file>
+        <macros>
+          <DEVICE>$(DEVICE_CH2)</DEVICE>
+        </macros>
+        <target>standalone</target>
+        <description>Open Display</description>
+      </action>
+    </actions>
+    <pv_name>$(DEVICE):Ch2DevNameR</pv_name>
+    <text></text>
+    <x>510</x>
+    <y>125</y>
+    <height>20</height>
+    <tooltip>$(actions)</tooltip>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Reset Button</name>
+    <actions>
+      <action type="write_pv">
+        <pv_name>$(pv_name)</pv_name>
+        <value>1</value>
+        <description>Reset</description>
+      </action>
+    </actions>
+    <pv_name>$(DEVICE):Rst</pv_name>
+    <x>660</x>
+    <y>95</y>
+    <tooltip>$(actions)</tooltip>
+  </widget>
+</display>
diff --git a/NON-APPROVED/TS2/lm510/lm510_lt.bob b/NON-APPROVED/TS2/lm510/lm510_lt.bob
new file mode 100644
index 00000000..5787cdda
--- /dev/null
+++ b/NON-APPROVED/TS2/lm510/lm510_lt.bob
@@ -0,0 +1,637 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<display version="2.0.0">
+  <name>$(DEVICE)</name>
+  <width>751</width>
+  <height>392</height>
+  <widget type="label" version="2.0.0">
+    <name>LT on LM510</name>
+    <text> monitor $(DEVICE)</text>
+    <width>751</width>
+    <height>25</height>
+    <font>
+      <font name="Header 3" family="Source Sans Pro" style="BOLD_ITALIC" size="18.0">
+      </font>
+    </font>
+    <vertical_alignment>1</vertical_alignment>
+    <scripts>
+      <script file="EmbeddedPy">
+        <text><![CDATA[# Embedded python script
+from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil
+
+widget.setPropertyValue("text", PVUtil.getString(pvs[0]) + widget.getPropertyValue("text"))
+]]></text>
+        <pv_name>$(DEVICE):TypeR</pv_name>
+      </script>
+    </scripts>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Level</name>
+    <text>Level:</text>
+    <x>10</x>
+    <y>35</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>LvlR</name>
+    <pv_name>$(DEVICE):LvlR</pv_name>
+    <x>120</x>
+    <y>35</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Measure</name>
+    <actions>
+      <action type="write_pv">
+        <pv_name>$(pv_name)</pv_name>
+        <value>1</value>
+        <description>Measure!</description>
+      </action>
+    </actions>
+    <pv_name>$(DEVICE):MeasS</pv_name>
+    <x>230</x>
+    <y>35</y>
+    <height>20</height>
+    <tooltip>Start measurement</tooltip>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>ReadStatR</name>
+    <pv_name>$(DEVICE):ReadStatR</pv_name>
+    <x>10</x>
+    <y>70</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>CtrlStatR</name>
+    <pv_name>$(DEVICE):CtrlStatR</pv_name>
+    <x>185</x>
+    <y>70</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>CtrlTimoR</name>
+    <pv_name>$(DEVICE):CtrlTimoR</pv_name>
+    <x>360</x>
+    <y>70</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="LED-YELLOW-ON" red="255" green="235" blue="17">
+      </color>
+    </on_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>InhStatR</name>
+    <pv_name>$(DEVICE):InhStatR</pv_name>
+    <x>535</x>
+    <y>70</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="LED-YELLOW-ON" red="255" green="235" blue="17">
+      </color>
+    </on_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>AlrmStatR</name>
+    <pv_name>$(DEVICE):AlrmStatR</pv_name>
+    <x>185</x>
+    <y>110</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="LED-RED-ON" red="255" green="60" blue="46">
+      </color>
+    </on_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+    <rules>
+      <rule name="Font color" prop_id="foreground_color" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <color name="WHITE" red="255" green="255" blue="255">
+            </color>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+      <rule name="Font style" prop_id="font" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
+            </font>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+    </rules>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>LHeSensStatR</name>
+    <pv_name>$(DEVICE):LHeSensStatR</pv_name>
+    <x>360</x>
+    <y>110</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="LED-RED-ON" red="255" green="60" blue="46">
+      </color>
+    </on_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+    <rules>
+      <rule name="Font color" prop_id="foreground_color" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <color name="WHITE" red="255" green="255" blue="255">
+            </color>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+      <rule name="Font style" prop_id="font" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
+            </font>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+    </rules>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>BurnOutStatR</name>
+    <pv_name>$(DEVICE):BurnOutStatR</pv_name>
+    <x>535</x>
+    <y>110</y>
+    <width>160</width>
+    <height>25</height>
+    <off_color>
+      <color name="Background" red="220" green="225" blue="221">
+      </color>
+    </off_color>
+    <on_color>
+      <color name="LED-RED-ON" red="255" green="60" blue="46">
+      </color>
+    </on_color>
+    <line_color>
+      <color name="GRAY-BORDER" red="121" green="121" blue="121">
+      </color>
+    </line_color>
+    <square>true</square>
+    <labels_from_pv>true</labels_from_pv>
+    <rules>
+      <rule name="Font color" prop_id="foreground_color" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <color name="WHITE" red="255" green="255" blue="255">
+            </color>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+      <rule name="Font style" prop_id="font" out_exp="false">
+        <exp bool_exp="pvInt0">
+          <value>
+            <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
+            </font>
+          </value>
+        </exp>
+        <pv_name>$(pv_name)</pv_name>
+      </rule>
+    </rules>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Units</name>
+    <text>Units:</text>
+    <x>10</x>
+    <y>160</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="combo" version="2.0.0">
+    <name>UnitS</name>
+    <pv_name>$(DEVICE):UnitS</pv_name>
+    <x>141</x>
+    <y>160</y>
+    <height>20</height>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>Unit-RB</name>
+    <pv_name>$(DEVICE):Unit-RB</pv_name>
+    <x>251</x>
+    <y>160</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Sensor Length</name>
+    <text>Sensor Length:</text>
+    <x>10</x>
+    <y>190</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textentry" version="3.0.0">
+    <name>SensorLenS</name>
+    <pv_name>$(DEVICE):SensorLenS</pv_name>
+    <x>140</x>
+    <y>190</y>
+    <wrap_words>true</wrap_words>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SensorLenR</name>
+    <pv_name>$(DEVICE):SensorLenR</pv_name>
+    <x>251</x>
+    <y>190</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Control Mode</name>
+    <text>Control Mode:</text>
+    <x>10</x>
+    <y>220</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="combo" version="2.0.0">
+    <name>CtrlRlyModeS</name>
+    <pv_name>$(DEVICE):CtrlRlyModeS</pv_name>
+    <x>140</x>
+    <y>220</y>
+    <height>20</height>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>CtrlRlyMode-RB</name>
+    <pv_name>$(DEVICE):CtrlRlyMode-RB</pv_name>
+    <x>250</x>
+    <y>220</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Fill Time</name>
+    <text>Elapsed Fill Time:</text>
+    <x>10</x>
+    <y>250</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>CtrlRlyActiveTimR</name>
+    <pv_name>$(DEVICE):CtrlRlyActiveTimR</pv_name>
+    <x>250</x>
+    <y>250</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Boost Mode</name>
+    <text>Boost Mode:</text>
+    <x>381</x>
+    <y>160</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="combo" version="2.0.0">
+    <name>BoostS</name>
+    <pv_name>$(DEVICE):BoostS</pv_name>
+    <x>511</x>
+    <y>160</y>
+    <width>120</width>
+    <height>20</height>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>Boost-RB</name>
+    <pv_name>$(DEVICE):Boost-RB</pv_name>
+    <x>641</x>
+    <y>160</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Operation Mode</name>
+    <text>Operation Mode:</text>
+    <x>381</x>
+    <y>190</y>
+    <width>120</width>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="combo" version="2.0.0">
+    <name>SamplModeS</name>
+    <pv_name>$(DEVICE):SamplModeS</pv_name>
+    <x>511</x>
+    <y>190</y>
+    <width>120</width>
+    <height>20</height>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SamplMode-RB</name>
+    <pv_name>$(DEVICE):SamplMode-RB</pv_name>
+    <x>641</x>
+    <y>190</y>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>Sample Interval</name>
+    <text>Sample Interval:</text>
+    <x>381</x>
+    <y>220</y>
+    <width>120</width>
+    <height>50</height>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textentry" version="3.0.0">
+    <name>SamplIntvlHourS</name>
+    <pv_name>$(DEVICE):SamplIntvlHourS</pv_name>
+    <x>511</x>
+    <y>220</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <wrap_words>true</wrap_words>
+  </widget>
+  <widget type="textentry" version="3.0.0">
+    <name>SamplIntvlMinS</name>
+    <pv_name>$(DEVICE):SamplIntvlMinS</pv_name>
+    <x>542</x>
+    <y>220</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <wrap_words>true</wrap_words>
+  </widget>
+  <widget type="textentry" version="3.0.0">
+    <name>SamplIntvlSecS</name>
+    <pv_name>$(DEVICE):SamplIntvlSecS</pv_name>
+    <x>573</x>
+    <y>220</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <wrap_words>true</wrap_words>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>h_m_sS</name>
+    <text>h:m:s</text>
+    <x>604</x>
+    <y>220</y>
+    <width>40</width>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Sample Commit</name>
+    <actions>
+      <action type="write_pv">
+        <pv_name>$(pv_name)</pv_name>
+        <value>1</value>
+        <description>Commit Interval</description>
+      </action>
+      <action type="write_pv">
+        <pv_name>$(DEVICE):SamplIntvlContS</pv_name>
+        <value>1</value>
+        <description>Set Continuous Sampling</description>
+      </action>
+    </actions>
+    <pv_name>$(DEVICE):SamplIntvlS</pv_name>
+    <x>654</x>
+    <y>220</y>
+    <width>87</width>
+    <height>20</height>
+    <tooltip>$(actions)</tooltip>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SamplIntvlHour-RB</name>
+    <pv_name>$(DEVICE):SamplIntvlHour-RB</pv_name>
+    <x>511</x>
+    <y>250</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SamplIntvlMin-RB</name>
+    <pv_name>$(DEVICE):SamplIntvlMin-RB</pv_name>
+    <x>542</x>
+    <y>250</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="textupdate" version="2.0.0">
+    <name>SamplIntvlSec-RB</name>
+    <pv_name>$(DEVICE):SamplIntvlSec-RB</pv_name>
+    <x>573</x>
+    <y>250</y>
+    <width>25</width>
+    <show_units>false</show_units>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="label" version="2.0.0">
+    <name>h_m_s-RB</name>
+    <text>h:m:s</text>
+    <x>604</x>
+    <y>250</y>
+    <width>40</width>
+    <vertical_alignment>1</vertical_alignment>
+  </widget>
+  <widget type="group" version="2.0.0">
+    <name>Alarm Thresholds</name>
+    <x>10</x>
+    <y>290</y>
+    <width>312</width>
+    <height>92</height>
+    <transparent>true</transparent>
+    <widget type="label" version="2.0.0">
+      <name>Low</name>
+      <text>Low:</text>
+      <width>50</width>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="textentry" version="3.0.0">
+      <name>LowAlrmThreshS</name>
+      <pv_name>$(DEVICE):LowAlrmThreshS</pv_name>
+      <x>60</x>
+      <wrap_words>true</wrap_words>
+      <actions>
+        <action type="write_pv">
+          <pv_name>$(DEVICE):LowAlrmThreshDisS</pv_name>
+          <value>1</value>
+          <description>Disable Alarm</description>
+        </action>
+      </actions>
+    </widget>
+    <widget type="textupdate" version="2.0.0">
+      <name>LowAlrmThresh-RB</name>
+      <pv_name>$(DEVICE):LowAlrmThresh-RB</pv_name>
+      <x>170</x>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="label" version="2.0.0">
+      <name>High</name>
+      <text>High:</text>
+      <y>30</y>
+      <width>50</width>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="textentry" version="3.0.0">
+      <name>HighAlrmThreshS</name>
+      <pv_name>$(DEVICE):HighAlrmThreshS</pv_name>
+      <x>60</x>
+      <y>30</y>
+      <wrap_words>true</wrap_words>
+      <actions>
+        <action type="write_pv">
+          <pv_name>$(DEVICE):HighAlrmThreshDisS</pv_name>
+          <value>1</value>
+          <description>Disable Alarm</description>
+        </action>
+      </actions>
+    </widget>
+    <widget type="textupdate" version="2.0.0">
+      <name>HighAlrmThresh-RB</name>
+      <pv_name>$(DEVICE):HighAlrmThresh-RB</pv_name>
+      <x>170</x>
+      <y>30</y>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+  </widget>
+  <widget type="group" version="2.0.0">
+    <name>Control Thresholds</name>
+    <x>381</x>
+    <y>290</y>
+    <width>312</width>
+    <height>92</height>
+    <transparent>true</transparent>
+    <widget type="label" version="2.0.0">
+      <name>Low</name>
+      <text>Low:</text>
+      <width>50</width>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="textentry" version="3.0.0">
+      <name>LowCtrlThreshS</name>
+      <pv_name>$(DEVICE):LowCtrlThreshS</pv_name>
+      <x>60</x>
+      <wrap_words>true</wrap_words>
+      <actions>
+        <action type="write_pv">
+          <pv_name>$(DEVICE):LowCtrlThreshDisS</pv_name>
+          <value>1</value>
+          <description>Disable Control</description>
+        </action>
+      </actions>
+    </widget>
+    <widget type="textupdate" version="2.0.0">
+      <name>LowCtrlThresh-RB</name>
+      <pv_name>$(DEVICE):LowCtrlThresh-RB</pv_name>
+      <x>170</x>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="label" version="2.0.0">
+      <name>High</name>
+      <text>High:</text>
+      <y>30</y>
+      <width>50</width>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+    <widget type="textentry" version="3.0.0">
+      <name>HighCtrlThreshS</name>
+      <pv_name>$(DEVICE):HighCtrlThreshS</pv_name>
+      <x>60</x>
+      <y>30</y>
+      <wrap_words>true</wrap_words>
+      <actions>
+        <action type="write_pv">
+          <pv_name>$(DEVICE):HighCtrlThreshDisS</pv_name>
+          <value>1</value>
+          <description>Disable Control</description>
+        </action>
+      </actions>
+    </widget>
+    <widget type="textupdate" version="2.0.0">
+      <name>HighCtrlThresh-RB</name>
+      <pv_name>$(DEVICE):HighCtrlThresh-RB</pv_name>
+      <x>170</x>
+      <y>30</y>
+      <horizontal_alignment>2</horizontal_alignment>
+      <vertical_alignment>1</vertical_alignment>
+    </widget>
+  </widget>
+</display>
-- 
GitLab