Skip to main content

Build Status

PyVISA-sim

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 2.7, and 3.4 to 3.8)

  • PyVISA 1.6+

Installation

Using pip:

$ pip install -U pyvisa-sim

or install the development version:

$ pip install -U https://github.com/pyvisa/pyvisa-sim/zipball/master

PyVISA is automatically installed if needed.

Testing

Ensure you have tox installed. Then you can simply invoke

$ tox

to run tests for all supported Python versions, or select one with

$ tox -e pyXY

with X being the major version (2 or 3) and Y the minor version.

Documentation

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

Metadata

Release files for PyVISA-sim 0.4.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.4.0
File Size Uploaded Provenance Actions
PyVISA-sim-0.4.0.tar.gz 5.9 MB Without provenance Details for PyVISA-sim-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 MB

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

Download URL PyVISA-sim-0.4.0.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
06c66958525edf4a73769ce6845926561428b7ee2e93f2b17f49361c16e79ddc
BLAKE2b-256 checksum
How to use checksums
a68d9c1010d1f3c31dfcacb70d4f00c30cb36e370d4325ae77ebc12ebfcaf148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

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

Download URL PyVISA_sim-0.4.0-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39e1932b4da8fcab586ebd13841cbea8e6e34cc2d431c5b59612e56466d2d8eb
BLAKE2b-256 checksum
How to use checksums
6d082169ce2bc20fd908ea1691f39ec34dcb59b316f48f1f7551898374f4e8f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

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