Cannot step QCoDeS Instrument Parameter with numpy.int32, int16, int8
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 73
Description
If you encounter a bug use the following template.
If you have a feature request feel free to freestyle.
qcodes issue:
Cannot set QCoDeS Instrument Parameter with numpy.int32, int16, int8 etc
### Steps to reproduce
1. create/connect to a real instrument (here: a QuTech D5a dac module)
2. try to set a value using a numpy int32 -> my_instrument.my_parameter(np.int31(1))
3.
### Expected behaviour
Instrument should be set normally (works with setting with normal floats, ints, or numpy floats)
### Actual behaviour
Nothing is set, following warning is printed. No exception is thrown. Response seems to be asynchronous.
`WARNING:root:cannot sweep dac9 from 9.002822919050914 to 1 - jumping`
Setting several values repeatedly in a loop causes the warnings to be printed in groups/ bursts.
### System
**operating system**
Windows 10
**qcodes branch**
v0.1.11 via pypi
**qcodes commit**
Contributor guide
Assessment
This issue has not been assessed yet.