Skip to content

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

License

Notifications You must be signed in to change notification settings

DevSeq/agilent-rs232

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agilent-rs232

A basic script to read the waveform from an Agilent 54621A 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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%