Skip to content

Commit af75e20

Browse files
K2400, range 5, stabalization window 5 K
1 parent 357acdc commit af75e20

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

pica/keithley/k2400/RT_K2400_L350_T_Control_GUI.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ def _create_info_panel(self, parent):
430430
pady=8)
431431
details_text = ("Program Name: R vs. T (T-Control)\n"
432432
"Instruments: Keithley 2400, Lakeshore 350\n"
433-
"Measurement Range: 100 µΩ to 200 MΩ")
433+
"Measurement Range: 100 µΩ to 200 MΩ\n"
434+
"Heater Range: 5 (Active)")
434435
ttk.Label(
435436
frame,
436437
text=details_text,
@@ -621,17 +622,17 @@ def _stabilization_loop(self):
621622
current_temp = self.backend.get_temperature()
622623
start_temp = self.params['start_temp']
623624

624-
if current_temp > start_temp + 0.2:
625+
if current_temp > start_temp + 5.0:
625626
self.log(
626627
f"Cooling... Current: {current_temp:.4f} K > Target: {start_temp} K")
627628
self.backend.set_heater_range(1, 'off')
628629
else:
629630
self.log(
630631
f"Heating... Current: {current_temp:.4f} K <= Target: {start_temp} K")
631-
self.backend.set_heater_range(1, 'medium')
632+
self.backend.set_heater_range(1, 'high')
632633
self.backend.set_setpoint(1, start_temp)
633634

634-
if abs(current_temp - start_temp) < 0.1:
635+
if abs(current_temp - start_temp) < 5.0:
635636
self.log(
636637
f"Stabilized at {current_temp:.4f} K. Waiting 5s before starting ramp...")
637638
self.experiment_state = 'ramping_setup'
@@ -884,4 +885,4 @@ def _on_closing(self):
884885
else:
885886
root = tk.Tk()
886887
app = RT_GUI_Active(root)
887-
root.mainloop()
888+
root.mainloop()

0 commit comments

Comments
 (0)