Skip to main content

Unofficial Keithley 2700 Series DMM Interface: py2700

A Python package to interface with a Keithley 2700 digital multimeter.

Introduction

The py2700 package is designed to allow for easy access to common SCPI commands sent to the multimeter. From setting up channels, to reading data, to even writing to the display, the package allows the user to quickly and easily produce working, readable Python code to collect data from their device, and ultimately avoid being forced to pay for a license for Keithley Kickstart.

Documentation is available at: https://www.noahpaladino.com/py2700/

Example Program

import py2700 as DMM
import time

# Connect to a Keithley 2701 over TCP/IP
my_multimeter = DMM.Multimeter('TCPIP::192.168.69.102::1394::SOCKET')

# Set the default temperature units
my_multimeter.set_temperature_units('C')

# Set the timeout in ms
my_multimeter.set_timeout(5000)

# Set Channels 101, 102, and 103 as K-type thermocouples
my_multimeter.define_channels([101,102,103],
    DMM.MeasurementType.thermocouple('K'))

# Setup for reading: 
#   This needs to be completed after channel
#   definitions and before scanning
my_multimeter.setup_scan()

# Scan the channels, given the timestamp you want 
# for the reading
result = my_multimeter.scan(time.time_ns()/(10**9))

# Print out a CSV header for the result
print(my_multimeter.make_csv_header())

# Print out a CSV row for the result
print(result.make_csv_row())

# Safely disconnect from the multimeter
my_multimeter.disconnect()

Contact

Please submit an issue if you encounter a bug and please email any questions or requests to py2700@noahpaladino.com

Release files for py2700 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py2700 0.1.0
File Size Uploaded
py2700-0.1.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py2700 0.1.0
File Interpreter ABI Platform
py2700-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / py2700-0.1.0.tar.gz

Download URL py2700-0.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
98dea6e96d74bd9ae9068137b1935207b61a491efb1fb5ca54d96d2dda9d6e77
BLAKE2b-256 checksum
How to use checksums
5da4aa1e5d82c21a08609e322ac3a1f4134743f67bd3ca0d4f0e29ea256eeef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / py2700-0.1.0-py3-none-any.whl

Download URL py2700-0.1.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01c17f91c572b25a90d906c4c57dfd5919cd677edff5b4df70ca5d72dac6de82
BLAKE2b-256 checksum
How to use checksums
b192e5a796797cae07c3ce4fb97c9edfd833ece1d73a4dbc19f37f8edeb97ed1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page