Hello, Im trying to run the below code and getting the following error
`from artiq.experiment import *
class ScanTest(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_argument("scan", Scannable(global_max=400,
default=NoScan(325)))
@kernel
def run(self):
self.core.reset()
self.core.break_realtime()
for i in self.scan:
print(i)`
Output:
root:While compiling <repository>/ScanTest.py
<repository>/ScanTest.py:14:18-14:27: error: type <instance artiq.language.scan.RangeScan {
__objectid__: numpy.int32
}> is not iterable
for i in self.scan:
^^^^^^^^^
artiq.master.scheduler:got worker exception in run stage, deleting RID 4472
Im running artiq version 7.8123.3038639
Any help would be appreciated!