The ADI IIO Oscilloscope is a example application, which demonstrates how to interface to different evaluation boards from within a Linux system. The application supports plotting of the captured data in three different modes (time domain, frequency domain and constellation). 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 GTK+, gtkdatabox, xml and matio libraries. Before the IIO Oscilloscope can be build the
and packages need to be installed.
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 libxml2-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/osc_iio_utils_legacy > make > sudo make install
To start the IIO Oscilloscope open up the start menu of your system 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 scale in the frequency plots is dBFS. (dB Full Scale). To understand what that is, check out static/imported-files/tutorials/MT-003.pdf.
Clicking on the “Capture” button will start sampling with the currently selected settings. To stop sampling click the “Capture” button again. Setting changes will only be applied when a new capture session is started (With the exception of the “Show grid” option). It is not possible to switch between plotting modes or change the number of samples or FFT size while a capture session is active. The only exceptions are the “FFT Average” and “FFT Offset” settings which can be changed dinamically as the capture sesions is active.
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 Impulse Generator is a feature that allows the user to associate a trigger with the selected ADC in the Device: section. The trigger generates signals with a configurable frequency that triggers ADC conversions.
Only ADCs that do not have a hardware device on the evaluation board capable of fulfilling the same task as the trigger, will need to be associated with a trigger.
To open the Impulse Generator configuration window click on Settings→Impulse Generator.
If the ADC does not require a trigger the Impulse Generator menu will be displayed as inactive.
Impulse Generator Settings: