File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,6 @@ def enable_cooldown(
147147 # thermalization will happen over this timescale)
148148 thermal_timeout = 10 * s
149149
150- # Pull initial temperature and cooling status
151- self .temperature , self .temperature_status = GetTemperatureF ()
152-
153150 # When cooling down, set fan depending on the cooling reservoir
154151 if water_cooling :
155152 SetFanMode (2 )
@@ -161,6 +158,9 @@ def enable_cooldown(
161158 SetTemperature (temperature_setpoint )
162159 CoolerON ()
163160
161+ # Pull initial temperature and cooling status
162+ self .temperature , self .temperature_status = GetTemperatureF ()
163+
164164 # Wait until stable
165165 if wait_until_stable :
166166 while 'TEMP_NOT_REACHED' in self .temperature_status :
@@ -305,6 +305,7 @@ def setup_acquisition(self, added_attributes=None):
305305 self .enable_cooldown (
306306 self .acquisition_attributes ['temperature' ],
307307 self .acquisition_attributes ['water_cooling' ],
308+ wait_until_stable = True ,
308309 )
309310
310311 # Get current temperature and temperature status
You can’t perform that action at this time.
0 commit comments