Commit 128e2a6b authored by Marek Gumiński's avatar Marek Gumiński

Both tests that verify the temperature have the same accepted range.

The lower limit was lowered to 40 degC. The previous acceptance criteria used to fail if the PC was turned off for long enough that it cooled down.
parent e9498760
......@@ -69,7 +69,7 @@ def main (card=None, default_directory='.',suite=None, configure_fpga=True):
temp_str += " "+str(temp[-1])
time.sleep(0.5)
MEAN_MIN = 60.
MEAN_MIN = 40.
MEAN_MAX = 80.
PP = 5.
......
......@@ -63,8 +63,8 @@ def main (card=None, default_directory='.',suite=None, configure_fpga=True):
temp_str += " "+str(temp[-1])
time.sleep(0.5)
MEAN_MIN = 50.
MEAN_MAX = 70.
MEAN_MIN = 40.
MEAN_MAX = 80.
PP = 5.
if (numpy.mean(temp)>MEAN_MAX) or (numpy.mean(temp)<MEAN_MIN):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment