LimeSDR Mini with LMS7002M Python package

#1

Hi,

I made a VNA using the LimeSDR with LMS7002M Python package and works fine.

But this same code in the LimeSDR Mini has the error:

“Searching for LimeSDR… Traceback (most recent call last):
File “measureVNA.py”, line 147, in
limeSDR = LimeSDR()
File “build\bdist.win-amd64\egg\pyLMS7002M\LimeSDR.py”, line 51, in init
ValueError: LimeSDR not found”

The LimeSDR Mini not is compatible with Python?

Best regards

Euclides

#2

Not quite — pyLMS7002M has likely not been tested with the LimeSDR Mini. Furthermore, I’m guessing the VNA application might need some tweaks. Tagging @dgrujic to see if he could comment further.

#3

Hi Andrew,

Thanks for your feedback.

I made a simple code to verify if the pyLMS7002M found the LimeSDR boards (normal and mini versions). The normal version was found by pyLMS7002M but the Mini version not was found.

If you can any tips to I update the code to works with Mini version?

Best regards

Euclides

PS: the code to verify the connection is:

from pyLMS7002M import *

print(“Searching for LimeSDR…”)
try:
limeSDR = LimeSDR()
except:
print(“LimeSDR not found”)
exit(1)
print("\nLimeSDR info:")
limeSDR.printInfo() # print the LimeSDR board info
limeSDR.LMS7002_Reset() # reset the LMS7002M
lms7002 = limeSDR.getLMS7002() # get the LMS7002M object
ver, rev, mask = lms7002.chipInfo # get the chip info
print("\nLMS7002M info:")
print("VER : "+str(ver))
print("REV : "+str(rev))
print("MASK : "+str(mask))

#4

At the moment, LimeSDR Mini is not supported by pyLMS7002M.
Next update should include support for LimeSDR Mini.

Vector Network Analyzer