Skip to main content

Control instruments in the receiver lab over Ethernet using SCPI commands

Project description

SCPI Lab Instruments

Control instruments in the receiver lab over Ethernet using SCPI commands

Installation

To install via pip:

python3 -m pip install git+https://github.com/Smithsonian/SCPI-Lab-Instruments.git

To use the Keithley module, you also need to install the vxi11 package. This can be installed by:

python3 -m pip install git+https://github.com/python-ivi/python-vxi11.git

Example

from labinstruments import *

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

# Connect to Keithley power supply
ps = Keithley2280('192.168.0.117')
ps.reset()
ps.output_on()
ps.set_voltage_limit(12)
ps.set_voltage(2)
ps.set_current(0.1)
ps.power_on()

References

"System Power Supply Programming Using SCPI Commands" from Keysight

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

SCPI Lab Instruments-0.0.1.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distributions

SCPI_Lab_Instruments-0.0.1-py3.7.egg (18.8 kB view hashes)

Uploaded 3 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page