diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_error_history.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_error_history.bob new file mode 100644 index 0000000000000000000000000000000000000000..ae1797d0cbc2c322dbae5c9bfefc30eca834c023 --- /dev/null +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_error_history.bob @@ -0,0 +1,944 @@ +<?xml version="1.0" encoding="UTF-8"?> +<display version="2.0.0"> + <name>$(DEVICENAME) Errors</name> + <height>485</height> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>800</width> + <height>485</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>Pfeiffer TCP350</name> + <text> $(DEVICENAME) Errors</text> + <width>800</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="GRAY-TEXT" 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="group" version="2.0.0"> + <name>Group Error History</name> + <x>10</x> + <y>50</y> + <width>350</width> + <height>425</height> + <style>3</style> + <widget type="rectangle" version="2.0.0"> + <name>Background</name> + <width>350</width> + <height>425</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>Error History</name> + <text>Error History</text> + <width>350</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>Active Error</name> + <text>Active Error</text> + <y>40</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <tooltip>Currently Present Error</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>P303</name> + <text>[P:303]:</text> + <x>90</x> + <y>40</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCodeR</name> + <pv_name>$(DEVICENAME):ErrCodeR</pv_name> + <x>160</x> + <y>40</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Active Error</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCodeR</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>40</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 1</name> + <text>Error 1</text> + <y>75</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P360</name> + <text>[P:360]:</text> + <x>90</x> + <y>75</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode1R</name> + <pv_name>$(DEVICENAME):ErrCode1R</pv_name> + <x>160</x> + <y>75</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 1</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode1R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>75</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 2</name> + <text>Error 2</text> + <y>110</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P361</name> + <text>[P:361]:</text> + <x>90</x> + <y>110</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode2R</name> + <pv_name>$(DEVICENAME):ErrCode2R</pv_name> + <x>160</x> + <y>110</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 2</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode2R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>110</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 3</name> + <text>Error 3</text> + <y>145</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P362</name> + <text>[P:362]:</text> + <x>90</x> + <y>145</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode3R</name> + <pv_name>$(DEVICENAME):ErrCode3R</pv_name> + <x>160</x> + <y>145</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 3</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode3R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>145</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 4</name> + <text>Error 4</text> + <y>180</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P363</name> + <text>[P:363]:</text> + <x>90</x> + <y>180</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode4R</name> + <pv_name>$(DEVICENAME):ErrCode4R</pv_name> + <x>160</x> + <y>180</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 4</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode4R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>180</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 5</name> + <text>Error 5</text> + <y>215</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P364</name> + <text>[P:364]:</text> + <x>90</x> + <y>215</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode5R</name> + <pv_name>$(DEVICENAME):ErrCode5R</pv_name> + <x>160</x> + <y>215</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 5</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode5R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>215</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 6</name> + <text>Error 6</text> + <y>250</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P365</name> + <text>[P:365]:</text> + <x>90</x> + <y>250</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode6R</name> + <pv_name>$(DEVICENAME):ErrCode6R</pv_name> + <x>160</x> + <y>250</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 6</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode6R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>250</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 7</name> + <text>Error 7</text> + <y>285</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P366</name> + <text>[P:366]:</text> + <x>90</x> + <y>285</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode7R</name> + <pv_name>$(DEVICENAME):ErrCode7R</pv_name> + <x>160</x> + <y>285</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 7</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode7R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>285</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 8</name> + <text>Error 8</text> + <y>320</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P367</name> + <text>[P:367]:</text> + <x>90</x> + <y>320</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode8R</name> + <pv_name>$(DEVICENAME):ErrCode8R</pv_name> + <x>160</x> + <y>320</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 8</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode8R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>320</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 9</name> + <text>Error 9</text> + <y>355</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P368</name> + <text>[P:368]:</text> + <x>90</x> + <y>355</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode9R</name> + <pv_name>$(DEVICENAME):ErrCode9R</pv_name> + <x>160</x> + <y>355</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 9</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode9R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>355</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>Error 10</name> + <text>Error 10</text> + <y>390</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>P369</name> + <text>[P:369]:</text> + <x>90</x> + <y>390</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCode10R</name> + <pv_name>$(DEVICENAME):ErrCode10R</pv_name> + <x>160</x> + <y>390</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 10</name> + <actions> + <action type="write_pv"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + <value>$(DEVICENAME):ErrCode10R</value> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>390</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> + </widget> + <widget type="group" version="2.0.0"> + <name>Group Error Explanation</name> + <x>380</x> + <y>50</y> + <width>410</width> + <height>425</height> + <style>3</style> + <scripts> + <script file="pfeiffer_errorcodes.py"> + <pv_name>loc://error_pv("$(ERROR_PV)")</pv_name> + </script> + </scripts> + <widget type="rectangle" version="2.0.0"> + <name>Rectangle</name> + <width>410</width> + <height>425</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>Error Explanation</name> + <text>Error Explanation</text> + <width>410</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>Label Code</name> + <text>Code:</text> + <x>10</x> + <y>40</y> + <width>80</width> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Code</name> + <text></text> + <x>90</x> + <y>40</y> + <width>310</width> + <background_color> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </background_color> + <transparent>false</transparent> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Label Message</name> + <text>Message:</text> + <x>10</x> + <y>70</y> + <width>80</width> + <font> + <font family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Message</name> + <text></text> + <x>90</x> + <y>70</y> + <width>310</width> + <height>50</height> + <background_color> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </background_color> + <transparent>false</transparent> + </widget> + <widget type="label" version="2.0.0"> + <name>Label Causes</name> + <text>Possible Causes:</text> + <x>10</x> + <y>130</y> + <width>80</width> + <height>50</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Causes</name> + <text></text> + <x>90</x> + <y>130</y> + <width>310</width> + <height>120</height> + <background_color> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </background_color> + <transparent>false</transparent> + </widget> + <widget type="label" version="2.0.0"> + <name>Label Remedies</name> + <text>Remedies:</text> + <x>10</x> + <y>260</y> + <width>80</width> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="label" version="2.0.0"> + <name>Remedies</name> + <text></text> + <x>90</x> + <y>260</y> + <width>310</width> + <height>120</height> + <background_color> + <color name="Read_Background" red="230" green="235" blue="232"> + </color> + </background_color> + <transparent>false</transparent> + </widget> + </widget> +</display> diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/errorcodes.py b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_errorcodes.py similarity index 77% rename from NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/errorcodes.py rename to NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_errorcodes.py index daab0aaacb23452096d272cb21e442167bb3af70..5c7b8f66068bc9c94a62ae2727eb0d06faa41cfa 100644 --- a/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/errorcodes.py +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/pfeiffer_errorcodes.py @@ -1,4 +1,5 @@ from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil +from org.csstudio.display.builder.runtime.pv import PVFactory from org.csstudio.display.builder.model.properties import NamedWidgetColor from org.csstudio.display.builder.model.persist import WidgetColorService @@ -8,8 +9,25 @@ cond_no_error = 0 cond_error = 1 cond_warning = 2 +def get_code(): + try: + code_pv_name = PVUtil.getString(pvs[0]) + code_pv = PVFactory.getPV(code_pv_name) + code = code_pv.read() + PVFactory.releasePV(code_pv) + code = code.value + + return code + except Exception as err: + ScriptUtil.getLogger().severe(str(err)) + except: + ScriptUtil.getLogger().severe("Unknown exception while trying to get error code of TCP350") + + return None + + try: - code_str = PVUtil.getString(pvs[0]) + code_str = get_code() msgs = dict({ "000000" : (cond_no_error, ""), @@ -111,31 +129,53 @@ try: try: err_info = msgs[code_str] except KeyError: - err_info = (cond_error, "\n{}: Unknown error code".format(code_str)) + err_info = (cond_error, "Unknown error code") except Exception as err: ScriptUtil.getLogger().severe(str(err)) except: pass -tooltip = "$(pv_name)\n$(pv_value)" + +code_widget = ScriptUtil.findWidgetByName(widget, "Code") +msg_widget = ScriptUtil.findWidgetByName(widget, "Message") +cause_widget = ScriptUtil.findWidgetByName(widget, "Causes") +remedy_widget = ScriptUtil.findWidgetByName(widget, "Remedies") if err_info is not None: - msg = err_info[1] - if isinstance(msg, list): - tooltip = tooltip + "\n{code}: {msg}\nPossible causes:\n{causes}\nRemedy:\n{remedies}".format(code = code_str, msg = msg[0], causes = msg[1], remedies = msg[2]) + cond = err_info[0] + msgs = err_info[1] + + if isinstance(msgs, list): + msg = msgs[0] + cause = msgs[1] + remedy = msgs[2] else: - tooltip = tooltip + "\n{}".format(msg) + msg = msgs + cause = "" + remedy = "" - cond = err_info[0] - if cond == cond_error: - color = WidgetColorService.getColor("RED-BACKGROUND") - elif cond == cond_warning: -# color = WidgetColorService.getColor("ORANGE") - color = WidgetColorService.getColor("YELLOW-BACKGROUND") + if cond: + if cond == cond_error: + color = WidgetColorService.getColor("RED-BACKGROUND") + elif cond == cond_warning: +# color = WidgetColorService.getColor("ORANGE") + color = WidgetColorService.getColor("YELLOW-BACKGROUND") + if not cause: + cause = "N/A" + if not remedy: + remedy = "N/A" else: color = WidgetColorService.getColor("Read_Background") + else: - color = WidgetColorService.getColor("Read_Background") + color = WidgetColorService.getColor("Read_Background") + msg = "" + cause = "" + remedy = "" + -widget.setPropertyValue("tooltip", tooltip) -widget.setPropertyValue("background_color", color) +code_widget.setPropertyValue("text", code_str) +code_widget.setPropertyValue("background_color", color) +msg_widget.setPropertyValue("text", msg) +cause_widget.setPropertyValue("text", cause) +remedy_widget.setPropertyValue("text", remedy) diff --git a/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/vac_ctrl_pfeiffertcp350.bob b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/vac_ctrl_pfeiffertcp350.bob index f6a61c8b09432a69766272af70624eca7228a0a0..91c756a765edbff90865c233cf285f7b8fe5781e 100644 --- a/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/vac_ctrl_pfeiffertcp350.bob +++ b/NON-APPROVED/COMMON/DEVICES/vacuum/vept/Faceplate/vac_ctrl_pfeiffertcp350.bob @@ -69,24 +69,24 @@ <transparent>true</transparent> <widget type="embedded" version="2.0.0"> <name>Normal Operation</name> - <file>mode.bob</file> <macros> <MODE>Normal</MODE> <MODE_PV>NormalOperationR</MODE_PV> <TOOLTIP>Normal Operation [P:302]</TOOLTIP> </macros> + <file>mode.bob</file> <width>138</width> <height>31</height> <transparent>true</transparent> </widget> <widget type="embedded" version="2.0.0"> <name>Pump</name> - <file>mode.bob</file> <macros> <MODE>Pump</MODE> <MODE_PV>PumpCtrl-RB</MODE_PV> <TOOLTIP>[P:023]</TOOLTIP> </macros> + <file>mode.bob</file> <x>140</x> <width>138</width> <height>31</height> @@ -94,12 +94,12 @@ </widget> <widget type="embedded" version="2.0.0"> <name>Accelerating</name> - <file>blue_mode.bob</file> <macros> <MODE>Accelerating</MODE> <MODE_PV>AcceleratingR</MODE_PV> <TOOLTIP>[P:307]</TOOLTIP> </macros> + <file>blue_mode.bob</file> <x>280</x> <width>138</width> <height>31</height> @@ -107,12 +107,12 @@ </widget> <widget type="embedded" version="2.0.0"> <name>Set Speed</name> - <file>mode.bob</file> <macros> <MODE>Set Speed</MODE> <MODE_PV>AtNominalSpdR</MODE_PV> <TOOLTIP>[P:306]</TOOLTIP> </macros> + <file>mode.bob</file> <x>420</x> <width>138</width> <height>31</height> @@ -120,12 +120,12 @@ </widget> <widget type="embedded" version="2.0.0"> <name>Remote Priority</name> - <file>mode.bob</file> <macros> <MODE>Remote</MODE> <MODE_PV>RemotePrioR</MODE_PV> <TOOLTIP>Remote Priority [P:300]</TOOLTIP> </macros> + <file>mode.bob</file> <x>560</x> <width>138</width> <height>31</height> @@ -133,12 +133,12 @@ </widget> <widget type="embedded" version="2.0.0"> <name>Standby</name> - <file>orange_mode.bob</file> <macros> <MODE>Standby</MODE> <MODE_PV>StandbyR</MODE_PV> <TOOLTIP>[P:002]</TOOLTIP> </macros> + <file>orange_mode.bob</file> <x>700</x> <width>138</width> <height>31</height> @@ -156,12 +156,12 @@ <x>10</x> <y>10</y> <width>390</width> - <height>320</height> + <height>285</height> <style>3</style> <widget type="rectangle" version="2.0.0"> <name>Background</name> <width>390</width> - <height>320</height> + <height>285</height> <line_color> <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> </color> @@ -196,7 +196,7 @@ <name>Frequency</name> <text>Frequency</text> <y>40</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -204,7 +204,7 @@ <widget type="label" version="2.0.0"> <name>P309</name> <text>[P:309]:</text> - <x>150</x> + <x>200</x> <y>40</y> <width>60</width> <height>25</height> @@ -218,9 +218,9 @@ <widget type="textupdate" version="2.0.0"> <name>FreqR</name> <pv_name>$(DEVICENAME):FreqR</pv_name> - <x>220</x> + <x>270</x> <y>40</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -229,7 +229,7 @@ <name>Speed</name> <text>Speed</text> <y>75</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -237,7 +237,7 @@ <widget type="label" version="2.0.0"> <name>P309_1</name> <text>[P:309]:</text> - <x>150</x> + <x>200</x> <y>75</y> <width>60</width> <height>25</height> @@ -251,9 +251,9 @@ <widget type="textupdate" version="2.0.0"> <name>SpdR</name> <pv_name>$(DEVICENAME):SpdR</pv_name> - <x>220</x> + <x>270</x> <y>75</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -262,7 +262,7 @@ <name>DC Voltage</name> <text>DC Voltage</text> <y>110</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -271,7 +271,7 @@ <widget type="label" version="2.0.0"> <name>P313</name> <text>[P:313]:</text> - <x>150</x> + <x>200</x> <y>110</y> <width>60</width> <height>25</height> @@ -285,9 +285,9 @@ <widget type="textupdate" version="2.0.0"> <name>DCVolR</name> <pv_name>$(DEVICENAME):DCVolR</pv_name> - <x>220</x> + <x>270</x> <y>110</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -296,7 +296,7 @@ <name>Motor Current</name> <text>Motor Current</text> <y>145</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -305,7 +305,7 @@ <widget type="label" version="2.0.0"> <name>P310</name> <text>[P:310]:</text> - <x>150</x> + <x>200</x> <y>145</y> <width>60</width> <height>25</height> @@ -319,9 +319,9 @@ <widget type="textupdate" version="2.0.0"> <name>MotorCurR</name> <pv_name>$(DEVICENAME):MotorCurR</pv_name> - <x>220</x> + <x>270</x> <y>145</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -330,7 +330,7 @@ <name>Drive Motor Output</name> <text>Drive Motor Output</text> <y>180</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -338,7 +338,7 @@ <widget type="label" version="2.0.0"> <name>P316</name> <text>[P:316]:</text> - <x>150</x> + <x>200</x> <y>180</y> <width>60</width> <height>25</height> @@ -352,9 +352,9 @@ <widget type="textupdate" version="2.0.0"> <name>DrvOutputR</name> <pv_name>$(DEVICENAME):DrvOutputR</pv_name> - <x>220</x> + <x>270</x> <y>180</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -363,7 +363,7 @@ <name>Set Frequency</name> <text>Set Frequency</text> <y>215</y> - <width>150</width> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -372,7 +372,7 @@ <widget type="label" version="2.0.0"> <name>P308</name> <text>[P:308]:</text> - <x>150</x> + <x>200</x> <y>215</y> <width>60</width> <height>25</height> @@ -386,57 +386,18 @@ <widget type="textupdate" version="2.0.0"> <name>FreqSPR</name> <pv_name>$(DEVICENAME):FreqSPR</pv_name> - <x>220</x> + <x>270</x> <y>215</y> - <width>160</width> - <height>25</height> - <horizontal_alignment>2</horizontal_alignment> - <vertical_alignment>1</vertical_alignment> - </widget> - <widget type="label" version="2.0.0"> - <name>Active Error Code</name> - <text>Active Error Code</text> - <y>250</y> - <width>150</width> - <height>25</height> - <horizontal_alignment>2</horizontal_alignment> - <vertical_alignment>1</vertical_alignment> - <tooltip>Currently Present Error</tooltip> - </widget> - <widget type="label" version="2.0.0"> - <name>P303</name> - <text>[P:303]:</text> - <x>150</x> - <y>250</y> - <width>60</width> - <height>25</height> - <font> - <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> - </font> - </font> - <horizontal_alignment>2</horizontal_alignment> - <vertical_alignment>1</vertical_alignment> - </widget> - <widget type="textupdate" version="2.0.0"> - <name>ErrCodeR</name> - <pv_name>$(DEVICENAME):ErrCodeR</pv_name> - <x>220</x> - <y>250</y> - <width>160</width> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> - <pv_name>$(pv_name)</pv_name> - </script> - </scripts> </widget> <widget type="label" version="2.0.0"> <name>Nominal Frequency</name> <text>Nominal Frequency</text> - <y>285</y> - <width>150</width> + <y>250</y> + <width>200</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -444,8 +405,8 @@ <widget type="label" version="2.0.0"> <name>P315</name> <text>[P:315]:</text> - <x>150</x> - <y>285</y> + <x>200</x> + <y>250</y> <width>60</width> <height>25</height> <font> @@ -458,9 +419,9 @@ <widget type="textupdate" version="2.0.0"> <name>NomFreqR</name> <pv_name>$(DEVICENAME):NomFreqR</pv_name> - <x>220</x> - <y>285</y> - <width>160</width> + <x>270</x> + <y>250</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> @@ -468,15 +429,15 @@ </widget> <widget type="group" version="2.0.0"> <name>Group Error History</name> - <x>438</x> + <x>420</x> <y>10</y> - <width>330</width> - <height>390</height> + <width>350</width> + <height>425</height> <style>3</style> <widget type="rectangle" version="2.0.0"> <name>Background</name> - <width>330</width> - <height>390</height> + <width>350</width> + <height>425</height> <line_color> <color name="BLUE-GROUP-BORDER" red="138" green="167" blue="167"> </color> @@ -489,7 +450,7 @@ <widget type="label" version="2.0.0"> <name>Error History</name> <text>Error History</text> - <width>330</width> + <width>350</width> <height>30</height> <font> <font name="Header 2" family="Source Sans Pro" style="BOLD_ITALIC" size="21.0"> @@ -507,10 +468,79 @@ <horizontal_alignment>1</horizontal_alignment> <vertical_alignment>1</vertical_alignment> </widget> + <widget type="label" version="2.0.0"> + <name>Active Error</name> + <text>Active Error</text> + <y>40</y> + <width>90</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <tooltip>Currently Present Error</tooltip> + </widget> + <widget type="label" version="2.0.0"> + <name>P303</name> + <text>[P:303]:</text> + <x>90</x> + <y>40</y> + <width>60</width> + <height>25</height> + <font> + <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0"> + </font> + </font> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + </widget> + <widget type="textupdate" version="2.0.0"> + <name>ErrCodeR</name> + <pv_name>$(DEVICENAME):ErrCodeR</pv_name> + <x>160</x> + <y>40</y> + <width>110</width> + <height>25</height> + <horizontal_alignment>2</horizontal_alignment> + <vertical_alignment>1</vertical_alignment> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> + <pv_name>$(pv_name)</pv_name> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Active Error</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCodeR</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>40</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> + </widget> <widget type="label" version="2.0.0"> <name>Error 1</name> <text>Error 1</text> - <y>40</y> + <y>75</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -520,7 +550,7 @@ <name>P360</name> <text>[P:360]:</text> <x>90</x> - <y>40</y> + <y>75</y> <width>60</width> <height>25</height> <font> @@ -534,21 +564,51 @@ <name>ErrCode1R</name> <pv_name>$(DEVICENAME):ErrCode1R</pv_name> <x>160</x> - <y>40</y> - <width>160</width> + <y>75</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 1</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode1R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>75</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 2</name> <text>Error 2</text> - <y>75</y> + <y>110</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -558,7 +618,7 @@ <name>P361</name> <text>[P:361]:</text> <x>90</x> - <y>75</y> + <y>110</y> <width>60</width> <height>25</height> <font> @@ -572,21 +632,51 @@ <name>ErrCode2R</name> <pv_name>$(DEVICENAME):ErrCode2R</pv_name> <x>160</x> - <y>75</y> - <width>160</width> + <y>110</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 2</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode2R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>110</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 3</name> <text>Error 3</text> - <y>110</y> + <y>145</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -596,7 +686,7 @@ <name>P362</name> <text>[P:362]:</text> <x>90</x> - <y>110</y> + <y>145</y> <width>60</width> <height>25</height> <font> @@ -610,21 +700,51 @@ <name>ErrCode3R</name> <pv_name>$(DEVICENAME):ErrCode3R</pv_name> <x>160</x> - <y>110</y> - <width>160</width> + <y>145</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 3</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode3R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>145</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 4</name> <text>Error 4</text> - <y>145</y> + <y>180</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -634,7 +754,7 @@ <name>P363</name> <text>[P:363]:</text> <x>90</x> - <y>145</y> + <y>180</y> <width>60</width> <height>25</height> <font> @@ -648,21 +768,51 @@ <name>ErrCode4R</name> <pv_name>$(DEVICENAME):ErrCode4R</pv_name> <x>160</x> - <y>145</y> - <width>160</width> + <y>180</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 4</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode4R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>180</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 5</name> <text>Error 5</text> - <y>180</y> + <y>215</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -672,7 +822,7 @@ <name>P364</name> <text>[P:364]:</text> <x>90</x> - <y>180</y> + <y>215</y> <width>60</width> <height>25</height> <font> @@ -686,21 +836,51 @@ <name>ErrCode5R</name> <pv_name>$(DEVICENAME):ErrCode5R</pv_name> <x>160</x> - <y>180</y> - <width>160</width> + <y>215</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 5</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode5R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>215</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 6</name> <text>Error 6</text> - <y>215</y> + <y>250</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -710,7 +890,7 @@ <name>P365</name> <text>[P:365]:</text> <x>90</x> - <y>215</y> + <y>250</y> <width>60</width> <height>25</height> <font> @@ -724,21 +904,51 @@ <name>ErrCode6R</name> <pv_name>$(DEVICENAME):ErrCode6R</pv_name> <x>160</x> - <y>215</y> - <width>160</width> + <y>250</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 6</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode6R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>250</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 7</name> <text>Error 7</text> - <y>250</y> + <y>285</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -748,7 +958,7 @@ <name>P366</name> <text>[P:366]:</text> <x>90</x> - <y>250</y> + <y>285</y> <width>60</width> <height>25</height> <font> @@ -762,21 +972,51 @@ <name>ErrCode7R</name> <pv_name>$(DEVICENAME):ErrCode7R</pv_name> <x>160</x> - <y>250</y> - <width>160</width> + <y>285</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 7</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode7R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>285</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 8</name> <text>Error 8</text> - <y>285</y> + <y>320</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -786,7 +1026,7 @@ <name>P367</name> <text>[P:367]:</text> <x>90</x> - <y>285</y> + <y>320</y> <width>60</width> <height>25</height> <font> @@ -800,21 +1040,51 @@ <name>ErrCode8R</name> <pv_name>$(DEVICENAME):ErrCode8R</pv_name> <x>160</x> - <y>285</y> - <width>160</width> + <y>320</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 8</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode8R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>320</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 9</name> <text>Error 9</text> - <y>320</y> + <y>355</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -824,7 +1094,7 @@ <name>P368</name> <text>[P:368]:</text> <x>90</x> - <y>320</y> + <y>355</y> <width>60</width> <height>25</height> <font> @@ -838,21 +1108,51 @@ <name>ErrCode9R</name> <pv_name>$(DEVICENAME):ErrCode9R</pv_name> <x>160</x> - <y>320</y> - <width>160</width> + <y>355</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 9</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode9R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>355</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> <widget type="label" version="2.0.0"> <name>Error 10</name> <text>Error 10</text> - <y>355</y> + <y>390</y> <width>90</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> @@ -862,7 +1162,7 @@ <name>P369</name> <text>[P:369]:</text> <x>90</x> - <y>355</y> + <y>390</y> <width>60</width> <height>25</height> <font> @@ -876,22 +1176,52 @@ <name>ErrCode10R</name> <pv_name>$(DEVICENAME):ErrCode10R</pv_name> <x>160</x> - <y>355</y> - <width>160</width> + <y>390</y> + <width>110</width> <height>25</height> <horizontal_alignment>2</horizontal_alignment> <vertical_alignment>1</vertical_alignment> - <scripts> - <script file="errorcodes.py" check_connections="false"> + <rules> + <rule name="Background" prop_id="background_color" out_exp="false"> + <exp bool_exp="pvStr0.startswith("Wrn")"> + <value> + <color name="YELLOW-BACKGROUND" red="226" green="216" blue="193"> + </color> + </value> + </exp> + <exp bool_exp="pvStr0 != "000000""> + <value> + <color name="RED-BACKGROUND" red="225" green="192" blue="188"> + </color> + </value> + </exp> <pv_name>$(pv_name)</pv_name> - </script> - </scripts> + </rule> + </rules> + </widget> + <widget type="action_button" version="3.0.0"> + <name>Explain Error 10</name> + <actions> + <action type="open_display"> + <file>pfeiffer_error_history.bob</file> + <macros> + <ERROR_PV>$(DEVICENAME):ErrCode10R</ERROR_PV> + </macros> + <target>window</target> + <description>Explain</description> + </action> + </actions> + <x>276</x> + <y>390</y> + <width>64</width> + <height>25</height> + <tooltip>$(actions)</tooltip> </widget> </widget> <widget type="group" version="2.0.0"> <name>Group Diagnostics</name> <x>10</x> - <y>340</y> + <y>305</y> <width>390</width> <height>250</height> <style>3</style> @@ -1136,8 +1466,8 @@ </widget> <widget type="group" version="2.0.0"> <name>Group Warnings</name> - <x>438</x> - <y>410</y> + <x>420</x> + <y>445</y> <width>281</width> <height>180</height> <style>3</style> @@ -2040,6 +2370,8 @@ <width>326</width> <tooltip>$(actions)</tooltip> <show_confirm_dialog>true</show_confirm_dialog> + <confirm_message>Are your sure you want to do this? +Please cycle the power of the controller for the reset to take effect</confirm_message> </widget> </widget> </children>