⚙️ MSO5000 Liveview — Open Source Oscilloscope Monitoring - Page 1
Forum section: electronics / testgear

author: ariDev1
author_rank: Newbie
timestamp: July 16, 2025, 08:57:42 pm
content: MSO5000 Liveview is a 100% free and open-source GUI application to monitor and log data from RIGOL MSO5000-series oscilloscopes — especially optimized for modified (hacked) firmware devices.It provides real-time waveform capture, long-term signal logging, and remote access to your oscilloscope — all from a fast desktop GUI or Docker container.Many MSO5000 owners (especially those using custom firmware) find the official tools limited, bloated, or unreliable.We wanted a fast, lightweight, and reliable viewer,Multiple measurements per second,Intuitive GUI with real-time screenshots,Long-time CSV logging,No vendor lock-in, no costsSo we built MSO5000 Liveview — and made it free for everyone.## 🧩 Features- 📷 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↪️ Shows `Reference: CURRENT` or `VOLTAGE` from scope- 🐞 Scrollable debug log- ⚙️ Manual SCPI tab with command input and response log↪️ Command list from `scpi_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:Understanding Accurate Power MeasurementProject Links:GitHub:https://github.com/ariDev1/MSO5000_liveviewDockerHub:https://hub.docker.com/r/aridev1/mso5000_liveviewLatest Release:https://github.com/ariDev1/MSO5000_liveview/releases/latestInstallation and first run video:Tested on Ubuntu 24.04 LTS with Python 3.12 and VNC enabled on MSO5074 — FW: 00.01.03.03.00Bug reports, ideas, and pull requests are always appreciated!regardsariDev1

author: ariDev1
author_rank: Newbie
timestamp: July 17, 2025, 04:47:35 pm
content: # 📖 ChangelogAll notable changes to this project are documented here.---## v0.9.8 (2025-07-30)### 🧠 Power Factor Polarity Fix & PQ Accuracy- ✅ Fixed: PF polarity and PF angle (θ) sign now correctly reflect real/reactive power direction- 📐 Accurate quadrant labeling with signed PF and θ, based on FFT phase shift- 🔼 Impedance `Z` and angle now shown in summary (Vrms / Irms with ∠θ)- 🔃 Heatmap-style PQ plot enhanced with trailing fade and quadrant visuals### 📈 Real-Time Analyzer Improvements- 📝 PNG summary plots now include operator name, scope model/serial/firmware- 🕒 Power logging timestamped with ISO-8601 format- 🗜️ Optimized SCPI waveform fetch logic to reduce overhead and sync issues- 🧪 Vrms/Irms/P/S/Q/PF/Z computations match Rigol results even for distorted waveforms### ⚡ GUI Refinements & Usability- 👁️ Power tab uses refined SI formatting for better readability- 🧮 Auto-calibration now auto-corrects using entered expected power- 🛑 Live power analysis disables conflicting long-time logging safely- 📤 CSV export includes all energy metrics and PF angle history### 🐞 Stability & Edge Case Handling- Fixed: edge-case NaN values in PF angle- Fixed: probe multiplier warning clarified to avoid confusion- Improved error resilience during scope disconnect or empty waveform fetch- Internal debug logs include phase trace and FFT-derived frequency---## v0.9.7 (2025-07-27)### ⚙️ Core & Backend Updates- Auto-generated `version.py` now uses UTC timestamps and supports Python <3.11- Dynamic SCPI blacklist growth based on timeouts and malformed responses- Improved IDN parsing and frequency reference handling at startup### ⚡ Power Analysis Overhaul- New PF angle (θ) calculation shown in output and PQ plot- Displays real-time energy stats: `Wh`, `VAh`, `VARh`- DC offset removal now visually marked in GUI- Refined scaling logic for clamp/shunt probes, with GUI feedback- Auto-calibration visibly updates correction factor with user feedback### 📈 Long-Time Measurement Enhancements- Channels now scaled using unit detection (Volt vs Amp)- Supports Vpp/Vavg/Vrms logging for CHx and MATHx in one CSV- Pause/resume logic improved and visually reflected in status area- Accurate sample timing via scheduler correction### 🧪 GUI Features- Debug log now supports toggle between FULL and MINIMAL output- System Info and Channel Info tabs support clipboard copy- New button for copying full CSV snapshot from all channels- License tab shows activated/trial options from Rigol scope (via HTTP)### 🐞 Misc- Clean separation between logging and power analysis modes- Better SCPI error handling in console and debug log---## v0.9.6 (2025-07-24)### 🐳 Docker Integration and GUI Access- 🖥️ Full X11 GUI support inside Docker- 🐚 Improved Docker CLI usability+### ⚡ Power Analyzer Refinements+- Unified power logging into a single CSV file with timestamps+- Live PQ plot with heatmap-style trail (fading intensity)+- Displays real-time PF angle (θ) as orange dashed vector+- New quadrant-aware labeling (I–IV) with dynamic zoom+- Pause/resume/stop capability for live power analysis+- "Remove DC offset" setting toggled visually and in log### ⚡ Power Analyzer Refinements- 📡 Frequency reference (`Reference: VOLT` or `CURR`) shown live in GUI- 🧠 Compact layout and right-aligned labels for better readability- 🛑 Power analyzer is disabled while long-time logging is active- 📊 Frequency reference printed only once to log at startup+### 📈 Long-Time Measurement Enhancements+- Session logs written to single file `session_log.csv`+- Optional Vavg/Vrms logging per channel+- Supports MATH channels and unit scaling+- Robust delay tracking with scheduling correction+- Status updates every 5 cycles or at end### 🛠️ Versioning & Build Metadata- `build_version.py` now auto-generates `version.py` with commit hash+### 🐞 Debugging Improvements+- Toggle between FULL and MINIMAL logging output+- Debug text label now lighter and smaller+- Debug buttons float right in GUI+- SCPI errors logged with context and auto-blacklist for timeouts### 📦 GitHub Actions CI/CD- Docker image auto-built and pushed on push/tag