Wiki

This version (30 Jun 2017 22:12) was approved by DNechita.The Previously approved version (25 May 2017 19:32) is available.Diff

IIO Plugin for Visual Analog

About

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.

Installation

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

Downloads

  • 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. Uninstall the old IIO plugin first, if exists, and then install the new one.

Setup

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.txt · Last modified: 30 Jun 2017 22:12 by DNechita