Browse Source

adjustments

Thomas Thuemmler 3 months ago
parent
commit
bb88047fb9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      SDS_status_main.php

+ 4 - 4
SDS_status_main.php

@@ -1076,8 +1076,8 @@ if ($PSmode == 5)
     placeText(330, 160, "PS IE", 120, 2, "#505050"); // prespec IE
     
     
-    for ($pp = 7; $pp < 12; $pp++) // PS tank (channel 7 = array entry 14 + 15), IE west (8), IE east (9)
-      {
+    for ($pp = 7; $pp < 11; $pp++) // PS tank (channel 7 = array entry 14 + 15), IE west (8), IE east (9)
+      {  // changed upper limit from 12 to 11 in order to skip IE channel 4
 	// color and text
 	if ($pp == 7) { $text = "Primary PS tank potential of 416EHV1001"; $color = "#000000";}
 	else if ($pp == 8) { $text = "relative voltage potential PS IE1 Ch1A of 416EHV1002"; $color = "#505050";}
@@ -1366,8 +1366,8 @@ if ($PSmode == 5)
         $color = "#CCCCCC";
         if ($value < 800)
             {
-                $draw_x = 140;
-                $draw_y = 345;
+                $draw_x = 138;
+                $draw_y = 348;
                 placeBoxRight($draw_y, $draw_x,sprintf('%.1F &#176;C', $value), 65, 2, $color);
                 placePicWithLink($draw_y+2, $draw_x+5, "newTemperature.png", 15, "Average temperature of pre spectrometer vessel sensors 4023..33..43.", $link);
             }