Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
resources:eval:user-guides:circuits-from-the-lab:cn0548 [17 Nov 2021 01:37] – [Demo Requirements] Harvey John De Chavez | resources:eval:user-guides:circuits-from-the-lab:cn0548 [23 Nov 2021 11:59] – [PyADI-IIO] Harvey John De Chavez |
---|
[[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\ | [[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\ |
| |
Install PyADI-IIO using one of the methods in [[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]].\\ | ===Installing and Setting up the PyADI-IIO Enviroment=== |
| - There are minimal variations in installing PyADI-IIO depending on your operating system. [[/resources/tools-software/linux-software/pyadi-iio| You may refer to this guide regarding the initial steps to install PyADI-IIO for your machine.]] \\ \\ |
===Cloning the Repository and Setting up the PyADI-IIO Enviroment=== | - Upon performing the OS-specific steps, we will also be needing the matplotlib package for the plotting of data: <code> pip install matplotlib</code> |
- Clone the pyadi-iio master repository. Create a folder where you want to clone the repository, navigate to this folder using a terminal (command prompt for Windows) and enter the following command:<code> git clone https://github.com/analogdevicesinc/pyadi-iio.git </code> | |
- Navigate into the //pyadi-iio// folder and install the required packages for the demo. Enter the following commands: <code> pip install -r requirements.txt </code> We will also be needing the matplotlib package for the plotting of data: <code> pip install matplotlib</code> | |
- Lastly, finish the environment setup by invoking the setup.py file. <code> python setup.py install </code> | |
<note> In case your system is specifically designed for a certain application, you may want to consider using a virtual environment in doing this demo. It should also help in dealing with system config and version issues.</note> | <note> In case your system is specifically designed for a certain application, you may want to consider using a virtual environment in doing this demo. It should also help in dealing with system config and version issues.</note> |
\\ | \\ |
===== Registration ===== | ===== Registration ===== |
<WRAP round tip 80% > | <WRAP round tip 80% > |
Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware. [[reg>EVAL-ADXRS290-PMDZ?&v=Rev B|Register]] to receive all these great benefits and more!</WRAP> | Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware. [[reg>EVAL-CN0548-RPIZ?&v=Rev B|Register]] to receive all these great benefits and more!</WRAP> |