|
@@ -1460,20 +1460,21 @@ placePicWithLink(498, 501, $pic . ".png", 80, "status high-voltage grounding swi
|
|
|
|
|
|
|
|
|
// ########## EGUN COUPLING SWITCH ##########
|
|
|
-$switch_status = $adeiValue[46][0];
|
|
|
-$laser_status = $adeiValue[47][0];
|
|
|
-$switch_name = "egunSwitch";
|
|
|
-$egun_name = "egun";
|
|
|
-
|
|
|
-if ($switch_status == 1) $switch_name = $switch_name . "HV";
|
|
|
-else $switch_name = $switch_name . "GND";
|
|
|
-placePicWithLink(415, 325, $switch_name . ".png", 90, "status egun coupling switch", $adeiChannel[46][0]);
|
|
|
-
|
|
|
-
|
|
|
-if ($laser_status > 2 ) $egun_name = $egun_name . "On";
|
|
|
-else $egun_name = $egun_name . "Off";
|
|
|
-placePicWithLink(431, 300, $egun_name . ".png", 30, "status egun operation", $adeiChannel[47][0]);
|
|
|
-
|
|
|
+if ($MSmode == 5) // only display in MS operation mode High-Voltage
|
|
|
+ {
|
|
|
+ $switch_status = $adeiValue[46][0];
|
|
|
+ $laser_status = $adeiValue[47][0];
|
|
|
+ $switch_name = "egunSwitch";
|
|
|
+ $egun_name = "egun";
|
|
|
+
|
|
|
+ if ($switch_status == 1) $switch_name = $switch_name . "HV";
|
|
|
+ else $switch_name = $switch_name . "GND";
|
|
|
+ placePicWithLink(415, 325, $switch_name . ".png", 90, "status egun coupling switch", $adeiChannel[46][0]);
|
|
|
+
|
|
|
+ if ($laser_status > 2 ) $egun_name = $egun_name . "On";
|
|
|
+ else $egun_name = $egun_name . "Off";
|
|
|
+ placePicWithLink(431, 300, $egun_name . ".png", 30, "status egun operation", $adeiChannel[47][0]);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
// ########## MONITOR SPECTROMETR COUPLING STATUS ##########
|