Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gliffy
imageAttachmentIdatt287899649
baseUrlhttps://openwsn.atlassian.net/wiki
nameopenvisualizer_interfaces Copy Copy Copy
migration1
diagramAttachmentIdatt287932417
containerId688200

Gliffy
imageAttachmentIdatt145781104
baseUrlhttps://openwsn.atlassian.net/wiki
nameopenvisualizer_interfaces Copy Copy
migration1
diagramAttachmentIdatt145781100
containerId688200

Gliffy
imageAttachmentIdatt144677929
baseUrlhttps://openwsn.atlassian.net/wiki
nameopenvisualizer_interfaces Copy
migration1
diagramAttachmentIdatt144677933
containerId688200

OpenVisualizer is the primary tool for plugging your OpenWSN network into the Internet.

...

  • Connects your OpenWSN network to the Internet over a virtual interface (both Windows and Linux).
  • portable across popular operating systems.
  • Shows the internal state (neighbor table, scheduling table, queue, etc.) of each node physically connected to the OpenVisualizer.
  • Displays errors reported by motes.
  • can run with either physical motes, or emulated motes (for details, see OpenSim).

Installation

Prerequisites

PackageRoleInstallation Notes
Pythonimplementation languageUsing v2.7. v3.x not supported yet.
PySerialserial to moteUsing v2.6.

PyWin32
Python Extensions for Windows

tunnel dependency
(Windows only)
Using Build 218. Be sure to review README.txt at the download site to retrieve the proper version.
SConstool executionUsing v2.3.
TAP for WindowsIPv6 tunnel driver
(Windows only *)
Using v9.9.2. When selecting components, include TAP Utilities as well as the adapter itself.
The TUN interface on Windows requires some configuration. Follow our tun/tap for Windows tutorial, specifically the Install tun page and the Configure tun page (perform Computer B steps).
Bottle web framework

UI library
(only for web UI)

Using v0.11.6, with Python's WSGI reference web server. Using the built-in template mechanism. Uses several JavaScript/CSS libraries: jQuery v1.10.2, jQueryUI v1.1.0, SlickGrid v2.2 (from this commit), and PocketGrid v1.1.

FTDI USB/Serial driver

serial to mote
(e.g. TelosB)

 
Silicon Labs CP2102
UART-to-USB bridge
serial to mote
(e.g. GINA)
For Windows, download CP210x VCP Windows driver. Use the default options. If successful, Windows shows two new programs (Control Panel > Programs > Programs and Features):
Silicon Laboratories CP320x USB to UART Bridge (Driver Removal)
Silicon Laboratories CP320x VCP Drivers for Windows XP/2003 Server/Vista/7

* On Linux, TUN/TAP already is included with the operating system, and OpenVisualizer configures it on the fly. See our TUN/TAP in Linux page for more information.

The --trace option provides internal memory profiling of OpenVisualizer itself, and requires yappi.

Download

...

See the Installation and Dependencies page to download and install OpenVisualizer. The page also describes required libraries and tools.

Running it

The OpenVisualizer consists of core modules, and several types of user interfaces:

...

The web interface is provided by a server application, and of course a browser to view the UI. At present, both server and browser must be on the same host computer.

starting

You have one option two options to start it:

  • double-click on openwsn-sw/software/openvisualizer/bin/openVisualizerApp/openVisualizerWeb.py
  • enter the following command from openwsn-sw/software/openvisualizer/:

    Code Block
    scons runweb

    The By default, the server listens on port 8080 on all network interfaces. The command line accepts options for alternate values. Run scons --help for details.

usage

To get started, point your browser to the following URL: http://localhost:8080/moteview. The web user interface includes the same information as the GUI described above; however, most of the information is grouped under one of three tabs. See the screenshot below.

...