Hi, when I'm trying to read an input voltage from an oscilloscope with an ADC channel it gives the following error:
<artiq>/coredevice/sampler.py:149:13-149:16: error: the argument of len() must be of an iterable type
n = len(data)
^^^
<artiq>/coredevice/sampler.py:149:17-149:21: note: this expression has type numpy.int?
n = len(data)
^^^^
Any solution?
Reading values of the ADC input
You are probably calling sample(data)
in the wrong way. See the method documentation. What experiment code are you running?