This version is outdated by a newer approved version.DiffThis version (21 Jun 2019 21:22) was approved by Robin Getz.The Previously approved version (05 Apr 2019 14:06) is available.Diff

This is an old revision of the document!

IIO Plugin for Visual Analog

This software is deprecated and is no longer supported/tested. It is described here for historical purposes only. If you have questions, please try things out with IIO Scope, or ask questions on EngineerZone.


IIO Plugin is a Visual Analog component designed to create a communication channel between Visual Analog and the evaluation board attached to an embedded platform for the purpose of streaming data from the ADCs available on the board. The plugin can be used in conjunction with signal analysis components provided by Visual Analog in order to evaluate the performance of the board.


The IIO plugin depends on the libiio library which needs to be installed separately in order for the plugin to work.


  • The old plugin can be used by users that still run old versions of libiio on their targets. It also installs Libiio locally, next to the plugin.
  • The new plugin works with Libiio 0.10 which needs to be installed separately. First, look for 'LibIIO Setup x86' in 'Programs and Features' and uninstall it, then uninstall the old IIO plugin, if exists and then install the new one.


In order to establish the connection between the host PC and the target, there are several steps you need to follow on both sides.

Target side:

  1. Make sure the latest version of libiio is installed on target by following these instructions.
  2. Determine the IP address of the target by typing ifconfig in a terminal/console.

PC side:

  1. Install Visual Analog on your system.
  2. Run the Visual Analog IIO Plugin installer available in the Downloads section.
  3. Fill the Server IP Address field of the plugin configuration panel, with the IP address of the target.

User Guide

  • To use the plugin, drag the IIO Client element onto the canvas surface. The element can be found on the left side of the screen, in the Components tree view, under the Board Interfaces category.

  • Click on the Settings icon of the component to bring up the configuration panel of the plugin.

  • Set the IP Address field in the Server section with the network address of the remote device and click the Connect button.

  • A successful network connection to the remote target will make the Data section of the configuration panel become active. There are a number of configurations that can be made through the plugin:
    • Device: Allows to choose between IIO ADC devices available on the remote target.
    • Sample frequency (MHz): The sampling frequency that the ADC is configured with. Read only.
    • Channels:
      • Channels: Name of the channel of to the selected device.
      • Enable: Whether data should be captured on this channel or not.
      • Samples: Number of samples to be captured every run.
      • Test Enable: Whether the Test Modes should apply or not.
      • Test Modes: Allows to choose one of the test modes available for the device.
  • A click on the OK button will use the above properties to configure the device and then close the configuration panel. A click on the Apply button will configure the device immediately but keep the configuration panel open. A click on the Cancel button will close the configuration panel without configuring the device and without remembering the latest user changes.

  • The component will be the data source of your signal chain. To connect it to output components such as a Graph or data format components such as an Input Formatter use the right sided connectors of the component. You should use as many connectors as the number of enabled channels otherwise the extra connectors will be invalidated (the grey square icon will turn white and when the Run or Continuous Run buttons are pressed the software will mark the lines as invalid using red crosses).

  • The default height of the component allows for a maximum of 4 connectors. In certain situations where a device has more channels you can always resize the height of the component to get access to as many connectors as you need.

resources/tools-software/linux-software/libiio/clients/visual_analog.1561144964.txt.gz · Last modified: 21 Jun 2019 21:22 by Robin Getz