vidavidorra / rigol-csv-analyser

Analyse CSV output files of Rigol devices (oscilloscopes).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rigol CSV analyser

Analyse CSV output files of Rigol devices (oscilloscopes).

This project shows statistics of the measurements and can polt them in an iteractive HTML graph with measurement functionality.

Table of contents

Badges

Badge Description Service
code style Code style Prettier
Conventional Commits: 1.0.0 Commit style Conventional Commits
GitHub workflow status Lint commit messages GitHub Actions

Documentation

Usage

analyse <csvFile> [options]

Analayse Rigol CSV

Positionals:
  csvFile  CSV file to analyse                                          [string]

Options:
  --help, -h                                                           [boolean]
  --version, -v                                                        [boolean]
  --title, -t    Title of the generated HTML document and chart.
                                 [string] [default: "Oscilloscope measurements"]
  --port, -p     Port to serve the generated chart on.  [number] [default: 8080]
  --serve, -s    Whether the HTML document should be served.
                                                       [boolean] [default: true]
  --units        Unit(s) of the channel(s).                [array] [default: []]
  --names        Name(s) of the channel(s).                [array] [default: []]

Examples:
  analyse test.csv                          Basic usage
  analyse test.csv --unit V A --name 'ADC   Multiple channels with different
  input' Vref                               units and names
  analyse test.csv --serve=false            Calculate the statistics but don't
                                            serve the HTML output

HTML graph

The measurements can be plotted in an interactive HTML graph. How this graph looks like is shown in the image below.

HTML graph

Devices

The Rigol devices where this is known to work for and which are tested are listed below. If you have verified this project to work on a different device, please let me know. If you would like support for a different device, please submit an issue with a sample CSV (less than 2M points) or create a pull request.

  • Rigol 1000Z series
    • DS1054Z
    • DS1104Z

License

This project is licensed under the GPLv3 license.

Copyright © 2019 Jeroen de Bruijn

License details (click to expand).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

The full text of the license is available in the LICENSE file in this repository and online.

About

Analyse CSV output files of Rigol devices (oscilloscopes).

License:GNU General Public License v3.0


Languages

Language:TypeScript 71.0%Language:JavaScript 24.1%Language:HTML 4.9%