Skip to content
Anton Chernov edited this page Sep 5, 2026 · 2 revisions

Oscilloscope

Modern cross-platform client for Hantek USB oscilloscopes. Linux Mint and Ubuntu are the primary development and testing platforms; compatibility with Windows 10 and 11 is planned through the portable CMake-based architecture.

Current version: 0.2.6. Status: Stage 4 sample processing

Development notes

  • C++ test sources registered in CMake source lists receive the same release version updates as production sources.
  • The operational Hantek DSO-2250 operates on interface 0, alternate setting 0, with bulk endpoints 0x02 (OUT) and 0x86 (IN).
  • The DSO-2250 waveform byte order is interleaved CH2 then CH1; parser tests preserve this verified legacy contract.
  • A complete DSO-2250 read is 32768 samples per channel (65536 interleaved bytes), transferred as 128 packets of 512 bytes after capture state 2.
  • The processing worker decodes complete frames and publishes a mutex-protected waveform snapshot with its trigger point for the renderer.
  • Each supported-device entry defines the capture protocol used after connection, so adding a model requires recording its complete USB/sample format rather than only its VID/PID.

Clone this wiki locally