Skip to content

Python library to control Siglent SDS2000X Plus oscilloscope

License

Notifications You must be signed in to change notification settings

JoshGenao/SiglentSDS2000xPlusPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiglentSDS2000xPlusPy

Control a Siglent SDS2000X Plus oscilloscope from python. This package allows the ability to create python scripts to automate testing receive trace data from an oscilloscope.

oscilloscope screenshot

Installation

To install this package:

pip install git+https://github.com/JoshGenao/SiglentSDS2000xPlusPy.git

Or:

  1. Clone repository
  2. Install requirements
pip install -r requirements.txt
  1. pip install
pip install -e .

Usage

Example:

from SiglentSDS2000xPlusPy.siglentsds2000xplus import *
import matplotlib.pyplot as plt

HOST = '192.168.1.blah'

scope = SiglentSDS2000XPlus(HOST)
scope.arm()
traces = scope.capture(SiglentSDS2000XChannel.C1)

# Plot traces
plt.plot(traces)
plt.show()

Releases

No releases published

Packages

No packages published

Languages