SmuView

From sigrok
Jump to navigation Jump to search
SmuView with a load (05-Jan-2020)

SmuView (sometimes abbreviated as "SV") is a Qt based GUI for power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters, scales and so on.

It is licensed under the terms of the GNU GPL, version 3 or later.

Features

  • Remote control devices.
  • Data acquisition.
  • Connect and use multiple devices at the same time.
  • Math channels to combine signals or manipulate signals.
  • Restore previous layout settings for a device.
  • Data export as a CSV file.
  • Python interface to script complex measurements with multiple devices.
  • Change device settings (e.g. voltage output of a psu) periodically with a sequence table.

Please have a look into the SmuView manual for a lot more information about all the available features and functions.

Download

Continuous Release

The continuous release is a development snapshot of SmuView but is the recommended and always up-to-date download.

Linux AppImage binaries

The Linux AppImage are base on an Ubuntu 18.04 LTS and are available for i386 and x86_64 and can be found here.

See also Linux for more information.

Windows installers

The Windows installers require Windows XP or higher and can be found here.

See also Windows for more information.

macOS

The macOS DMG is 64-bit x86 only and requires macOS 10.13 High Sierra or higher and can be found here.

See also Mac OS X for more information.

Manual

Stable Release 0.0.5

Linux AppImage binaries

The Linux AppImage are base on an Ubuntu 16.04 LTS and are available for i386 and x86_64.

See also Linux for more information.

Windows installers

The installers require Windows XP or higher and are available for 32-bit and 64-bit.

See also Windows for more information.

macOS

The macOS DMG is 64-bit x86 only and requires macOS 10.9 Mavericks or higher:

See also Mac OS X for more information.

Manual

Git

$ git clone https://github.com/knarfS/smuview.git

You can also browse the source code via github.

Supported devices

It is known that for controllable devices (like power supplies) a mutex has to be added in the corresponding libsigrok driver. If that mutex has not been added, you will notice the following behavior:

  • The device connects without problems and starts to acquire data.
  • When you change any property of the device (e.g. the set voltage of a power supply), SmuView crashes or some other strange behavior occurs.

Power supplies

These power supplies should work:

All other power supplies probably don't work. Please get in touch via github to add support.

Electronic loads

These electronic loads should work:

All other loads probably don't work. Please get in touch via github to add support.

Measurement devices

The following measurement device types should be supported:

Planned devices

This devices aren't supported yet, but maybe will be in the future:

Scripting extension

SmuView has a python scripting extension to automate, setup and control complex or repetitive measurements, to process the incoming data and to create a standardized user interface for those measurements.

The API documentation can be found here.

The following short example connects the HP 3378A DMM via GPIB, reads a sample and creates the default tab for the device:

 import smuview
 import time

 # Connect device.
 dmm_dev = Session.connect_device("hp-3478a:conn=libgpib/hp3478a")[0]
 # Sleep 1s to give the devices the chance to create signals
 time.sleep(1)
 # Get last sample from channel P1
 sample = dmm_dev.channels()["P1"].actual_signal().get_last_sample(True)
 print(sample)

 # Add default tab for the DMM device.
 UiProxy.add_device_tab(dmm_dev)

Requirements

See Building#SmuView.

Building

See Linux#SmuView (or any other of the OS-specific instruction pages).

Additional notes:

  • Use PKG_CONFIG_PATH=/<prefix-of-libsigrok-installation>/lib/pkgconfig/ if libsigrok is installed to a non-standard prefix. See also Building#Installing_to_a_non-standard_directory_using_LD_LIBRARY_PATH for more details.
  • To change the install prefix: cmake -DCMAKE_INSTALL_PREFIX=<prefix-dir>/ ..
  • To show compiler arguments during the build: make VERBOSE=1
  • To make a non-stripped debug build cmake -DCMAKE_BUILD_TYPE=Debug ..
  • To disable -Werror: cmake -DDISABLE_WERROR=y ..
  • To build with clang: CXX=clang++ cmake ..

Roadmap

  • Support oscilloscopes [WIP].
  • Export/Import for UserDevice layouts.
  • Programmability via a flow diagram to do complex measurements.

Resources