Difference between revisions of "PulseView"

From sigrok
Jump to navigation Jump to search
m (Adding concept page)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:20121006-scroll-bars.png|thumb|320px|right|PulseView on KDE (06/10/2012)]]
[[File:PulseView I2C DS1307 Decode.png|thumb|320px|right|PulseView (10-Aug-2014)]]
[[File:Pulseview rigol 2 analog channels.png|thumb|320px|PulseView + scope]]


'''PulseView''' is a Qt based logic analyzer GUI for sigrok.
'''PulseView''' is a Qt based logic analyzer, oscilloscope and MSO GUI for sigrok.
 
It is licensed under the terms of the '''GNU GPL, version 3 or later'''.


== Features ==
== Features ==
* Fast O(log N) signal rendering at all zoom levels.
* Fast O(log N) signal rendering at all zoom levels.
* [[Protocol decoders|Protocol decoder]] support
* Trace groups support


== Download ==
== Download ==
[[http://sigrok.org/gitweb/?p=pulseview.git;a=summary Browse Source]]
 
git clone git://sigrok.org/pulseview.git
$ '''git clone git://sigrok.org/pulseview.git'''
 
You can also [http://sigrok.org/gitweb/?p=pulseview.git;a=summary browse the source code] via gitweb.


== Requirements ==
== Requirements ==


* git
See [[Building#PulseView]].
* g++
* make
* cmake >= 2.6
* libtool
* pkg-config >= 0.22
* libglib >= 2.28.0
* Qt >= 4.x
* libsigrok >= 0.2.0
* libboost >= 1.4.6
* libboost-test >= 1.4.6 (Boost unit test lib)


== Building ==
== Building ==
=== Ubuntu ===
==== Prerequisites ====
* You first need to build and install the libsigrok and libsigrokdecode.
* You will also need to install boost and cmake with the following command:
$ sudo apt-get install cmake libqt4-dev libboost-dev libboost-test-dev libboost-thread-dev libboost-system-dev


==== Bootstrap ====
See [[Linux#PulseView]] (or any other of the [[Building#Building_from_source|OS-specific instruction pages]]).
 
'''Additional notes:'''


$ mkdir build
* Use <code>PKG_CONFIG_PATH=/''<prefix-of-libsigrok-installation>''/lib/pkgconfig/</code> if [[libsigrok]] and [[libsigrokdecode]] are installed to a non-standard prefix.
$ cd build
$ cmake ..
* Use <code>PKG_CONFIG_PATH=/''<prefix-of-libsigrok-installation>''/lib/pkgconfig/</code> if libsigrok and libsigrokdecode are installed to a non-standard prefix.
* To change the install prefix: <code>cmake -DCMAKE_INSTALL_PREFIX=''<prefix-dir>''/ ..</code>
* To change the install prefix: <code>cmake -DCMAKE_INSTALL_PREFIX=''<prefix-dir>''/ ..</code>
* To show compiler arguments during the build: <code>make VERBOSE=1</code>
* To make a non-stripped debug build <code>cmake -DCMAKE_BUILD_TYPE=Debug ..</code>
* To make a non-stripped debug build <code>cmake -DCMAKE_BUILD_TYPE=Debug ..</code>
* To enable unit tests: <code>cmake -DENABLE_TESTS=y ..</code>
* To enable unit tests: <code>cmake -DENABLE_TESTS=y ..</code>
* To enable decoders: <code>cmake -DENABLE_DECODE=y ..</code>
* To disable -Werror: <code>cmake -DDISABLE_WERROR=y ..</code>
* To disable -Werror: <code>cmake -DDISABLE_WERROR=y ..</code>
* To build with clang: <code>CXX=clang++ cmake ..</code>
* To build with clang: <code>CXX=clang++ cmake ..</code>
* If cmake complains that it can only find Qt5, even though you have Qt4 installed: <code>cmake&nbsp;-DQT_QMAKE_EXECUTABLE:string=qmake-qt4&nbsp;..</code>
* If cmake complains that it can only find Qt5, even though you have Qt4 installed: <code>cmake&nbsp;-DQT_QMAKE_EXECUTABLE:string=qmake-qt4&nbsp;..</code>


==== Build ====
== Resources ==
$ make
* <code>make VERBOSE=1</code> to show compiler arguments.
==== Test ====
$ ./pulseview
==== Install ====
$ sudo make install


== See Also ==
* [[PulseView/Architecture|PulseView architecture overview]]
*[[PulseView/Architecture|PulseView Architecture Overview]]
* [[TODO#pulseview|PulseView TODO list]]
*[[TODO#pulseview|TODO List]]
* [[PulseView/Concepts|PulseView GUI concepts]]
*[https://www.ohloh.net/p/pulseview PulseView on ohloh]
* [https://www.ohloh.net/p/pulseview PulseView on ohloh]
*[http://airwebreathe.org.uk/w/doku.php?id=pulseview Joel Holdsworth's personal PulseView project page]
* [http://airwebreathe.org.uk/doku.php?id=pulseview Joel Holdsworth's personal PulseView project page]

Revision as of 21:20, 31 January 2016

PulseView (10-Aug-2014)
PulseView + scope

PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI for sigrok.

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

Features

  • Fast O(log N) signal rendering at all zoom levels.
  • Protocol decoder support
  • Trace groups support

Download

$ git clone git://sigrok.org/pulseview.git

You can also browse the source code via gitweb.

Requirements

See Building#PulseView.

Building

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

Additional notes:

  • Use PKG_CONFIG_PATH=/<prefix-of-libsigrok-installation>/lib/pkgconfig/ if libsigrok and libsigrokdecode are installed to a non-standard prefix.
  • 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 enable unit tests: cmake -DENABLE_TESTS=y ..
  • To enable decoders: cmake -DENABLE_DECODE=y ..
  • To disable -Werror: cmake -DDISABLE_WERROR=y ..
  • To build with clang: CXX=clang++ cmake ..
  • If cmake complains that it can only find Qt5, even though you have Qt4 installed: cmake -DQT_QMAKE_EXECUTABLE:string=qmake-qt4 ..

Resources