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 (tested with 3.6+)

  • PyVISA 1.11+

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)

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.7.2.tar.gz (95.7 kB view details)

Uploaded Source

Built Distribution

PyVISA_py-0.7.2-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

Details for the file PyVISA-py-0.7.2.tar.gz.

File metadata

  • Download URL: PyVISA-py-0.7.2.tar.gz
  • Upload date:
  • Size: 95.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for PyVISA-py-0.7.2.tar.gz
Algorithm Hash digest
SHA256 4c5f5b867858457dbebfff92a42fba2d8b046d28defbbec2a09e3c1f0850e851
MD5 e7668a0ff4039811a8fb3a051edced00
BLAKE2b-256 8214fffb2de1baaa3dd6e30940a9882d742365baffa3ba4dade0260ddaee6390

See more details on using hashes here.

File details

Details for the file PyVISA_py-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: PyVISA_py-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 75.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for PyVISA_py-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c53b941a5ee6547aadc5321f930c924dd5c4434891bc512fcafcdd5a4a8d110d
MD5 5c8596ae50f4878177b6717a65aab37c
BLAKE2b-256 707b9c9cbb09596d00a3a5b009559e9b859ac459d01611fea6b3b655f74dc323

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