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 details)

Uploaded Source

Built Distributions

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

Uploaded Source

SCPI_Lab_Instruments-0.0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file SCPI Lab Instruments-0.0.1.tar.gz.

File metadata

  • Download URL: SCPI Lab Instruments-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for SCPI Lab Instruments-0.0.1.tar.gz
Algorithm Hash digest
SHA256 58f5aeb7b3f376623ccad2df440e989019f355c09b4c4f8855bd3fa616f31be2
MD5 3b688079e1af14079cbf0cf0f06aa6aa
BLAKE2b-256 059d06243a1b3cb8c893d0e0017e111e01d56d1129ed1450f3dd163e92ba3568

See more details on using hashes here.

File details

Details for the file SCPI_Lab_Instruments-0.0.1-py3.7.egg.

File metadata

  • Download URL: SCPI_Lab_Instruments-0.0.1-py3.7.egg
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0

File hashes

Hashes for SCPI_Lab_Instruments-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 1335e75f2b6df30f9ec4bcd9c5256b215157eb3e5a34a7678af01848c93e6c71
MD5 d3ed487197cd6f418ed903212c1b1587
BLAKE2b-256 bbae9d29433f7875ad19e6da5f4cd579b0e7c83197aa3e2c3e9e433da71e581d

See more details on using hashes here.

File details

Details for the file SCPI_Lab_Instruments-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: SCPI_Lab_Instruments-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for SCPI_Lab_Instruments-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe096965eb01a686a78bd520e605ba2a6acd8bab10c718f05768363ebaa2ed48
MD5 564e42e7446b2838acaff55feca3fae9
BLAKE2b-256 8da312f6e0237098d4aa4cf6abec9a1c6f035a3fc86a48e09c67746b916878a0

See more details on using hashes here.

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