Programming Example: List connected VISA compatible resources using PyVISA
February 19, 2019
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
Programming Example: Using Python to configure a basic waveform with an SDG X series generator via open sockets (LAN)
November 21, 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
Verification of a working remote communications connection using NI – MAX
November 19, 2018
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
Programming Example: Using VXI11 (LXI) and Python for LAN control without sockets
October 8, 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
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