From 95367bf5a7fe7c7066e21d8aee99d38a6e5e925d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20L=C3=B6ki?= <krisztian.loki@ess.eu> Date: Fri, 18 Sep 2020 16:05:21 +0200 Subject: [PATCH] Added VPI faceplate --- .../vpi/Faceplate/open_engineering_screen.py | 33 + .../DEVICES/vacuum/vpi/Faceplate/vac-vpi.bob | 1223 +++++++++++++++++ .../vpi/Faceplate/vac_digitelqpce_vpi.bob | 1005 ++++++++++++++ .../vpi/Faceplate/vac_digitelqpce_vpi_ao.bob | 294 ++++ .../vpi/Faceplate/vac_digitelqpce_vpi_di.bob | 208 +++ .../vpi/Faceplate/vac_digitelqpce_vpi_do.bob | 295 ++++ .../Faceplate/vac_digitelqpce_vpi_relay.bob | 295 ++++ .../COMMON/DEVICES/vacuum/vpi/pressure.py | 45 + .../COMMON/DEVICES/vacuum/vpi/vac_vpi.bob | 12 +- .../COMMON/DEVICES/vacuum/vpi/warning.py | 0 10 files changed, 3403 insertions(+), 7 deletions(-) create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/open_engineering_screen.py create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac-vpi.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_ao.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_di.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_do.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_relay.bob create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/pressure.py create mode 100644 NON-APPROVED/COMMON/DEVICES/vacuum/vpi/warning.py diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/open_engineering_screen.py b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/open_engineering_screen.py new file mode 100644 index 00000000..949dd232 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/open_engineering_screen.py @@ -0,0 +1,33 @@ +from org.csstudio.display.builder.runtime.script import PVUtil +from org.csstudio.display.builder.runtime.script import ScriptUtil +from org.csstudio.display.builder.runtime.pv import PVFactory +from time import sleep + +digitelqpce = "vac_digitelqpce_vpi.bob" + +macros = widget.getEffectiveMacros() +macros.expandValues(macros) +controller = macros.getValue("CONTROLLER") +try: + pumpPV = PVFactory.getPV("{}:iUITypeR".format(controller)) + pump = pumpPV.read() + PVFactory.releasePV(pumpPV) + pump = pump.value + if "digitelqpc" in pump.lower(): + path = digitelqpce + else: + path = digitelqpce + ScriptUtil.getLogger().severe("Cannot determine controller type: '{}', Falling back to Digitel QPCe faceplate".format(pump)) +except Exception as e: + path = digitelqpce + ScriptUtil.getLogger().severe(str(e)) + ScriptUtil.getLogger().severe("Falling back to Digitel QPCe faceplate") + + +#macros.add("DEVICENAME", controller) +macros.add("DEVICENAME", "${vacPREFIX}") +dmacros = dict() +for k in macros.getNames(): + dmacros[k] = macros.getValue(k) + +ScriptUtil.openDisplay(widget, path, "STANDALONE", dmacros) diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac-vpi.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac-vpi.bob new file mode 100644 index 00000000..53c6db29 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac-vpi.bob @@ -0,0 +1,1223 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(SEC)-$(SUBSEC):$(DIS)-$(DEV)-$(IDX)</name> + <macros> + <vacPREFIX>$(SEC)-$(SUBSEC):$(DIS)-$(DEV)-$(IDX)</vacPREFIX> + </macros> + <width>420</width> + <height>640</height> + <rules> + <rule name="Fake rule to have iUITypeR always connected" prop_id="name" out_exp="false"> + <pv_name trigger="false">${CONTROLLER}:iUITypeR</pv_name> + </rule> + </rules> + <widget type="textupdate" version="2.0.0"> + <name>ManualModeR</name> + <pv_name>$(vacPREFIX):ManualModeR</pv_name> + <x>10</x> + <y>10</y> + <width>160</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <format>6</format> + <show_units>false</show_units> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>ManualModeCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):ManualModeCmd</pv_name> + <text>Manual</text> + <x>10</x> + <y>40</y> + <width>70</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip>Switch to manual mode</tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>AutoModeCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):AutoModeCmd</pv_name> + <text>Auto</text> + <x>100</x> + <y>40</y> + <width>70</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip>Switch to auto mode</tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>ManualStopCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):ManualStopCmd</pv_name> + <text>Stop</text> + <x>250</x> + <y>40</y> + <width>70</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <rules> + <rule name="Enabled" prop_id="enabled" out_exp="true"> + <exp bool_exp="True"> + <expression>pvInt0</expression> + </exp> + <pv_name>$(vacPREFIX):ManualModeR</pv_name> + </rule> + </rules> + <tooltip>Stop</tooltip> + <enabled>false</enabled> + </widget> + <widget type="action_button" version="3.0.0"> + <name>ManualStartCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):ManualStartCmd</pv_name> + <text>Start</text> + <x>340</x> + <y>40</y> + <width>70</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <rules> + <rule name="Enabled" prop_id="enabled" out_exp="true"> + <exp bool_exp="True"> + <expression>pvInt0</expression> + </exp> + <pv_name>$(vacPREFIX):ManualModeR</pv_name> + </rule> + </rules> + <tooltip>Start</tooltip> + <enabled>false</enabled> + </widget> + <widget type="label" version="2.0.0"> + <name>Label FreqR</name> + <text>Frequency:</text> + <x>10</x> + <y>80</y> + <width>80</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>FreqR</name> + <pv_name>$(CONTROLLER):FreqR</pv_name> + <x>100</x> + <y>80</y> + <width>310</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Label SpeedR</name> + <text>Current:</text> + <x>10</x> + <y>99</y> + <width>80</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>SpeedR</name> + <pv_name>$(CONTROLLER):MotorCurR</pv_name> + <x>100</x> + <y>99</y> + <width>310</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>ErrorR</name> + <pv_name>$(vacPREFIX):ErrorR</pv_name> + <x>10</x> + <y>140</y> + <off_color> + <color name="LED-RED-OFF" red="110" green="101" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-RED-ON" red="255" green="60" blue="46"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>ErrorMsg</name> + <text></text> + <x>40</x> + <y>140</y> + <width>370</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="RED" red="252" green="13" blue="27"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <scripts> + <script file="$(WIDGET_ROOT)/vpt/error.py"> + <pv_name>$(vacPREFIX):ErrorR</pv_name> + <pv_name>$(vacPREFIX):ErrorCodeR</pv_name> + </script> + </scripts> + <tooltip>N/A</tooltip> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>WarningR</name> + <pv_name>$(vacPREFIX):WarningR</pv_name> + <x>10</x> + <y>170</y> + <off_color> + <color name="LED-YELLOW-OFF" red="110" green="108" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-YELLOW-ON" red="255" green="235" blue="17"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>WarningMsg</name> + <text></text> + <x>40</x> + <y>170</y> + <width>370</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="YELLOW" red="252" green="242" blue="17"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <actions> + </actions> + <scripts> + <script file="$(WIDGET_ROOT)/vpt/warning.py"> + <pv_name>$(vacPREFIX):WarningR</pv_name> + <pv_name>$(vacPREFIX):WarningCodeR</pv_name> + </script> + </scripts> + <tooltip>N/A</tooltip> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>RstErrorsCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):RstErrorsCmd</pv_name> + <text>Reset Warnings and Errors</text> + <x>10</x> + <y>200</y> + <width>400</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>230</y> + <width>401</width> + <height>1</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="400.0" y="0.0"> + </point> + </points> + <line_color> + <color red="30" green="144" blue="255"> + </color> + </line_color> + <actions> + </actions> + <tooltip>$(pv_name) +$(pv_value)</tooltip> + </widget> + <widget type="led" version="2.0.0"> + <name>StoppedR</name> + <pv_name>$(vacPREFIX):StoppedR</pv_name> + <x>10</x> + <y>240</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label StoppedR</name> + <text>Stopped</text> + <x>30</x> + <y>240</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>ValidR</name> + <pv_name>$(vacPREFIX):PLCValidR</pv_name> + <x>10</x> + <y>260</y> + <off_color> + <color name="LED-RED-ON" red="255" green="60" blue="46"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label ValidR</name> + <text>Valid</text> + <x>30</x> + <y>260</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>InvalidCommandR</name> + <pv_name>$(vacPREFIX):InvalidCommandR</pv_name> + <x>10</x> + <y>280</y> + <off_color> + <color name="LED-ORANGE-OFF" red="110" green="105" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-ORANGE-ON" red="255" green="175" blue="81"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label InvalidCommandR</name> + <text>Invalid Command</text> + <x>30</x> + <y>280</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>AcceleratingR</name> + <pv_name>$(vacPREFIX):AcceleratingR</pv_name> + <x>10</x> + <y>300</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label AcceleratingR</name> + <text>Accelerating</text> + <x>30</x> + <y>300</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>HWErrorR</name> + <pv_name>$(vacPREFIX):HWErrorR</pv_name> + <x>10</x> + <y>320</y> + <off_color> + <color name="LED-RED-OFF" red="110" green="101" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-RED-ON" red="255" green="60" blue="46"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label HWErrorR</name> + <text>Controller Error</text> + <x>30</x> + <y>320</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>StartDQ-RB</name> + <pv_name>$(vacPREFIX):StartDQ-RB</pv_name> + <x>210</x> + <y>240</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label StartDQ-RB</name> + <text>Started</text> + <x>230</x> + <y>240</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>OnManualStartR</name> + <pv_name>$(vacPREFIX):OnManualStartR</pv_name> + <x>210</x> + <y>260</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label OnManualStartR</name> + <text>Manual Start</text> + <x>230</x> + <y>260</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>OnAutoStartR</name> + <pv_name>$(vacPREFIX):OnAutoStartR</pv_name> + <x>210</x> + <y>280</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label OnAutoStartR</name> + <text>Auto Start</text> + <x>230</x> + <y>280</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="led" version="2.0.0"> + <name>AtNominalSpdR</name> + <pv_name>$(vacPREFIX):AtNominalSpdR</pv_name> + <x>210</x> + <y>300</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label AtNominalSpdR</name> + <text>At Nominal Speed</text> + <x>230</x> + <y>300</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline_1</name> + <x>10</x> + <y>350</y> + <width>401</width> + <height>1</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="400.0" y="0.0"> + </point> + </points> + <line_color> + <color red="30" green="144" blue="255"> + </color> + </line_color> + <actions> + </actions> + <tooltip>$(pv_name) +$(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label Interlocks</name> + <text>Interlocks</text> + <x>10</x> + <y>353</y> + <width>60</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>OverrideITLckCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):OverrideITLckCmd</pv_name> + <text>Bypass</text> + <x>10</x> + <y>370</y> + <width>151</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>ClrOverrideITLckCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):ClrOverrideITLckCmd</pv_name> + <text>Clear Bypass</text> + <x>10</x> + <y>393</y> + <width>151</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="led" version="2.0.0"> + <name>ITLckTrigR</name> + <pv_name>$(vacPREFIX):ITLckTrigR</pv_name> + <x>210</x> + <y>370</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label ITLckTrigR</name> + <text>Interlock Trigger</text> + <x>230</x> + <y>370</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="embedded" version="2.0.0"> + <name>Interlocks</name> + <file>../../COMMON/Faceplate/vac-vpp_vpt-interlocks-popup.bob</file> + <x>10</x> + <y>440</y> + <height>80</height> + <resize>2</resize> + <actions> + </actions> + <border_color> + <color red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline_2</name> + <x>10</x> + <y>530</y> + <width>401</width> + <height>1</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="400.0" y="0.0"> + </point> + </points> + <line_color> + <color red="30" green="144" blue="255"> + </color> + </line_color> + <actions> + </actions> + <tooltip>$(pv_name) +$(pv_value)</tooltip> + </widget> + <widget type="led" version="2.0.0"> + <name>AutoStartDisStR</name> + <pv_name>$(vacPREFIX):AutoStartDisStR</pv_name> + <x>10</x> + <y>540</y> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-ORANGE-ON" red="255" green="175" blue="81"> + </color> + </on_color> + <foreground_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </foreground_color> + <actions> + </actions> + <tooltip>$(pv_name) / $(pv_value)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Label AutoStartDisStR</name> + <text>Auto Start Disabled</text> + <x>30</x> + <y>540</y> + <width>150</width> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="White" red="255" green="255" blue="255"> + </color> + </background_color> + <vertical_alignment>1</vertical_alignment> + <actions> + </actions> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>AutoStartDisCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):AutoStartDisCmd</pv_name> + <text>Disable Automatic Start</text> + <x>10</x> + <y>560</y> + <width>151</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>AutoStartEnaCmd</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + </action> + </actions> + <pv_name>$(vacPREFIX):AutoStartEnaCmd</pv_name> + <text>Enable Automatic Start</text> + <x>10</x> + <y>583</y> + <width>151</width> + <height>24</height> + <font> + <font name="Normal Bold" family="OpenSans" style="BOLD" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="action_button" version="3.0.0"> + <name>EngineeringScreen</name> + <actions> + <action type="execute"> + <script file="open_engineering_screen.py"> + </script> + <description>Open engineering screen</description> + </action> + </actions> + <text>Engineering Screen</text> + <x>170</x> + <y>610</y> + <width>210</width> + <height>24</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="Black" red="0" green="0" blue="0"> + </color> + </foreground_color> + <background_color> + <color name="Button Grey" red="180" green="180" blue="180"> + </color> + </background_color> + <tooltip></tooltip> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>StatR</name> + <pv_name>$(vacPREFIX):StatR</pv_name> + <x>250</x> + <y>10</y> + <width>160</width> + <height>21</height> + <font> + <font name="Normal" family="OpenSans" style="REGULAR" size="11.881188118811881"> + </font> + </font> + <foreground_color> + <color name="BLACK-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLACK" red="0" green="0" blue="0"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <wrap_words>false</wrap_words> + <border_color> + <color name="Blue" red="0" green="128" blue="255"> + </color> + </border_color> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi.bob new file mode 100644 index 00000000..432cf324 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi.bob @@ -0,0 +1,1005 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME)</name> + <width>870</width> + <height>712</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>870</width> + <height>712</height> + <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> + </widget> + <widget type="label" version="2.0.0"> + <name>Title</name> + <text> $(DEVICENAME)</text> + <width>870</width> + <height>35</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="WHITE" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="GROUP-BORDER" red="150" green="155" blue="151"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>Pump Name</name> + <pv_name>$(DEVICENAME):PumpName-RB</pv_name> + <x>685</x> + <y>5</y> + <width>90</width> + <height>25</height> + <font> + <font name="SMALL-MONO-BOLD" family="Source Code Pro" style="BOLD" size="14.0"> + </font> + </font> + <foreground_color> + <color name="WHITE" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="GRAY-BORDER" red="121" green="121" blue="121"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>Channel</name> + <pv_name>$(DEVICENAME):ChNameR</pv_name> + <x>780</x> + <y>5</y> + <width>80</width> + <height>25</height> + <font> + <font name="SMALL-MONO-BOLD" family="Source Code Pro" style="BOLD" size="14.0"> + </font> + </font> + <foreground_color> + <color name="WHITE" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="GRAY-BORDER" red="121" green="121" blue="121"> + </color> + </background_color> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Separator</name> + <x>5</x> + <y>630</y> + <width>860</width> + <height>3</height> + <line_color> + <color name="GROUP-BORDER" red="150" green="155" blue="151"> + </color> + </line_color> + <background_color> + <color name="GROUP-BORDER" red="150" green="155" blue="151"> + </color> + </background_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Controller Detailed</name> + <actions> + <action type="open_display"> + <file>../vepi/Faceplate/vac_ctrl_digitelqpce_controller.bob</file> + <macros> + <DEVICENAME>$(CONTROLLER)</DEVICENAME> + </macros> + <target>standalone</target> + <description>Open Controller Screen</description> + </action> + </actions> + <x>710</x> + <y>648</y> + <width>150</width> + <height>50</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Digital I/O</name> + <x>10</x> + <y>55</y> + <width>270</width> + <height>370</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>DIO Background</name> + <width>270</width> + <height>370</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>DIO Header</name> + <text>Digital Input / Output</text> + <width>270</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DO Name</name> + <pv_name>$(DEVICENAME):DONameR</pv_name> + <x>10</x> + <y>40</y> + <width>250</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <format>6</format> + <show_units>false</show_units> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Transparency" prop_id="transparent" out_exp="false"> + <exp bool_exp="pvInt0"> + <value>true</value> + </exp> + <pv_name>$(DEVICENAME):DOValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>DO Function</name> + <text>Function:</text> + <x>10</x> + <y>75</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOFunc-RB</name> + <pv_name>$(DEVICENAME):DOFunc-RB</pv_name> + <x>110</x> + <y>75</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>DO On Setpoint</name> + <text>On Setpoint:</text> + <x>10</x> + <y>110</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOOnSP-RB</name> + <pv_name>$(DEVICENAME):DOOnSP-RB</pv_name> + <x>110</x> + <y>110</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>DO Off Setpoint</name> + <text>Off Setpoint:</text> + <x>10</x> + <y>145</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOOffSP-RB</name> + <pv_name>$(DEVICENAME):DOOffSP-RB</pv_name> + <x>110</x> + <y>145</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="led" version="2.0.0"> + <name>DOStatR</name> + <pv_name>$(DEVICENAME):DOStatR</pv_name> + <x>110</x> + <y>180</y> + <width>150</width> + <height>25</height> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <square>true</square> + </widget> + <widget type="label" version="2.0.0"> + <name>DO Status</name> + <text>Status:</text> + <x>10</x> + <y>180</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>DO Edit</name> + <actions> + <action type="open_display"> + <file>vac_digitelqpce_vpi_do.bob</file> + <target>window</target> + <description>Edit Digital Output Parameters</description> + </action> + </actions> + <text>Edit DO Parameters</text> + <x>90</x> + <y>210</y> + <width>170</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DI Name</name> + <pv_name>$(DEVICENAME):DINameR</pv_name> + <x>10</x> + <y>260</y> + <width>250</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <format>6</format> + <show_units>false</show_units> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Transparency" prop_id="transparent" out_exp="false"> + <exp bool_exp="pvInt0"> + <value>true</value> + </exp> + <pv_name>$(DEVICENAME):DIValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DIFunc-RB</name> + <pv_name>$(DEVICENAME):DIFunc-RB</pv_name> + <x>110</x> + <y>295</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>DI Function</name> + <text>Function:</text> + <x>10</x> + <y>295</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>249</y> + <width>250</width> + <height>3</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="250.0" y="0.0"> + </point> + </points> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + </widget> + <widget type="action_button" version="3.0.0"> + <name>DI Edit</name> + <actions> + <action type="open_display"> + <file>vac_digitelqpce_vpi_di.bob</file> + <target>window</target> + <description>Edit Digital Input Parameters</description> + </action> + </actions> + <text>Edit DI Parameters</text> + <x>90</x> + <y>330</y> + <width>170</width> + <tooltip>$(actions)</tooltip> + </widget> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Relay</name> + <x>300</x> + <y>55</y> + <width>270</width> + <height>255</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>Relay Background</name> + <width>270</width> + <height>255</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Header</name> + <text>Relay</text> + <width>270</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>Relay Name</name> + <pv_name>$(DEVICENAME):RlyNameR</pv_name> + <x>10</x> + <y>40</y> + <width>250</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <format>6</format> + <show_units>false</show_units> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Transparency" prop_id="transparent" out_exp="false"> + <exp bool_exp="pvInt0"> + <value>true</value> + </exp> + <pv_name>$(DEVICENAME):RlyValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Function</name> + <text>Function:</text> + <x>10</x> + <y>75</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyFunc-RB</name> + <pv_name>$(DEVICENAME):RlyFunc-RB</pv_name> + <x>110</x> + <y>75</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay On Setpoint</name> + <text>On Setpoint:</text> + <x>10</x> + <y>110</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyOnSP-RB</name> + <pv_name>$(DEVICENAME):RlyOnSP-RB</pv_name> + <x>110</x> + <y>110</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Off Setpoint</name> + <text>Off Setpoint:</text> + <x>10</x> + <y>145</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyOffSP-RB</name> + <pv_name>$(DEVICENAME):RlyOffSP-RB</pv_name> + <x>110</x> + <y>145</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="led" version="2.0.0"> + <name>RlyStatR</name> + <pv_name>$(DEVICENAME):RlyStatR</pv_name> + <x>110</x> + <y>180</y> + <width>150</width> + <height>25</height> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <square>true</square> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Status</name> + <text>Status:</text> + <x>10</x> + <y>180</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Relay Edit</name> + <actions> + <action type="open_display"> + <file>vac_digitelqpce_vpi_relay.bob</file> + <target>window</target> + <description>Edit Relay Parameters</description> + </action> + </actions> + <x>90</x> + <y>215</y> + <width>170</width> + <tooltip>$(actions)</tooltip> + </widget> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Analog Output</name> + <x>590</x> + <y>55</y> + <width>270</width> + <height>255</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>AO Background</name> + <width>270</width> + <height>255</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>AO Header</name> + <text>Analog Output</text> + <width>270</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AO Name</name> + <pv_name>$(DEVICENAME):AONameR</pv_name> + <x>10</x> + <y>40</y> + <width>250</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <format>6</format> + <show_units>false</show_units> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Transparency" prop_id="transparent" out_exp="false"> + <exp bool_exp="pvInt0"> + <value>true</value> + </exp> + <pv_name>$(DEVICENAME):AOValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>AO Function</name> + <text>Function:</text> + <x>10</x> + <y>75</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOFunc-RB</name> + <pv_name>$(DEVICENAME):AOFunc-RB</pv_name> + <x>110</x> + <y>75</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>AO Log Offset</name> + <text>Log Offset:</text> + <x>10</x> + <y>110</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOLogOffs-RB</name> + <pv_name>$(DEVICENAME):AOLogOffs-RB</pv_name> + <x>110</x> + <y>110</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>AO Mode</name> + <text>Mode:</text> + <x>10</x> + <y>145</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOInvMode-RB</name> + <pv_name>$(DEVICENAME):AOInvMode-RB</pv_name> + <x>110</x> + <y>145</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>AO Response Mode</name> + <text>Response:</text> + <x>10</x> + <y>180</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>AO Edit</name> + <actions> + <action type="open_display"> + <file>vac_digitelqpce_vpi_ao.bob</file> + <target>window</target> + <description>Edit Analog Output Parameters</description> + </action> + </actions> + <text>Edit AO Parameters</text> + <x>90</x> + <y>215</y> + <width>170</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AORespMode-RB</name> + <pv_name>$(DEVICENAME):AORespMode-RB</pv_name> + <x>110</x> + <y>180</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Control</name> + <x>10</x> + <y>440</y> + <width>376</width> + <height>180</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>Control Background</name> + <width>376</width> + <height>180</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Control Header</name> + <text>Control</text> + <width>376</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Auto Restart</name> + <text>Auto Restart:</text> + <y>40</y> + <width>130</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <tooltip>HV supply auto restart control</tooltip> + </widget> + <widget type="combo" version="2.0.0"> + <name>AutoRestartS</name> + <pv_name>$(DEVICENAME):AutoRestartS</pv_name> + <x>141</x> + <y>40</y> + <width>110</width> + <height>25</height> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AutoRestart-RB</name> + <pv_name>$(DEVICENAME):AutoRestart-RB</pv_name> + <x>256</x> + <y>40</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pressure Factor</name> + <text>Pressure Factor:</text> + <y>75</y> + <width>130</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textentry" version="3.0.0"> + <name>PrsFactS</name> + <pv_name>$(DEVICENAME):PrsFactS</pv_name> + <x>141</x> + <y>75</y> + <width>110</width> + <height>25</height> + <show_units>false</show_units> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>PrsFact-RB</name> + <pv_name>$(DEVICENAME):PrsFact-RB</pv_name> + <x>256</x> + <y>75</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pump Size</name> + <text>Pump Size:</text> + <y>110</y> + <width>130</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textentry" version="3.0.0"> + <name>PumpSizeS</name> + <pv_name>$(DEVICENAME):PumpSizeS</pv_name> + <x>141</x> + <y>110</y> + <width>110</width> + <height>25</height> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>PumpSize-RB</name> + <pv_name>$(DEVICENAME):PumpSize-RB</pv_name> + <x>256</x> + <y>110</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pump Name</name> + <text>Pump Name:</text> + <y>145</y> + <width>130</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textentry" version="3.0.0"> + <name>PumpNameS</name> + <pv_name>$(DEVICENAME):PumpNameS</pv_name> + <x>141</x> + <y>145</y> + <width>110</width> + <height>25</height> + <show_units>false</show_units> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>PumpName-RB</name> + <pv_name>$(DEVICENAME):PumpName-RB</pv_name> + <x>256</x> + <y>145</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Misc</name> + <x>580</x> + <y>370</y> + <width>280</width> + <height>250</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>Misc Background</name> + <width>280</width> + <height>250</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Misc Header</name> + <text>Misc</text> + <width>280</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <horizontal_alignment>1</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Transducer Size</name> + <text>Transducer:</text> + <x>10</x> + <y>215</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <tooltip>Transducer Size</tooltip> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>TransducerR</name> + <pv_name>$(DEVICENAME):TransducerR</pv_name> + <x>120</x> + <y>215</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>High Voltage Status</name> + <text>HV Status:</text> + <x>10</x> + <y>75</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <tooltip>High Voltage Status</tooltip> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>HVStatR</name> + <pv_name>$(DEVICENAME):HVStatR</pv_name> + <x>120</x> + <y>75</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pump Current</name> + <text>Pump Current:</text> + <x>10</x> + <y>110</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>MotorCurR</name> + <pv_name>$(DEVICENAME):MotorCurR</pv_name> + <x>120</x> + <y>110</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pressure</name> + <text>Pressure:</text> + <x>10</x> + <y>145</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>PrsR</name> + <pv_name>$(DEVICENAME):PrsR</pv_name> + <x>120</x> + <y>145</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pump Voltage</name> + <text>Pump Voltage:</text> + <x>10</x> + <y>180</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DCVolR</name> + <pv_name>$(DEVICENAME):DCVolR</pv_name> + <x>120</x> + <y>180</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Pump Status</name> + <text>Pump Status:</text> + <x>10</x> + <y>40</y> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>StatR</name> + <pv_name>$(DEVICENAME):StatR</pv_name> + <x>120</x> + <y>40</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_ao.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_ao.bob new file mode 100644 index 00000000..65496854 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_ao.bob @@ -0,0 +1,294 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME) AO Setup</name> + <width>426</width> + <height>360</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>426</width> + <height>360</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Label</name> + <text> $(DEVICENAME) AO Setup</text> + <width>426</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Function</name> + <text>Function:</text> + <x>10</x> + <y>80</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOFunc-RB</name> + <pv_name>$(DEVICENAME):AOFunc-RB</pv_name> + <x>266</x> + <y>80</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Log Offset</name> + <text>Log Offset:</text> + <x>10</x> + <y>115</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOLogOffs-RB</name> + <pv_name>$(DEVICENAME):AOLogOffs-RB</pv_name> + <x>266</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Mode</name> + <text>Mode:</text> + <x>10</x> + <y>150</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOInvMode-RB</name> + <pv_name>$(DEVICENAME):AOInvMode-RB</pv_name> + <x>266</x> + <y>150</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Response Mode</name> + <text>Response:</text> + <x>10</x> + <y>185</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="combo" version="2.0.0"> + <name>AOFuncS</name> + <pv_name>$(DEVICENAME):AOFuncS</pv_name> + <x>110</x> + <y>80</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + </widget> + <widget type="textentry" version="3.0.0"> + <name>AOLogOffsS</name> + <pv_name>$(DEVICENAME):AOLogOffsS</pv_name> + <x>110</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + </widget> + <widget type="combo" version="2.0.0"> + <name>AOInvModeS</name> + <pv_name>$(DEVICENAME):AOInvModeS</pv_name> + <x>110</x> + <y>150</y> + <width>150</width> + <height>25</height> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOPump-RB</name> + <pv_name>$(DEVICENAME):AOPump-RB</pv_name> + <x>266</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):AOValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Channel</name> + <text>Channel:</text> + <x>10</x> + <y>45</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOPumpS</name> + <pv_name>$(DEVICENAME):AOPumpS</pv_name> + <x>110</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Action Button</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + <description>Commit</description> + </action> + </actions> + <pv_name>$(DEVICENAME):AOCommitS</pv_name> + <x>266</x> + <y>220</y> + <width>150</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>259</y> + <width>406</width> + <height>3</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="406.0" y="0.0"> + </point> + </points> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Commit Result Rectangle</name> + <x>80</x> + <y>270</y> + <width>336</width> + <height>80</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="RED-GROUP-BACKGROUND" red="208" green="175" blue="172"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):AOCommitResult</pv_name> + </rule> + </rules> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOCommitErrCode</name> + <pv_name>$(DEVICENAME):AOCommitErrCode</pv_name> + <x>246</x> + <y>280</y> + <width>160</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AOCommitErrMsg</name> + <pv_name>$(DEVICENAME):AOCommitErrMsg</pv_name> + <x>90</x> + <y>315</y> + <width>316</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Commit Result</name> + <text>Commit Result:</text> + <x>10</x> + <y>270</y> + <width>60</width> + <height>50</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="combo" version="2.0.0"> + <name>AORespModeS</name> + <pv_name>$(DEVICENAME):AORespModeS</pv_name> + <x>110</x> + <y>185</y> + <width>150</width> + <height>25</height> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>AORespMode-RB</name> + <pv_name>$(DEVICENAME):AORespMode-RB</pv_name> + <x>266</x> + <y>185</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_di.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_di.bob new file mode 100644 index 00000000..787cc443 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_di.bob @@ -0,0 +1,208 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME) DI Setup</name> + <width>426</width> + <height>255</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>426</width> + <height>255</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Label</name> + <text> $(DEVICENAME) DI Setup</text> + <width>426</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Function</name> + <text>Function:</text> + <x>10</x> + <y>80</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DIFunc-RB</name> + <pv_name>$(DEVICENAME):DIFunc-RB</pv_name> + <x>266</x> + <y>80</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="combo" version="2.0.0"> + <name>DIFuncS</name> + <pv_name>$(DEVICENAME):DIFuncS</pv_name> + <x>110</x> + <y>80</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DIPump-RB</name> + <pv_name>$(DEVICENAME):DIPump-RB</pv_name> + <x>266</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):DIValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Channel</name> + <text>Channel:</text> + <x>10</x> + <y>45</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DIPumpS</name> + <pv_name>$(DEVICENAME):DIPumpS</pv_name> + <x>110</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Action Button</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + <description>Commit</description> + </action> + </actions> + <pv_name>$(DEVICENAME):DICommitS</pv_name> + <x>266</x> + <y>115</y> + <width>150</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>154</y> + <width>406</width> + <height>3</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="406.0" y="0.0"> + </point> + </points> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Commit Result Rectangle</name> + <x>80</x> + <y>165</y> + <width>336</width> + <height>80</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="RED-GROUP-BACKGROUND" red="208" green="175" blue="172"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):DICommitResult</pv_name> + </rule> + </rules> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DICommitErrCode</name> + <pv_name>$(DEVICENAME):DICommitErrCode</pv_name> + <x>246</x> + <y>175</y> + <width>160</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DICommitErrMsg</name> + <pv_name>$(DEVICENAME):DICommitErrMsg</pv_name> + <x>90</x> + <y>211</y> + <width>316</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Commit Result</name> + <text>Commit Result:</text> + <x>10</x> + <y>165</y> + <width>60</width> + <height>50</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_do.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_do.bob new file mode 100644 index 00000000..632321ce --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_do.bob @@ -0,0 +1,295 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME) DO Setup</name> + <width>426</width> + <height>360</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>426</width> + <height>360</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Label</name> + <text> $(DEVICENAME) DO Setup</text> + <width>426</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Function</name> + <text>Function:</text> + <x>10</x> + <y>80</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOFunc-RB</name> + <pv_name>$(DEVICENAME):DOFunc-RB</pv_name> + <x>266</x> + <y>80</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay On Setpoint</name> + <text>On Setpoint:</text> + <x>10</x> + <y>115</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOOnSP-RB</name> + <pv_name>$(DEVICENAME):DOOnSP-RB</pv_name> + <x>266</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Off Setpoint</name> + <text>Off Setpoint:</text> + <x>10</x> + <y>150</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOOffSP-RB</name> + <pv_name>$(DEVICENAME):DOOffSP-RB</pv_name> + <x>266</x> + <y>150</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="led" version="2.0.0"> + <name>DOStatR</name> + <pv_name>$(DEVICENAME):DOStatR</pv_name> + <x>110</x> + <y>185</y> + <width>306</width> + <height>25</height> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <square>true</square> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Status</name> + <text>Status:</text> + <x>10</x> + <y>185</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="combo" version="2.0.0"> + <name>DOFuncS</name> + <pv_name>$(DEVICENAME):DOFuncS</pv_name> + <x>110</x> + <y>80</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + </widget> + <widget type="textentry" version="3.0.0"> + <name>DOOnSPS</name> + <pv_name>$(DEVICENAME):DOOnSPS</pv_name> + <x>110</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + </widget> + <widget type="textentry" version="3.0.0"> + <name>DOOffSPS</name> + <pv_name>$(DEVICENAME):DOOffSPS</pv_name> + <x>110</x> + <y>150</y> + <width>150</width> + <height>25</height> + <format>2</format> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOPump-RB</name> + <pv_name>$(DEVICENAME):DOPump-RB</pv_name> + <x>266</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):DOValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Channel</name> + <text>Channel:</text> + <x>10</x> + <y>45</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOPumpS</name> + <pv_name>$(DEVICENAME):DOPumpS</pv_name> + <x>110</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Action Button</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + <description>Commit</description> + </action> + </actions> + <pv_name>$(DEVICENAME):DOCommitS</pv_name> + <x>266</x> + <y>220</y> + <width>150</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>259</y> + <width>406</width> + <height>3</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="406.0" y="0.0"> + </point> + </points> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Commit Result Rectangle</name> + <x>80</x> + <y>270</y> + <width>336</width> + <height>80</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="RED-GROUP-BACKGROUND" red="208" green="175" blue="172"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):DOCommitResult</pv_name> + </rule> + </rules> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOCommitErrCode</name> + <pv_name>$(DEVICENAME):DOCommitErrCode</pv_name> + <x>246</x> + <y>280</y> + <width>160</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>DOCommitErrMsg</name> + <pv_name>$(DEVICENAME):DOCommitErrMsg</pv_name> + <x>90</x> + <y>315</y> + <width>316</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Commit Result</name> + <text>Commit Result:</text> + <x>10</x> + <y>270</y> + <width>60</width> + <height>50</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_relay.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_relay.bob new file mode 100644 index 00000000..ab83a5bb --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/Faceplate/vac_digitelqpce_vpi_relay.bob @@ -0,0 +1,295 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME) Relay Setup</name> + <width>426</width> + <height>360</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>426</width> + <height>360</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + </widget> + <widget type="label" version="2.0.0"> + <name>Label</name> + <text> $(DEVICENAME) Relay Setup</text> + <width>426</width> + <height>30</height> + <font> + <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> + </font> + </font> + <foreground_color> + <color name="GRAY-TEXT" red="255" green="255" blue="255"> + </color> + </foreground_color> + <background_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Function</name> + <text>Function:</text> + <x>10</x> + <y>80</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyFunc-RB</name> + <pv_name>$(DEVICENAME):RlyFunc-RB</pv_name> + <x>266</x> + <y>80</y> + <width>150</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay On Setpoint</name> + <text>On Setpoint:</text> + <x>10</x> + <y>115</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyOnSP-RB</name> + <pv_name>$(DEVICENAME):RlyOnSP-RB</pv_name> + <x>266</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Off Setpoint</name> + <text>Off Setpoint:</text> + <x>10</x> + <y>150</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyOffSP-RB</name> + <pv_name>$(DEVICENAME):RlyOffSP-RB</pv_name> + <x>266</x> + <y>150</y> + <width>150</width> + <height>25</height> + <format>2</format> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="led" version="2.0.0"> + <name>RlyStatR</name> + <pv_name>$(DEVICENAME):RlyStatR</pv_name> + <x>110</x> + <y>185</y> + <width>306</width> + <height>25</height> + <off_color> + <color name="LED-GREEN-OFF" red="90" green="110" blue="90"> + </color> + </off_color> + <on_color> + <color name="LED-GREEN-ON" red="70" green="255" blue="70"> + </color> + </on_color> + <square>true</square> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Status</name> + <text>Status:</text> + <x>10</x> + <y>185</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="combo" version="2.0.0"> + <name>RlyFuncS</name> + <pv_name>$(DEVICENAME):RlyFuncS</pv_name> + <x>110</x> + <y>80</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + </widget> + <widget type="textentry" version="3.0.0"> + <name>RlyOnSPS</name> + <pv_name>$(DEVICENAME):RlyOnSPS</pv_name> + <x>110</x> + <y>115</y> + <width>150</width> + <height>25</height> + <format>2</format> + </widget> + <widget type="textentry" version="3.0.0"> + <name>RlyOffSPS</name> + <pv_name>$(DEVICENAME):RlyOffSPS</pv_name> + <x>110</x> + <y>150</y> + <width>150</width> + <height>25</height> + <format>2</format> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>Text Update</name> + <pv_name>$(DEVICENAME):RlyPump-RB</pv_name> + <x>266</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):RlyValidR</pv_name> + </rule> + </rules> + </widget> + <widget type="label" version="2.0.0"> + <name>Relay Channel</name> + <text>Channel:</text> + <x>10</x> + <y>45</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyPumpS</name> + <pv_name>$(DEVICENAME):RlyPumpS</pv_name> + <x>110</x> + <y>45</y> + <width>150</width> + <height>25</height> + <background_color> + <color name="Write_Background" red="224" green="217" blue="202"> + </color> + </background_color> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Action Button</name> + <actions> + <action type="write_pv"> + <pv_name>$(pv_name)</pv_name> + <value>1</value> + <description>Commit</description> + </action> + </actions> + <pv_name>$(DEVICENAME):RlyCommitS</pv_name> + <x>266</x> + <y>220</y> + <width>150</width> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="polyline" version="2.0.0"> + <name>Polyline</name> + <x>10</x> + <y>259</y> + <width>406</width> + <height>3</height> + <points> + <point x="0.0" y="0.0"> + </point> + <point x="406.0" y="0.0"> + </point> + </points> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + </widget> + <widget type="rectangle" version="2.0.0"> + <name>Commit Result Rectangle</name> + <x>80</x> + <y>270</y> + <width>336</width> + <height>80</height> + <line_color> + <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> + </color> + </line_color> + <background_color> + <color name="BLUE-GROUP-BACKGROUND" red="179" green="209" blue="209"> + </color> + </background_color> + <rules> + <rule name="Background Color" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvInt0"> + <value> + <color name="RED-GROUP-BACKGROUND" red="208" green="175" blue="172"> + </color> + </value> + </exp> + <pv_name>$(DEVICENAME):RlyCommitResult</pv_name> + </rule> + </rules> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyCommitErrCode</name> + <pv_name>$(DEVICENAME):RlyCommitErrCode</pv_name> + <x>246</x> + <y>280</y> + <width>160</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>RlyCommitErrMsg</name> + <pv_name>$(DEVICENAME):RlyCommitErrMsg</pv_name> + <x>90</x> + <y>315</y> + <width>316</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Commit Result</name> + <text>Commit Result:</text> + <x>10</x> + <y>270</y> + <width>60</width> + <height>50</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/pressure.py b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/pressure.py new file mode 100644 index 00000000..83475c3c --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/pressure.py @@ -0,0 +1,45 @@ +from org.csstudio.display.builder.runtime.script import PVUtil +from org.csstudio.display.builder.runtime.script import ScriptUtil + +tooltip = "N/A" + +try: + pvStat = PVUtil.getString(pvs[0]).upper() +# pvPrsStr = PVUtil.getString(pvs[2]) +# pvUnit = PVUtil.getString(pvs[3]) + + try: + from org.phoebus.ui.vtype import FormatOption, FormatOptionHandler + except ImportError: + try: + from org.csstudio.display.builder.model.properties import FormatOption + from org.csstudio.display.builder.model.util import FormatOptionHandler + except Exception as e: + ScriptUtil.getLogger().severe(str(e)) + + try: + vtype = PVUtil.getVType(pvs[1]) + + pressure = FormatOptionHandler.format(vtype, FormatOption.EXPONENTIAL, 2, True) + except Exception as e: + ScriptUtil.getLogger().severe(str(e)) + pressure = None + + tooltip = pressure + +# if pvStat == "ON": +# if pressure is None: +# tooltip = pvPrsStr + " " + pvUnit +# else: +# tooltip = pressure +# elif pvStat == "OVER-RANGE" or pvStat == "UNDER-RANGE": +# if pressure is None: +# tooltip = str(PVUtil.getDouble(pvs[1])) + " " + pvUnit +# else: +# tooltip = pressure +# else: +# tooltip = pvPrsStr +except Exception as e: + ScriptUtil.getLogger().severe(str(e)) + +widget.setPropertyValue("tooltip", tooltip) diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/vac_vpi.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/vac_vpi.bob index 13ab3026..ba071869 100644 --- a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/vac_vpi.bob +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/vac_vpi.bob @@ -90,14 +90,12 @@ <description>Open Legend</description> </action> </actions> - <rules> - <rule name="Speed" prop_id="tooltip" out_exp="true"> - <exp bool_exp="True"> - <expression>pvStr0</expression> - </exp> + <scripts> + <script file="pressure.py" check_connections="false"> + <pv_name>$(vacPREFIX):StatR</pv_name> <pv_name>$(vacPREFIX):PrsR</pv_name> - </rule> - </rules> + </script> + </scripts> <tooltip>N/A</tooltip> </widget> <widget type="label" version="2.0.0"> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/warning.py b/NON-APPROVED/COMMON/DEVICES/vacuum/vpi/warning.py new file mode 100644 index 00000000..e69de29b -- GitLab