Knowledge Base SDS2000X-E Series

Programming Example: Using VXI11 (LXI) and Python for LAN control without sockets

Posted on: December 14th, 2020 by Doug Lovell
14/12/2020
In an effort to meet the demands of remote monitoring and control, modern test instrumentation is leveraging more communications busses and than ever before. Each type of bus can also have numerous layers that can be utilized for specific advantages. The VXI bus and subsequent software drivers form a convenient software API that can make remote control of instrumentation over LAN quite simple...

Programming Example: List connected VISA compatible resources using PyVISA

Posted on: December 14th, 2020 by Doug Lovell
14/12/2020
PyVISA is a software library that enables Python applications to communicate with resources (typically instruments) connected to a controlling computer using different buses, including: GPIB, RS-232, LAN, and USB. This example scans and lists the available resources. It requires PyVISA to be installed (see the PyVISA documentation for more information) *** #Example that scans a compute...

Programming Example: SDS Oscilloscope screen image capture using Python

Posted on: December 14th, 2020 by Doug Lovell
14/12/2020
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 Py...