EasyManua.ls Logo

Analog Devices ADRV9002

Analog Devices ADRV9002
277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Preliminary Technical Data UG-1828
Rev. PrB | Page 265 of 277
IronPython Scripting
IronPython is an implementation of the Python programming language targeting the .NET Framework. The IronPython editor is in the
View menu and allows the user to use IronPython to write a unique sequence of events and then execute them using the ADRV9001
evaluation system.
For the IronPython scripting tab to operate, the user must download the Iron Python 2.7 environment. The latest version can be
downloaded from the Iron Python website (https://ironpython.net/). After Iron Python is installed, the user must tell TES its installation
library path. To set this, open the IronPython editor, then select File and select Set IronPython path. For the default Iron Python
installation, this path is set to C:\Program Files (x86)\IronPython 2.7\Lib.
Figure 258 shows the IronPython editor after executing the File > New function in the IronPython Script tab. The top portion of the
window contains IronPython script commands whereas the bottom portion of the window displays the script output.
To use this tab, take the following steps:
1. Scroll to the bottom of the file where there is text that states #### YOUR CODE GOES HERE ####
2. This editor will bring up suggestions of all the API functions available when you type “Adrv9001.”
3. Information on parameters for different API calls can be found in the doxygen file (ADRV9001_API.chm) in the SDK.
4. Go to IronPython, select Build and then select Run. This function executes Iron Python script open in currently active script tab
using ADRV9001 evaluation hardware. Script output is displayed in bottom side of the Iron Python script tab.
For this example, the Tx attenuation for the selected channel changes.
Figure 259. IronPython Scripting Window

Table of Contents

Related product manuals