CYBER MONDAY DEAL - SAVE UP TO 29% ON SELECT T&M UNITS AND BUNDLES - SEE HERE
TELONICBF5: 5% off orders over £100
TELONICBF10: 10% off orders over £500
TELONICBF125: 12.5% off orders over £1,000.
Spend excludes VAT. Exclusions apply. One code per order. Ends 23:59 GMT, Tue 1 Dec. Offers & full terms
FREE SHIPPING £75+ CELEBRATING 50+ YEARS PRICE MATCH GUARANTEE

Programming Example: SDS Oscilloscope screen image capture using Python

Posted on: December 14th, 2020 by Doug Lovell

Here is a brief code example written in Python 3.4 that uses a socket to pull a display image (screenshot) from a SIGLENT SDS1000X-E scope via LAN and save it to the local drive of the controlling computer.

NOTE: This program saves the picture/display image file in the same directory that the .py file is being run from. It will overwrite any existing file that has the same name.

Download Python 3.4, connect a scope to the LAN using an Ethernet cable, get the scope IP address, and run the attached .PY program to save a bitmap (BMP) image of the oscilloscope display.

You can download the .PY file here: Python_Socket_SDS_SCDP.zip

Tested with:

Python 3.4
SDS1202X-E
SDS1104/1204X-E
SDS2000X-E Models
SDS5000X Models