Post Go back to editing

Can't run cn0554_example.py

Category: Software
Product Number: CN0554

Hi Everyone,

I am directly interfacing the CN0554 to an RPI4 running ADI-Kuiper-Linux OS. I followed the instructions in https://wiki.analog.com/resources/tools-software/linux-software/pyadi-iio to install pyadi-iio. 

After that I downloaded the example https://github.com/analogdevicesinc/pyadi-iio/blob/master/examples/cn0554_example.py and tried to run it, but I get the error below

Traceback (most recent call last):
File "/home/analog/code/cn0554_example.py", line 17, in <module>
my_cn0554 = adi.cn0554(uri='local')
AttributeError: module 'adi' has no attribute 'cn0554'

Has anybody else run into this error?

Thanks,

Massimo