Skip to main content

PyVISA-py

A PyVISA backend that implements a large part of the “Virtual Instrument Software Architecture” (VISA) in pure Python (with the help of some nice cross platform libraries python packages!).

Description

PyVISA started as wrapper for the NI-VISA library and therefore you need to install National Instruments VISA library in your system. This works most of the time, for most people. But NI-VISA is a proprietary library that only works on certain systems. That is when PyVISA-py jumps in.

Starting from version 1.6, PyVISA allows to use different backends. These backends can be dynamically loaded. PyVISA-py is one of such backends. It implements most of the methods for Message Based communication (Serial/USB/GPIB/Ethernet) using Python and some well developed, easy to deploy and cross platform libraries

VISA and Python

Python has a couple of features that make it very interesting for measurement controlling:

  • Python is an easy-to-learn scripting language with short development cycles.

  • It represents a high abstraction level, which perfectly blends with the abstraction level of measurement programs.

  • It has a very rich set of native libraries, including numerical and plotting modules for data analysis and visualisation.

  • A large set of books (in many languages) and on-line publications is available.

Requirements

  • Python (tested with 2.6 and 2.7, 3.2+)

  • PyVISA 1.6+

Optionally - PySerial (to interface with Serial instruments) - PyUSB (to interface with USB instruments) - linux-gpib (to interface with gpib instruments, only on linux)

Installation

Using pip:

$ pip install pyvisa-py

Documentation

The documentation can be read online at https://pyvisa-py.readthedocs.org

pyvisa-py is written and maintained by Hernan E. Grecco <hernan.grecco@gmail.com>.

Other contributors, listed alphabetically, are:

(If you think that your name belongs here, please let the maintainer know)

PyVISA-py Changelog

0.3 (unreleased)

  • Nothing changed yet.

0.2 (2015-08-25)

  • Added support for TCPIP Socket. (Issue #38, thanks Thorsten Liebig)

  • Added support for GPIB INSTR using linux-gpib. (Issue #24, thanks bessman)

  • Added support for USB RAW. (Issue #18, kopp)

  • Better error reporting when pyusb or pyserial is missing.

  • Fixed logging of unicode strings. (Issue #54)

  • Fixed timeout in SerialSession. (Issue #44)

  • Moved resource name parsing to PyVISA.

  • VXI11 protocol performance enhancement. (thanks alexforencich)

  • Improved pyusb importing.

  • Fixed large binary reads in TCPIP.

  • Added backend information to logger.

  • Use pyvisa compat/struct.py for python < 2.7.8 (thanks Martin Ritter)

0.1 (2015-02-08)

  • Initial release. Preliminary support for: - USB INSTR - TCPIP INSTR - ASRL INSTR

Metadata

Release files for hedgehog-pyvisa-py 0.4

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

Source distribution (sdist)

Source distribution for hedgehog-pyvisa-py 0.4
File Size Uploaded Provenance
hedgehog-pyvisa-py-0.4.tar.gz 49.5 kB Without provenance Details

Release files / hedgehog-pyvisa-py-0.4.tar.gz

Download URL hedgehog-pyvisa-py-0.4.tar.gz
Size 49.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b1b42c7de741089f8950af5749fa1160e6114b20577a08cfa99216cb63768a14
BLAKE2b-256 checksum
How to use checksums
8aaefea50358c5f0e0a13711015a084e0573b3a469af401deddd1da80046e9c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hedgehog-pyvisa-py 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file No provenance

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