microsoft / microsoft/Qcodes

ConnectionResetError when Controlling an Oxford Triton Fridge via QCoDeS Interface

Open
#6,975 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

I encountered a ConnectionResetError while controlling an Oxford Instruments Triton fridge using the QCoDeS interface. The traceback for the error is attached as below.

[connectionerrormessage.docx](https://github.com/user-attachments/files/19317519/connectionerrormessage.docx)

I have tried increasing the timeout before setting the field, adding a delay between commands but the issue persists.

Question:
Has anyone experienced similar issues when controlling the Triton magnet power supply via Qcodes?
Are there known fixes or best practices to prevent the connection from being reset?
Is there a recommended way to handle this in QCoDeS (e.g., reconnecting if the connection is lost)?

Any insights would be greatly appreciated! Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by reading the attached connectionerrormessage.docx and tracing the QCoDeS interface used for the Triton magnet power supply; no source file or test is named. Reproduce the connection reset with the same setup, then document a confirmed cause or handling fix and add coverage if the project supports a suitable test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.