diff --git a/Python_script/prototype.py b/Python_script/prototype.py index 9f3f7827594587d64a9c2918e9f8a874d3a1eb51..bdd22a9b6721950a7a1eb959d251c90a884b6fd7 100755 --- a/Python_script/prototype.py +++ b/Python_script/prototype.py @@ -165,12 +165,14 @@ class Measurements: (phase <= reference_phase+self.max_delta_phase) supposedly_stable_measurements.append([data, self.cook_up_equi_indicator()]) - + if (self.temperature_stable and self.humidity_stable and self.magnitude_stable and self.phase_stable): + print('Stable measurement ' + str(i+1) + '/' + str(next_reads)) self.clock.sleep(self.sleep_time) else: all_measurements_stable = False + print('Measurement not stable. Retrying.') break for [d, measurement_equi] in supposedly_stable_measurements: