From sigrok
Revision as of 12:22, 18 February 2020 by Knarfs (talk | contribs) (Add scripting section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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.


  • Remote control devices.
  • Data acquisition.
  • Connect and use multiple devices at the same time.
  • Math channels to combine signals or manipulate signals.
  • 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 refer to the SmuView manual for a lot more information.

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
 # Get last sample from channel P1
 sample = dmm_dev.channels()["P1"].actual_signal().get_last_sample(True)

 # Add default tab for the DMM device.


Binaries and source code tarballs are available here.


$ git clone

You can also browse the source code via github.


See Building#SmuView.


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 ..


  • Programmability via a flow diagram to do complex measurements.
  • Support oscilloscopes.