We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4241f74 commit bdd30fdCopy full SHA for bdd30fd
notebooks/test_thermal_stress.py
@@ -70,6 +70,7 @@
70
71
def log_temperature():
72
# Create a file with the current timestamp in the name
73
+ start = time.time()
74
timestamp = time.strftime("%Y%m%d_%H%M%S")
75
filename = f"{timestamp}_temp.csv"
76
shutdown = False
@@ -103,6 +104,7 @@ def log_temperature():
103
104
logfile.flush() # Ensure the data is written immediately
105
break
106
time.sleep(log_interval)
107
+ print(f"Temperature logging stopped after {time.time() - start:.2f} seconds. Data saved to {filename}.")
108
109
# Verify communication with the devices
110
if not interface.txdevice.ping():
0 commit comments