Skip to content

visual analog

jdannynewman edited this page Feb 25, 2019 · 2 revisions

IN PROGRESS

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

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:

  • Make sure the latest version of libiio is installed on target by following these instructions

  • Determine the IP address of the target by typing ifconfig in a terminal/console.

PC side:

  • Install Visual Analog™ on your system.
  • Run the Visual Analog™ IIO Plugin installer available in the Downloads section.
  • 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 choosing 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: Selected device channel name.
      • Enable: Whether data should be captured on this channel.
      • Samples: Number of samples to be captured every run.
      • Test Enable: Whether the Test Modes should apply.
      • Test Modes: Allows choosing 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 like an Input Formatter, use the right-side connectors of the component. You should use as many connectors as the number of channels enabled, 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.

Return to libiio section


Information from this site was obtained from
Clone this wiki locally