Skip to main content

Take control of your GPIB adapters!

Project description

The pygpib module provides Python access to GPIB adapters. It provides access to GPIB instruments through an interface that hides the ugly details of GPIB.

Introduction

In general, USB-GPIB adapters require special drivers provided by the manucaturer, or linux-gpib. Vendor drivers are usually limited to one operating system. linux-gpib requires out-of-tree kernel modules, making it cumbersome to set up and update with new kernels.

pygpib is designed to allow the use of USB-GPIB adapters without the need for special drivers or kernel modules. The interface is centered around read() and write() calls with minimal GPIB-centric configuration and housekeeping.

Tentative interface

import pygpib as gpib

interface = gpib.list_adapters()[0]

interface.open(primary_address=10)

instrument = interface.get_instrument(primary_address=22)
instrument.configure(end_read_on_eos=True, eos_char='\n')

instrument.query('*IDN?')

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pygpib-0.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pygpib-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: pygpib-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pygpib-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29d5e86a95a41db53749ef501d095197d41a12166b1dcfa0804c28c1faf4d8bf
MD5 9358fd4053d59329472e380428c26859
BLAKE2b-256 c96d5b5020a29c91273f37d3bf9299b4c7f1794985161bec65de038e03212479

See more details on using hashes here.

Supported by

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