Browse Source

minor updates

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

+ 6 - 6
SDS_status_main.php

@@ -602,7 +602,7 @@ if (($MSmode == 5) or ($MSmode == 4))
         $Kal2_link = $adeiChannel[30][9];
         $Kal2_TS = $adeiValue[30][10];
         $Kal2_RunFlag = $adeiValue[30][11];
-        $Kal2_text = "DVM @ JRL @ PS(IE)";
+        $Kal2_text = "JRL @ PS(IE)";
         
 	$time_conversion_factor = 2082844800;
         $most_recent_TS = max($K35_TS,$K65_TS,$Kal1_TS);
@@ -794,8 +794,8 @@ if (($MSmode == 5) or ($MSmode == 4))
         
         if ($Kal2_RunFlag > 0)
         {
-          placeText(440, 145, $Kal2_text, 130, 2, $color); // Kal2 voltage reading
-          placeTextWithLink(420, 95, "U<sub>PS</sub> = ".sprintf('%.3F', $value ) . "(" . sprintf('%.0F', $voltage_error*100 ) .") V" , 230, 4, $color, $text, $link);
+          placeText(460, 145, $Kal2_text, 130, 2, $color); // Kal2 voltage reading
+          placeTextWithLink(440, 95, "U<sub>PS</sub> = ".sprintf('%.2F', $value ) . "(" . sprintf('%.0F', $voltage_error*100 ) .") V" , 230, 4, $color, $text, $link);
         }
         
         
@@ -1355,7 +1355,7 @@ if ($PSmode == 5)
 
 
 
-	// ########## TLK Wall and LAUDA TEMPERATURE ##########
+	// ########## TLK Wall and LAUDA and PS TEMPERATURE ##########
 
 if ($PSmode == 5) 
     { // only display if PS operation mode is HV
@@ -1366,8 +1366,8 @@ if ($PSmode == 5)
         $color = "#CCCCCC";
         if ($value < 800)
             {
-                $draw_x = 375;
-                $draw_y = 145;
+                $draw_x = 145;
+                $draw_y = 375;
                 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);
             }