Coder Social home page Coder Social logo

swapdisk / agilent-rs232 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kiwih/agilent-rs232

0.0 1.0 0.0 245 KB

A basic script to read the waveform from an Agilent 54621A oscilloscope via RS232 and display it using matplotlib

License: MIT License

Python 100.00%

agilent-rs232's Introduction

agilent-rs232

A basic script to read the waveform from an Agilent 54621A (Note: Has also been checked with 54622D) oscilloscope via RS232 and display it using matplotlib.

It can convert this:

scope

To this:

matplotlib

I wrote a blog post to go along with this! You can find it here!

Usage

The program is written in python3.

usage: agilent-rs232.py [-h] [--port PORT] [--baud BAUD] [--channel CHANNEL]
                        [--length LENGTH]

optional arguments:
  -h, --help            show this help message and exit
  --port PORT, -p PORT  set serial port (default /dev/ttyUSB0)
  --baud BAUD, -b BAUD  set serial baud rate (default 57600)
  --channel CHANNEL, -c CHANNEL
                        set probe channel (default 1)
  --length LENGTH, -l LENGTH
                        number of samples (default 1000)

Other implementations

I'm not the first person to want to solve this problem! Although I did not use their code, a more full-featured approach to reading scopes and other tools from Python can be found under the PyVisa library.

agilent-rs232's People

Contributors

kiwih avatar

Watchers

 avatar

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.