Git Product home page Git Product logo

scopecontrol's Introduction

This program captures and saves oscilloscope waveforms for Rigol Ds1054z Oscilloscope

It uses following the API package and PyQt5. Therefore, You need to install this packages before you can run this program. There is also github repository for previous package

Following devices may also work but have not tested

* DS1054Z
* DS1074Z
* DS1104Z
* DS1074Z-S
* DS1104Z-S
* MSO1074Z
* MSO1104Z
* MSO1074Z-S
* MSO1104Z-S

Features

* Saves waveforms in a csv file on trigger 
* Displays waveforms in tool sections 

Enviroment Variables

Open and change env.sh according to destination of the program and then type following
* sudo gedit ~/.bashrc 
In the end of the this file
* source "PathoftheProgram"/env.sh
* source ~/.bashrc
this way you can call the program anywhere by typing "ScopeControl" to terminal

Installation for Ubuntu

Install following packages 
* pip3 install ds1054z
* pip3 install pyqt5 
* pip3 install PyQtChart

Run following in the folder (python version 3.6 and up is strongly suggested) * source start.sh
* Note: you can adjust your python version to call in start.sh

Installation for Rasberry Pi

#Special thanks to @carlosperate for working this out. this issue addressed here :mu-editor/mu#441

Install Following packages 
* pip3 install ds1054z
* sudo apt-get install python3-pyqt5 qtdeclarative5-dev qt5-default pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev qt5-qmake

SIP 4.19:

* wget https://netcologne.dl.sourceforge.net/project/pyqt/sip/sip-4.19/sip-4.19.tar.gz
* tar zxvf sip-4.19.tar.gz
* cd sip-4.19
* python3 configure.py
* make -j 3
* sudo make install

QtCharts:

Check the version for pyqt5 by this 
* apt-cache policy python3-pyqt5
You will get following:
* Installed: 5.14.1+dfsg-3build1
* Candidate: 5.14.1+dfsg-3build1
Use the version above to clone git anywhere you want by changing -b "version" like below and follow the code	
* git clone git://code.qt.io/qt/qtcharts.git -b 5.14
* cd qtcharts
* mkdir build
* cd build
* qmake -r ..
* make
* sudo make install

PyQtChart:

Download the program first by following:
* wget https://files.pythonhosted.org/packages/1c/a7/b075cd95d5481306e27643f80372d72f540e65812ed432a8e44f836a21c4/PyQtChart-5.15.0.tar.gz
Extract it to a folder:
* tar zxvf PyQtChart-5.15.0.tar.gz
* cd PyQtChart-5.15.0
Configure it and make sure versions match above
* python3.7 configure.py --qtchart-version=5.14 --verbose
* make
* sudo make install

Run

type bellow anywhere in the terminal 
* ScopeControl 

ScopeControl

Scope.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.