Knowledge Base SDG1000X Series

Quick remote computer control using LXI Tools

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

Programming Example: Using Python to configure a basic waveform with an SDG X series generator via o

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
#!/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 # #——————————————â€...

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

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
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 Python 2.7 and PyVISA 1.8 to create a ramp waveform that i...

Resolver Simulation using an Arbitrary Waveform Generator

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
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 a system that can easy si...

The basic output waveform and related parameters of the arbitrary waveform generator

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
Traditional function generators can output standard waveforms such as sine waves, square waves, and triangle waves. However, in actual test scenarios, in order to simulate the complex conditions of the product in actual use, it is often necessary to artificially create some "irregular" waveforms or add some specific distortion to a waveform. Traditional function generators can no longer meet the r...

Two-tone testing: Building an arbitrary waveform using the Equation Draw function

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
In this note, we are going to use Equation Draw within EasyWave to create a waveform that is built using the addition of sine waves with two different frequencies (700 and 1900 Hz). We will then show how to use this signal to modulate a carrier up-to 500 MHz using the other SDG output channel. EasyWave is free software designed to help create and edit arbitrary waveforms and download them to ap...

Testing Open Socket Communications Using PuTTY

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
Many instruments include the ability to be controlled via a remote connection to a computer using an Ethernet connection. In many cases, these instruments require a special software library that can help establish and maintain the communications link between the instrument and controlling computer. This can be annoying for a few reasons… the software library is likely to occupy a large amount of...

Verification of a LAN connection using Telnet

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
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 process data. This process n...

Programming Example: Open Socket LAN connection using Python

Posted on: December 15th, 2020 by Doug Lovell
15/12/2020
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 utilising code entered via a software layer (like LabVIEW, .NET, Python, etc..) to sequence the specific instrument commands and process data. In this note, ...

Programming Example: List connected VISA compatible resources using PyVISA

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