Skip to content
forked from sjas/DSRemote

Operate your Rigol oscilloscope from your Linux desktop.

License

Notifications You must be signed in to change notification settings

zarath/DSRemote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSRemote

Operate your Rigol oscilloscope from your Linux desktop.

How to compile:

  • Install Git, the GCC compiler and the Qt4 development package:
    Linux Mint 18: sudo apt-get install git-core libqt4-dev libqt4-core g++
    openSuse Leap 42.2: sudo zypper in git-core libqt4-devel
    Fedora 25: sudo dnf install git-core qt-devel gcc-c++

  • Download the source code:
    mkdir DSRemote_git
    cd DSRemote_git
    git init
    git pull https://github.com/Teuniz/DSRemote

  • Create the makefile:
    Linux Mint 18: qmake
    openSuse Leap 42.2: qmake
    Fedora 25: qmake-qt4

  • Compile the source code and install it:
    make -j16
    sudo make install

Now you can run the program by typing: dsremote

Read also the file readme_usbtcm_driver.txt and the file notes.txt.

Supported devices

DS6000 and DS1000Z series oscilloscopes.

MSO4000/DS4000 series

There is some basic support like capturing screenshots.

Not tested yet:

  • Record & Playback function
  • Wave Inspector
  • serial decoding.

In case you insist on using Qt5, the recommended way is not to use the Qt5 libraries that comes with your distro. Instead, download and compile the Qt5 source and use that to compile DSRemote. Here's a step by step list of instuctions:

First, fulfill the requirements for Qt:

http://doc.qt.io/qt-5/linux.html

Debian/Ubuntu: sudo apt-get install build-essential libgl1-mesa-dev libcups2-dev libx11-dev

Fedora: sudo dnf groupinstall "C Development Tools and Libraries" sudo dnf install mesa-libGL-devel cups-devel libx11-dev

openSUSE: sudo zypper install -t pattern devel_basis sudo zypper install xorg-x11-devel cups-devel freetype-devel fontconfig-devel

#############################################################################################

Compile a static version of the Qt5 libraries excluding all modules that are not needed.

This will not mess with your system libraries. The new compiled libraries will be stored

in a new and separate directory: /usr/local/Qt-5.9.2

It will not interfere with other Qt programs.

#############################################################################################

mkdir Qt5-source

cd Qt5-source

wget http://ftp1.nluug.nl/languages/qt/official_releases/qt/5.9/5.9.2/single/qt-everywhere-opensource-src-5.9.2.tar.xz

here is a list of download mirrors: https://download.qt.io/static/mirrorlist/ The Qt source package you are going to need is: qt-everywhere-opensource-src-5.9.2.tar.xz

tar -xvf qt-everywhere-opensource-src-5.9.2.tar.xz

cd qt-everywhere-opensource-src-5.9.2

./configure -v -release -opensource -confirm-license -c++std c++11 -static -accessibility -fontconfig -skip qtdeclarative -skip qtconnectivity -skip qtmultimedia -no-qml-debug -qt-zlib -no-mtdev -no-journald -qt-libpng -qt-libjpeg -system-freetype -qt-harfbuzz -no-openssl -no-libproxy -no-glib -nomake examples -nomake tests -no-compile-examples -cups -no-evdev -no-dbus -no-eglfs -qreal double -no-opengl -skip qtlocation -skip qtsensors -skip qtwayland -skip qtgamepad -skip qtserialbus

(takes about 1.5 minutes)

make -j8

(takes about 11 minutes)

sudo make install

Now go to the directory that contains the DSRemote sourcecode and enter the following commands:

/usr/local/Qt-5.9.2/bin/qmake

make -j8

sudo make install

Now you can run the program by typing: dsremote

Congratulations! You have compiled a static version of DSRemote that can be deployed on other systems without the need to install the Qt libraries. In order to reduce the size of the executable, run the following commands:

strip -s dsremote

upx dsremote

About

Operate your Rigol oscilloscope from your Linux desktop.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.0%
  • C 26.6%
  • QMake 0.4%