Skip to main content

Pure Python implementation of a VISA library.

Project description

Continuous integration Documentation building Keysight assisted testing Code Coverage Documentation Status PyPI - License PyPI

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 IVI-VISA library and therefore you need to install a VISA library in your system (National Instruments, Keysight, etc). This works most of the time, for most people. But IVI-VISA implementations are proprietary libraries 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 3

  • PyVISA

Optionally:

  • PySerial (to interface with Serial instruments)

  • PyUSB (to interface with USB instruments)

  • linux-gpib (to interface with gpib instruments, only on linux)

  • gpib-ctypes (to interface with GPIB instruments on Windows and Linux)

  • psutil (to discover TCPIP devices across multiple interfaces)

  • zeroconf (for HiSLIP and VICP devices discovery)

  • pyvicp (to enable the Teledyne LeCroy proprietary VICP protocol)

Please refer to pyproject.toml for the specific version requirements.

Installation

Using pip:

$ pip install pyvisa-py

Documentation

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

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

pyvisa_py-0.8.0.tar.gz (101.2 kB view details)

Uploaded Source

Built Distribution

pyvisa_py-0.8.0-py3-none-any.whl (81.9 kB view details)

Uploaded Python 3

File details

Details for the file pyvisa_py-0.8.0.tar.gz.

File metadata

  • Download URL: pyvisa_py-0.8.0.tar.gz
  • Upload date:
  • Size: 101.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyvisa_py-0.8.0.tar.gz
Algorithm Hash digest
SHA256 cfadb9faeb9499e53ce52d9d7f1558e6663e78f7f0431c775aa49ce925e08917
MD5 972a10090979a924b83873246cc4f815
BLAKE2b-256 678fbdca6106ea6e1af73cb9fb629f3a4d497ddcbaf52245d33e9fabe2c54e90

See more details on using hashes here.

File details

Details for the file pyvisa_py-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: pyvisa_py-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyvisa_py-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0254b8ee711c4ca6c5ff6b7450b900af6347a23d25c0f0169f94952b324b4130
MD5 290c82375507d25bd68ec12ddbb346b3
BLAKE2b-256 14ac66713e2dd494a2ae0d28df63784af8cea5600a17cad4cfa2de2974435610

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