Browse Source

flipped K35 K65 to the right order

Thomas Thümmler 9 months ago
parent
commit
64f518d735
1 changed files with 5 additions and 5 deletions
  1. 5 5
      SDS_status_main.php

+ 5 - 5
SDS_status_main.php

@@ -606,12 +606,12 @@ if (($MSmode == 5) or ($MSmode == 4))
 	$hv_switch1103_k35 = $adeiValue[35][2];
 	if ($hv_switch1103_k35 == 1) $K35_text = "K35 @ MoS Voltage";
 	else if ($hv_switch1103_k35 == 0) $K35_text = "K35 @ MS  Voltage";
-	$K35_text = "K65 @ MS Tank + IE";
+	$K35_text = "K35 @ MS Tank + IE";
 	
 	// voltage monitoring readout K35
 	$color = "#000000";
   	//$factor_m = 1818.108;
-	$factor_m = 3636.27;
+	$factor_m = 1972.462;
 	$factor_m_rel_error = 2.0e-6;
 	$offset = 3.67e-6;
 	$offset_error = 1.6e-7;
@@ -637,8 +637,8 @@ if (($MSmode == 5) or ($MSmode == 4))
 	
 	// HV switch for K65
 	$hv_switch1102_k65 = $adeiValue[35][1];
-	//$K65_text = "K65 @ MS Tank + IE";
-	$K65_text = "K35 @ MS Tank + IE";
+	$K65_text = "K65 @ MS Tank + IE";
+	//$K65_text = "K35 @ MS Tank + IE";
 	//if ($hv_switch1102_k65 == 1) $K65_text = "K65 @ MoS Voltage";
 	//if ($hv_switch1102_k65 == 0) $K65_text = "K65 @ MS  Voltage";
 	
@@ -649,7 +649,7 @@ if (($MSmode == 5) or ($MSmode == 4))
 	//$offset = -4.1e-6;
 	//$gain = 1.00000136;
         
-	$factor_m = 1972.462;
+	$factor_m = 3636.27;
 	$factor_m_rel_error = 1.0e-6; // including calibration, gain and offset error
 	$offset = 3.67e-6;
 	$offset_error = 3.5e-7;