Current Version: v0.9.8i-stable π¦ See Release Notes
This tool provides a live view and SCPI-based data extraction from a Rigol MSO5000 oscilloscope with hacked firmware, using VNC for screenshots and VISA (SCPI) for waveform data.
True power computation is performed via pointwise multiplication of voltage and current waveforms followed by averaging:
This method remains accurate for arbitrary waveshapes and is not dependent on sinusoidal assumptions.
- π· Live screenshots from the oscilloscope (via VNC)
- π Channel settings: coupling, bandwidth, scale, offset, probe
- β±οΈ Trigger and timebase information
- π Waveform measurements: Vpp, Vavg, Vrms (up to 4 channels)
- π€ CSV export of waveform data
- π§ͺ Long-time measurement mode with pause/resume/stop
βͺοΈ Saves all data to a single timestamped CSV
βͺοΈ Timestamped rows at user-defined intervals
βͺοΈ Performance tips built into the UI - π§ Live Power Analyzer with PQ chart and scaling
βͺοΈ Real-time P/S/Q/PF/Vrms/Irms calculations
βͺοΈ Probe scaling (shunt/clamp + unit conversion)
βͺοΈ Display of PF angle and cumulative energy
βͺοΈ Heatmap-style PQ trail with fading
βͺοΈ ShowsReference: CURRENTorVOLTAGEfrom scope - π Scrollable debug log
- βοΈ Manual SCPI tab with command input and response log
βͺοΈ Command list fromscpi_command_list.txt(click or double-click to load)
βͺοΈ Error-safe querying with response log
βͺοΈ Full debug trace included - π Dark mode GUI with resizable window and tabs
- π³ Docker support for easy deployment (X11 + Wayland)
We published a technical whitepaper detailing how to achieve scientifically valid power analysis using the Rigol MSO5000 series oscilloscopes. It compares the internal PQ tool vs. our custom MSO5000 Live Monitor.
π Read the Whitepaper (Markdown)
Covers probe configuration, scaling errors, and real-world lab results with shunts and differential probes.
sudo apt install python3-tk python3.12-venv
git clone https://github.com/ariDev1/MSO5000_liveview.git
cd MSO5000_liveview/
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.pyOr use the prewritten install script:
bash how-to-install.txtπ‘ Tested on Ubuntu 24.04 LTS with Python 3.12 and VNC enabled on the Rigol scope.
If you're using Ubuntu 22.04 LTS:
sudo apt install python3 python3-pip python3-tk libxcb-xinerama0Then install dependencies manually:
python3 -m venv venv
source venv/bin/activate
pip install pillow numpy pyvisa pyvisa-py requests vncdotool psutil zeroconfYou can run this app in a Docker container with GUI.
docker build -t mso5000_liveview ../run.shThe script auto-detects X11 or Wayland and sets up display bridging.
All exported CSV files go to:
~/oszi_csv/This folder is mounted into the container.
Create a virtual environment first:
python3 -m venv venvThen install with:
pip install -r requirements.txtRequired packages:
pillow,numpy,pyvisa,pyvisa-pyrequests,vncdotool,psutil,zeroconf
- Rigol MSO5000 on same local network
- VNC enabled on the oscilloscope
- SCPI over TCP/IP enabled
- Know the IP address of the scope
Launch the app:
python3 main.pyEnter the oscilloscopeβs IP when prompted. GUI includes:
- π Live screenshot
- π Tabbed interface:
- System Info
- Channel Data
- Debug Log
- Licenses
- Long-Time Measurement (with CSV export)
- SCPI
- Power Analysis
MSO5000_liveview/
βββ app/
βββ docs/
βββ gui/
βββ Dockerfile
βββ run.sh
βββ .dockerignore
βββ headless/
βββ logger/
βββ scpi/
βββ main.py
βββ build_version.py
βββ version.py β auto-generated
βββ requirements.txt
βββ how-to-install.txt
βββ oszi_csv/ β output folder for logs
βββ utils/
This tool targets hacked firmware (unofficial). Compatibility improvements include:
- Skipping problematic SCPI commands
- Handling timeouts gracefully
- Adapting to patched behavior
This project is for educational and personal use only.
Not affiliated with Rigol Technologies.
master: Stable, tested version β always workstesting: Work-in-progress branch β may break
π Please do not push directly to master. All changes go into testing first.
See CHANGELOG.md for full version history.
Much wow. So helpful. Very accurate. If you like what you see:
DOGE: DCeBDHshvL36ZnkctdFzhsZUUhknW1zzbC

