From c0cc65d2f3a7f7dc67c08175615c72e944c08e79 Mon Sep 17 00:00:00 2001
From: Javier Cereijo Garcia <javier.cereijogarcia@ess.eu>
Date: Wed, 26 May 2021 19:15:08 +0200
Subject: [PATCH] FC: added transfer waveforms pvs to OPI

---
 99-Shared/adsis8300/system.bob | 85 +++++++++++++++++++++++++++-------
 1 file changed, 69 insertions(+), 16 deletions(-)

diff --git a/99-Shared/adsis8300/system.bob b/99-Shared/adsis8300/system.bob
index 5617382..1b9c81b 100644
--- a/99-Shared/adsis8300/system.bob
+++ b/99-Shared/adsis8300/system.bob
@@ -2,7 +2,7 @@
 <display version="2.0.0">
   <name>$(P)$(R) System</name>
   <width>1430</width>
-  <height>1040</height>
+  <height>1060</height>
   <actions>
   </actions>
   <widget type="rectangle" version="2.0.0">
@@ -29,7 +29,7 @@ $(pv_value)</tooltip>
   <widget type="rectangle" version="2.0.0">
     <name>Rectangle</name>
     <width>650</width>
-    <height>1040</height>
+    <height>1060</height>
     <line_width>0</line_width>
     <line_color>
       <color red="128" green="0" blue="255">
@@ -51,7 +51,7 @@ $(pv_value)</tooltip>
     <x>20</x>
     <y>580</y>
     <width>610</width>
-    <height>250</height>
+    <height>270</height>
     <line_width>0</line_width>
     <background_color>
       <color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
@@ -77,7 +77,7 @@ $(pv_value)</tooltip>
   <widget type="rectangle" version="2.0.0">
     <name>BGGrey03-background_11</name>
     <x>20</x>
-    <y>890</y>
+    <y>910</y>
     <width>610</width>
     <height>130</height>
     <line_width>0</line_width>
@@ -724,7 +724,7 @@ $(pv_value)</tooltip>
     <name>Text Update_104</name>
     <pv_name>$(P)$(R)MessageR</pv_name>
     <x>40</x>
-    <y>910</y>
+    <y>930</y>
     <width>570</width>
     <height>90</height>
     <background_color>
@@ -744,7 +744,7 @@ $(pv_value)</tooltip>
     <name>Text Input_2</name>
     <pv_name>$(P)$(R)NumSamples</pv_name>
     <x>420</x>
-    <y>700</y>
+    <y>720</y>
     <width>190</width>
     <height>30</height>
     <actions>
@@ -759,7 +759,7 @@ $(pv_value)</tooltip>
     <name>Label_219</name>
     <text>Number of samples:</text>
     <x>40</x>
-    <y>700</y>
+    <y>720</y>
     <width>150</width>
     <height>30</height>
     <horizontal_alignment>2</horizontal_alignment>
@@ -776,7 +776,7 @@ $(pv_value)</tooltip>
     <name>Text Input_3</name>
     <pv_name>$(P)$(R)ArrayCounter</pv_name>
     <x>420</x>
-    <y>740</y>
+    <y>760</y>
     <width>190</width>
     <height>30</height>
     <actions>
@@ -791,7 +791,7 @@ $(pv_value)</tooltip>
     <name>Label_220</name>
     <text>No. of acquisitions:</text>
     <x>40</x>
-    <y>740</y>
+    <y>760</y>
     <width>150</width>
     <height>30</height>
     <horizontal_alignment>2</horizontal_alignment>
@@ -861,7 +861,7 @@ $(pv_value)</tooltip>
     <name>Text Update_105</name>
     <pv_name>$(P)$(R)NumSamplesR</pv_name>
     <x>210</x>
-    <y>700</y>
+    <y>720</y>
     <width>190</width>
     <height>30</height>
     <horizontal_alignment>1</horizontal_alignment>
@@ -878,7 +878,7 @@ $(pv_value)</tooltip>
     <name>Text Update_106</name>
     <pv_name>$(P)$(R)ArrayCounter_RBV</pv_name>
     <x>210</x>
-    <y>740</y>
+    <y>760</y>
     <width>190</width>
     <height>30</height>
     <horizontal_alignment>1</horizontal_alignment>
@@ -904,7 +904,7 @@ $(pv_value)</tooltip>
     </actions>
     <text>Asyn</text>
     <x>250</x>
-    <y>650</y>
+    <y>680</y>
     <width>70</width>
     <background_color>
       <color red="240" green="240" blue="240">
@@ -924,7 +924,7 @@ $(pv_value)</tooltip>
     <name>Label_234</name>
     <text>Asyn record:</text>
     <x>40</x>
-    <y>650</y>
+    <y>680</y>
     <width>150</width>
     <height>30</height>
     <horizontal_alignment>2</horizontal_alignment>
@@ -941,7 +941,7 @@ $(pv_value)</tooltip>
     <name>Label_235</name>
     <text>Acquisition rate:</text>
     <x>40</x>
-    <y>780</y>
+    <y>800</y>
     <width>150</width>
     <height>30</height>
     <horizontal_alignment>2</horizontal_alignment>
@@ -958,7 +958,7 @@ $(pv_value)</tooltip>
     <name>Text Update_119</name>
     <pv_name>$(P)$(R)ArrayRate_RBV</pv_name>
     <x>210</x>
-    <y>780</y>
+    <y>800</y>
     <width>190</width>
     <height>30</height>
     <horizontal_alignment>1</horizontal_alignment>
@@ -989,7 +989,7 @@ $(pv_value)</tooltip>
   <widget type="label" version="2.0.0">
     <name>BGGrey02-title_18</name>
     <text>Driver message</text>
-    <y>840</y>
+    <y>860</y>
     <width>650</width>
     <height>50</height>
     <font>
@@ -1248,4 +1248,57 @@ $(pv_value)</tooltip>
       </color>
     </border_color>
   </widget>
+  <widget type="label" version="2.0.0">
+    <name>Label_272</name>
+    <text>Transfer waveforms:</text>
+    <x>30</x>
+    <y>640</y>
+    <width>160</width>
+    <height>30</height>
+    <horizontal_alignment>2</horizontal_alignment>
+    <vertical_alignment>1</vertical_alignment>
+    <wrap_words>false</wrap_words>
+    <actions>
+    </actions>
+    <border_color>
+      <color red="0" green="128" blue="255">
+      </color>
+    </border_color>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button_54</name>
+    <actions>
+      <action type="write_pv">
+        <pv_name>$(pv_name)</pv_name>
+        <value>1</value>
+      </action>
+    </actions>
+    <pv_name>$(P)$(R)TransferArrays</pv_name>
+    <text>Yes</text>
+    <x>250</x>
+    <y>640</y>
+    <width>70</width>
+  </widget>
+  <widget type="action_button" version="3.0.0">
+    <name>Action Button_55</name>
+    <actions>
+      <action type="write_pv">
+        <pv_name>$(pv_name)</pv_name>
+        <value>0</value>
+      </action>
+    </actions>
+    <pv_name>$(P)$(R)TransferArrays</pv_name>
+    <text>No</text>
+    <x>340</x>
+    <y>640</y>
+    <width>70</width>
+  </widget>
+  <widget type="led" version="2.0.0">
+    <name>LED_9</name>
+    <pv_name>$(P)$(R)TransferArraysR</pv_name>
+    <x>210</x>
+    <y>650</y>
+    <actions>
+    </actions>
+  </widget>
 </display>
-- 
GitLab