Skip to main content

PyVISA-sim

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

Metadata

Release files for PyVISA-sim 0.6.0

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

Source distribution (sdist)

Source distribution for PyVISA-sim 0.6.0
File Size Uploaded Provenance Actions
PyVISA-sim-0.6.0.tar.gz 51.7 kB Without provenance Details for PyVISA-sim-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyVISA-sim 0.6.0
File Interpreter ABI Platform Actions
PyVISA_sim-0.6.0-py3-none-any.whl Python 3 none any Details for PyVISA_sim-0.6.0-py3-none-any.whl

Total release size: 86.3 kB

Release files / PyVISA-sim-0.6.0.tar.gz

Download URL PyVISA-sim-0.6.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9076a16912a8114b43c44b1d32894fc1f132d4389d8b2b719af62241e42161c1
BLAKE2b-256 checksum
How to use checksums
7271c17bb267adcaa32aa588fd1e2ba16337054bae69a31a562b0150b4d2d898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / PyVISA_sim-0.6.0-py3-none-any.whl

Download URL PyVISA_sim-0.6.0-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae4343b0ab0ec8245988652eda8fe78f79ee143d90ccf90f01903b8089584ccb
BLAKE2b-256 checksum
How to use checksums
d536ed26aeaa10f9ab80dd30d437b46e1be4c30a277386ee052c0a0eed6194a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for PyVISA-sim 0.6.0

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.

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