microsoft / microsoft/Qcodes

Parsing Error on Quantum Design DynaCool

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

Description

### Parsing Error on Quantum Design DynaCool
When communicating with the DynaCool, I am able to establish a connection to the server and to the instrument. However, I am unable to set or get any parameters due to a parsing error. I follows the directions provided in the sample notebook. @WilliamHPNielsen @jenshnielsen

### Steps to reproduce
1. Establish connection using dynacool = DynaCool('dynacool', address="TCPIP0::ip-address::5000::SOCKET")
2. Any function, such as dynacool.temperature()

### Expected behaviour
I expected the temperature to return back to me.

### Actual behaviour
I recieve the following error...
![image](https://github.com/microsoft/Qcodes/assets/102099988/a5a87b49-8572-4127-86f4-1c55913a4bb5)

Following along with the directions in the sample notebook, I was running the server.py file from Qcodes, and modified it to see the communication between the instrument, the server, and the client. On the server computer, I was able to see that the queries were going through to the instrument and correct values were being returned, but I was unable to see them on the client side. See below for that output.

![image](https://github.com/microsoft/Qcodes/assets/102099988/afa820ba-5e3d-4973-a3c9-3d72c8a89230)

It may be of interest to note that the snapshot also returned errors, saying it could not update the parameter. However, when viewing the snapshot object, all of the information is present. I believe this to be an interpretation error in the Qcodes driver for DynaCool.

### System
It would be helpful to provide such information:
OS: Windows 11
Python: 3.11.4
Qcodes: 0.45.0
DynaCool: 1.2.5.1

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the DynaCool connection and the dynacool.temperature() call described in the report. Run the modified server.py alongside the sample notebook, then compare the values returned by the instrument with what reaches the client. Done means parameters can be set and read successfully, including temperature, and snapshot updates no longer report errors.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.