Ver Fonte

display K65 only at dev computer

Thomas Thümmler há 2 anos atrás
pai
commit
42d6e59696
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      SDS_status_main.php

+ 3 - 2
SDS_status_main.php

@@ -623,7 +623,7 @@ if (($MSmode == 5) or ($MSmode == 4))
 	$link = $K35_link;
 	$text = "K35 divider readout 436-REU-0-0201-0001, but connected to K65 in KNM6 at 436-REU-0-0101-0001, precision voltage value";
 
-	if ($K35_RunFlag > 0) 
+	if (($K35_RunFlag > 0)  && $local)
 	  {
 	    placeText(342, 811, $K35_text, 140, 2, $color); // K35 voltage reading
 	    placeTextWithLink(320, 746, "U<sub>0</sub> = ".sprintf('%.3F', $value ) . "(" . sprintf('%.0F', $voltage_error ) .") V" , 270, 5, $color, $text, $link);
@@ -659,7 +659,8 @@ if (($MSmode == 5) or ($MSmode == 4))
 	$text = "K65 divider channel 436-REU-0-0301-0001, precision voltage value, KNM5 calibration, in 2021 connected to K35 at 436-REU-0-0201-0001";
 	//$text = "K65 divider channel 436-REU-0-0301-0001, precision voltage value, KNM5 calibration, in 2021 used for 436-REU-0-0201-0001 as long as K35 is down.";
 	
-	if ($K65_RunFlag > 0) 
+	if ($K65_RunFlag > 0)
+
 	  {
 	    if (($value < -19724.6) & ($value > -19724.7)) placeText(340, 796, "calibration in progress", 170, 2, "green"); // calibration ongoing
 	    placeTextWithLink(358, 746, "U<sub>0</sub> = ".sprintf('%.3F', $value ) . "(" . sprintf('%.0F', $voltage_error ) .") V" , 270, 5, $color, $text, $link);