Skip to main content

Control instruments in the Receiver Lab over Ethernet

Project description

Receiver Lab Instruments

Control various instruments in the Receiver Lab over LAN.


To install via pip:

# From the GitHub repo (latest version)
python3 -m pip install git+

# From PyPI (latest stable release)
python3 -m pip install RxLab-Instruments

To use Keithley instruments, you need to install the vxi11 package:

python3 -m pip install git+

To use Rohde & Schwarz instruments, you need to install the pyvisa package:

python3 -m pip install -U pyvisa

Note: I have not added these packages to the requirements in because this allows you to decide which packages you want/need to install. For example, if you only want to use the Hittite module, you don't need to install vxi11 or pyvisa.

Supported Instruments

  • Agilent 34410A/11A/L4411A 6.5 Digit Multimeter
  • Agilent E8257D/67D PSG Analog Signal Generator
  • Hittite HMC-T2240 Signal Generator
  • Keithley 2280 Power Supply
  • Keithley 2602 Source Meter
  • Micro Lambda Wireless (MLBF series) YIG Tuned Filters
  • Micro Lambda Wireless YIG Tuned Synthesizers
  • Rohde & Schwarz FSVA40 Spectrum Analyzer
  • Siglent SDS-1104X-E Oscilloscope

This package will probably also work with closely related instruments, but I have only tested this package with the instruments listed above.


from labinstruments.agilent import Agilent34411A, AgilentE8257D
from labinstruments.hittite import Hittite
from labinstruments.keithley import Keithley2280
from labinstruments.microlambda import YigFilter

# Agilent multimeter
dmm = Agilent34411A("")
print("DC voltage: {:.2f} V".format(dmm.measure_dc_voltage('V')))

# Agilent signal generator
sig = AgilentE8257D("")
sig.set_frequency(15, "GHz")
sig.set_power(-20, "dBm")

# Connect to Hittite signal generator
sg = Hittite('')
sg.set_power(-40, 'dBm')
sg.set_frequency(5, 'GHz')

# Connect to Keithley power supply
ps = Keithley2280('')

# Connect to Micro Lambda YIG filter
yig = YigFilter('')
yig.set_frequency(5, 'GHz')


"System Power Supply Programming Using SCPI Commands" from Keysight

"Control a Siglent oscilloscope with Python"

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RxLab-Instruments-0.0.3.tar.gz (12.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page