Application Notes

Waveform Generators

Programming Example: Using Python to configure a basic waveform with an SDG X series generator via open sockets (LAN)

November 1, 2018

#!/usr/bin/env python 2.7.13 #-*- coding:utf-8 –*- #—————————————————————————– # The short script is a example that open a socket, sends basic commands # to set the waveform type, amplitude, and frequency and closes the socket. # #No warranties expressed or implied # #SIGLENT/JAC 11.2018 # #—————————————————————————– import socket # for sockets import sys # for exit … Continued

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

October 3, 2018

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 … Continued

Bode Plot of a filter using an oscilloscope and function generator

September 12, 2018

A Bode plot is a method of graphically displaying the frequency response of a system or device-under-test (DUT). Commonly, the magnitude and phase response of the device are plotted with respect to frequency using a shared horizontal frequency axis as shown in the example below:   By showing both the magnitude and phase information on … Continued

Programming Example: List connected VISA compatible resources using PyVISA

August 30, 2018

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 … Continued

Quick remote computer control using LXI Tools

March 13, 2018

Introduction: There are many options for people considering remote communication and control of test and measurement instrumentation. In most cases, a computer is used to communicate to test instrumentation using USB or LAN connections. The computer can configure the instruments, collect and organize data, and present it in a useful and flexible way. Remote control … Continued

Python Example: Building an Arb with 16-bit steps (SDG2000X/SDG6000X)

March 7, 2018

The SIGLENT SDG2000X and SDG6000X feature 16-bit voltage step resolution. This provides 65,535 discrete voltage steps that can cover the entire output range (20 Vpp into a High Z load) which can effectively be used to test A/D converters and other measurement systems by sourcing waveforms with very small changes. In this example, we use … Continued

Interpolated DDS Technique in SDG2000X

October 24, 2017

Preface As can be seen in the data sheet for Siglent’s SDG2000X arbitrary waveform generator series, the sampling rate specification (1.2 GSa/s) is followed by a note of “4X Interpolation”. This may be confusing to some customers, even some experienced users of function generators. This white paper is intended to explain this specification and to … Continued

Programming Example: Open Socket LAN connection using Python

October 20, 2017

Automating a test can dramatically increase the productivity, throughput, and accuracy of a process. Automating a setup involves connecting a computer to the test instrumentation using a standard communications bus like USB or LAN and then utilizing code entered via a software layer (like LabVIEW, .NET, Python, etc..) to sequence the specific instrument commands and … Continued

Verification of a LAN connection using Telnet

October 20, 2017

Automating a test can dramatically increase the productivity, throughput, and accuracy of a process. Automating a setup involves connecting a computer to the test instrumentation using a standard communications bus like USB or LAN and then utilizing code entered via a software layer (like LabVIEW, .NET, Python, etc..) to sequence the specific instrument commands and … Continued

Resolver Simulation using an Arbitrary Waveform Generator

October 20, 2017

A resolver is an electromagnetic sensor that is used to determine the mechanical angle and velocity of a shaft or axle. They are often used in automotive applications (cam/crankshaft position), aeronautics (flap position), as well as servos and industrial applications. When designing, testing, or troubleshooting systems that use resolvers, it can be worthwhile to build … Continued