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.
To install this package:
pip install git+https://github.com/JoshGenao/SiglentSDS2000xPlusPy.git
Or:
- Clone repository
- Install requirements
pip install -r requirements.txt
- pip install
pip install -e .
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()