Programming Example: SDS Oscilloscope save a copy of a screen image via Python/PyVISA

Posted on: August 20th, 2021 by James

Here is a brief code example written in Python 3.4 that uses PyVISA to pull a display image (screenshot) from a SIGLENT SDS oscilloscope via USB and save it to a drive on the controlling computer.

NOTE: This program saves the picture/display image file to the E: drive, which may or may not exist on the specific computer being used to run the application.

Download Python 3.4, connect a SIGLENT SDS Oscilloscope using a USB cable, get the scope USB VISA address, and run the attached .PY program to save an image of the oscilloscope display. The type of file saved is determined by the instruments setting when the program is run.

Tested with:
Python 3.4

SDS1102CML+

Products Mentioned In This Article:

Siglent Oscilloscopes please see HERE