The ADI IIO Oscilloscope is a example application, which demonstrates how to interface different evaluation boards from within a Linux system. The application supports plotting of the captured data in four different modes (time domain, frequency domain, constellation and cross-correlation). The application also allows to view and modify several settings of the evaluation board's devices.
You can either download the IIO Oscilloscope here from the wiki or checkout the latest version from the git repository.
Git: https://github.com/analogdevicesinc/iio-oscilloscope / git://github.com/analogdevicesinc/iio-oscilloscope.git
The IIO Oscilloscope uses the following libraries:
Before the IIO Oscilloscope can be build the following packages need to be installed:
Install Libiio library by following these instructions.
This specifies any shell prompt running on the target - Install IIO Oscilloscope build dependencies
> sudo apt-get install libgtkdatabox-0.9.1-1-dev libgtk2.0-dev libmatio-dev
To build and install the IIO Oscilloscope you need to unpack the tar archive and run `make` and `make install` in the osc folder.
This specifies any shell prompt running on the host or target - Download and install the iio scope
> git clone https://github.com/analogdevicesinc/iio-oscilloscope.git > cd iio-oscilloscope > git checkout origin/master > make > sudo make install
The application can run locally which means it runs on the same platform where your device is connected.
To start the IIO Oscilloscope open up the start menu of your system and search for “IIO Oscilloscope”. E.g. if you are using a Ubuntu Linux system move your mouse cursor to the left side of your screen and “Dash home” button and type “IIO Oscilloscope” into the search box.
The application can be used to connect to another platform that has a connected device in order to configure the device and read data from it.
This specifies any shell prompt running on the host or target - Run IIO Oscilloscope in remote mode
> export OSC_REMOTE=IP address of the remote platform > osc
Markers are used for plot data measurement. To activate the markers right click on the plot and select from the marker menu the type of marker you want to enable. Make sure the capture process is running and the appropriate domain is selected in order to enable the markers properly. The following types of markers are available:
The enabling of a marker will display a set of 5 markers by default. You can add more markers by selecting Add Marker from the marker menu and remove some by selection Remove Maker.
Fixed markers are designed to have their position moved by the user. Once the fixed markers are visible on the plot right click on the marker symbol and while holding the right button pressed move the mouse to the desired location on the plot and release the right button.
To disable the markers select Markers Off from the marker menu.
Once the data is captured, it can be saved using one of the following formats:
Click on File→Save As to open the dialog needed to save the data.
The settings can be applied only in Time domain.
The Main Window is designed to display a configuration panel (plugin) for each device recognized by the system. Additional plugins will be loaded for device debugging and monitoring purposes such as: