Remote Control of Rigol DS1054z Oscilloscope
Dec 2, 2024
Huy Le
2 minute read
WIKI LAYOUT

Remote Control of Rigol DS1054z Oscilloscope #

Controlling the Rigol DS1054z oscilloscope remotely can be incredibly useful for automation, data collection, and analysis. This post outlines the steps I took to set up remote access to the oscilloscope using various tools and software, including DSRemote, PulseView, and Python libraries.

Trying to Capture Oscilloscope Data via USB/LAN #

There are a couple of tools available to remotely control or view the Rigol DS1054z:

  • DSRemote: A software tool for viewing and controlling Rigol oscilloscopes.
  • PulseView: A GUI tool that uses the sigrok library for data acquisition.

Setting Up DSRemote #

I initially tried using the pre-compiled binary of DSRemote, but ran into some compatibility issues on Fedora 41. Here’s how I resolved them and eventually built the software from source.

Issue: Missing libtiff.so.5 #

The pre-compiled binary of DSRemote required libtiff.so.5, but Fedora 41 only had /usr/lib64/libtiff.so.6. To resolve this, I created a symbolic link:

sudo ln -s /usr/lib64/libtiff.so.6 /usr/lib64/libtiff.so.5

Building DSRemote from Source #

After some experimentation, I decided to build DSRemote from source. Below are the steps I followed:

  1. Update the system and install necessary development tools and libraries:

    sudo dnf update
    sudo dnf groupinstall development-tools development-libs
    sudo dnf install g++ qt5-qtbase qt5-qtbase-devel
    
  2. Clone the DSRemote repository and build the software:

    git clone https://gitlab.com/Teuniz/DSRemote.git
    cd DSRemote
    qmake-qt5
    make -j8
    sudo make install
    
  3. Run DSRemote to start the application:

    DSRemote
    

Additional Resources for Remote Control #

Python Libraries for Future Reference #

For those interested in scripting or automating tasks with Python, there are several libraries available for controlling Rigol oscilloscopes. Here are a couple of forks I maintain for reference:

These libraries provide a foundation for remote control and data acquisition using Python.

Conclusion #

Setting up remote control for the Rigol DS1054z oscilloscope can be a bit challenging, especially when dealing with software dependencies and compatibility issues. However, tools like DSRemote, PulseView, and Python libraries make it possible to unlock the full potential of your oscilloscope for remote use. I hope this guide helps you get started!

Happy tinkering!


Logs #

Mon 12/02/2024 #

  • built and install dsremote on pixelbook