Skip to main content

Simulated backend for PyVISA implementing TCPIP, GPIB, RS232, and USB resources

Project description

Continuous integration Documentation building Code Coverage Documentation Status PyPI - License PyPI

PyVISA-sim is a PyVISA backend that simulates a large part of the “Virtual Instrument Software Architecture” (VISA).

Description

PyVISA started as a wrapper for the NI-VISA library and therefore you need to install the National Instruments VISA library in your system. This works most of the time, for most people. But sometimes you need to test PyVISA without the physical devices or even without NI-VISA.

Starting from version 1.6, PyVISA allows to use different backends. These backends can be dynamically loaded. PyVISA-sim is one of such backends. It implements most of the methods for Message Based communication (Serial/USB/GPIB/Ethernet) in a simulated environment. The behaviour of simulated devices can be controlled by a simple plain text configuration file.

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.8 to 3.11)

  • PyVISA 1.11+

Installation

Using pip:

$ pip install -U pyvisa-sim

or install the development version:

$ pip install git+https://github.com/pyvisa/pyvisa-sim

PyVISA is automatically installed if needed.

Documentation

The documentation can be read online at https://pyvisa-sim.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_sim-0.7.1.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvisa_sim-0.7.1-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file pyvisa_sim-0.7.1.tar.gz.

File metadata

  • Download URL: pyvisa_sim-0.7.1.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvisa_sim-0.7.1.tar.gz
Algorithm Hash digest
SHA256 11b10658e2152708eeada0c86627d894c4d11484312f02d3cf385196b4bc870f
MD5 6aa16bfe9b7baf995473e46e7f1db0ae
BLAKE2b-256 5550151ac5d9e067be9a3af09c2f188eebb7bd6416e32d8351c8f0012548693f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvisa_sim-0.7.1.tar.gz:

Publisher: release.yml on pyvisa/pyvisa-sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvisa_sim-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: pyvisa_sim-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyvisa_sim-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0468326ea76977ba0da4d25c334a8d82ceb22d9b068e2c6894a8075ce7168322
MD5 cf6a7ee0030623d7c3a7d7cded49fa56
BLAKE2b-256 5ed4525c79a339b19d4509e78402bad301d77ee6cae0d33dab2668fb1c624ea4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvisa_sim-0.7.1-py3-none-any.whl:

Publisher: release.yml on pyvisa/pyvisa-sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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