Post Go back to editing

How to run IronPython script "dpd_capture.py" for ADRV9002 DPD evaluation

Thread Summary

The user encountered issues running dpd_capture.py for ADRV9002 DPD evaluation due to the removal of the IronPython editor in TES 0.29.0. The solution is to use an external Python editor, install pythonnet and run .\install_wheel.bat, and import advr9001_python_wrappers. The user must port the script to a Python environment.
AI Generated Content
Category: Software
Product Number: ADRV9002
Software Version: TES 0.29.0

Hi.

I am evaluating the DPD characteristics of the ADRV9002 using the evaluation board ADRV9002NP/W1/PCBZ + ZCU102.
I am trying to use the IronPython script dpd_capture.py described on the following web page:

https://ez.analog.com/rf/wide-band-rf-transceivers/design-support-adrv9001-adrv9007/w/documents/15829/digital-pre-distortion

Our PC software environment is as follows:

  • ADRV9002 TES: 0.29.0
  • OS: Windows 11 Enterprise 24H2
  • IronPython: 3.4.2

This web page states that the script should be run from the Python Editor in the TES View tab.
However, in TES 0.29.0, the following message appears and the script cannot be executed:

The IronPython editor has been permanently removed from the evaluation software.
If not already done, re-run the installer ensuring that "Optional Python SDK" is checked.
Use any off-the-shelf Python editor (VS Code, PyCharm, etc.) and import advr9001_python_wrappers.

So I tried running the script from IronPython instead of TES, but it terminated with an error.
When I ran the script from the TES installation folder, I got the following import error:

Traceback (most recent call last):
File "C:\temp\dpd_capture.py", line 17, in <module>
ImportError: Cannot import name Transports

Could you please tell me how to run dpd_capture.py?
Is the above execution step incorrect?
Is any environment setup required?