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.7.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.7.0
File Size Uploaded Provenance Actions
pyvisa_sim-0.7.0.tar.gz 52.7 kB Without provenance Details for pyvisa_sim-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 88.2 kB

Release files / pyvisa_sim-0.7.0.tar.gz

Download URL pyvisa_sim-0.7.0.tar.gz
Size 52.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d5a672ca48adb948be616f0612b8532b1eee664af67c1adf10bff4e3bfbf8d0
BLAKE2b-256 checksum
How to use checksums
8ce7f38446885a0c043902f5dc9ae832082475f0ce97fa477744c6d27f39ec27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pyvisa_sim-0.7.0-py3-none-any.whl

Download URL pyvisa_sim-0.7.0-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9480dd38fff32fc7ca0e5db18b88161efdc1c3602fb4005961943569baefc48
BLAKE2b-256 checksum
How to use checksums
ff958d7013da026f9769b8024484dd2bab925aeeab2e85de526fcdc03fbb8e0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for PyVISA-sim 0.7.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