Browse Source

PS gauge limits adjusted

Thomas Thümmler 4 years ago
parent
commit
0169ce9c80
1 changed files with 2 additions and 2 deletions
  1. 2 2
      SDS_status_main.php

+ 2 - 2
SDS_status_main.php

@@ -268,7 +268,7 @@ if (substr($ip, 0, 13) == "141.52.12.227")
 	$pic = "cc";
 	$text = "---";
 	if ($value > 1E-4) { $pic = $pic . "Off"; $text = "OFF"; }
-	else if ($value <= 1E-4 && $value > 2E-12) { $pic = $pic . "On"; $text = sprintf('%.1E', $value); }
+	else if ($value <= 1E-4 && $value > 1.2E-11) { $pic = $pic . "On"; $text = sprintf('%.1E', $value); }
         placePicWithLink(370, 240, $pic . ".png", 30, "status cold cathode gauge CC1232&#10;green: on, red: off, grey: undefined", $link);
 	placeTextWithLink(399, 220, $text, 70, 4, "#000000", "pressure [mbar] cold cathode gauge CC1232", $link);
 
@@ -279,7 +279,7 @@ if (substr($ip, 0, 13) == "141.52.12.227")
 	$pic = "ex";
 	$text = "---";
 	if ($value > 1E-4) { $pic = $pic . "Off"; $text = "OFF"; }
-	else if ($value <= 1E-4 && $value > 2E-12) { $pic = $pic . "On"; $text = sprintf('%.1E', $value); }
+	else if ($value <= 1E-4 && $value > 1E-12) { $pic = $pic . "On"; $text = sprintf('%.1E', $value); }
 	placePicWithLink(188, 141, $pic . ".png", 30, "status extractor ion gauge Ex1221&#10;green: on, red: off, grey: undefined", $link);
 	placeTextWithLink(217, 121, $text, 70, 4, "#000000", "pressure [mbar] extractor ion gauge Ex1221", $link);