youkogawa GS200 range error
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start in Yokogawa_GS200.py around lines 160–165 and inspect how the 10 V range is validated against the instrument's actual 0–12 V output range. Reproduce setting the GS200 to 10 V and verify that valid output levels are accepted while levels beyond the supported range still raise the documented ValueError.
Written by the indexing model from the issue text.
Description
yokogawa GS200 has a range description CMD as 10V,However when the range is set to 10V,the actually range is 0-12v
in Yokogawa_GS200.py
from line 160~165 maybe change to this to fix this bug
# If we are still out of range, raise a value error
if (abs(output_level) > abs(self_range)*1.2) or (abs(output_level)>32):
raise ValueError(
"Desired output level not in range"
f" [-{self_range:.3}, {self_range:.3}]"
)
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/Qcodes
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in microsoft/Qcodes
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100