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

Uploaded Source

Built Distribution

PyVISA_sim-0.6.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file PyVISA-sim-0.6.0.tar.gz.

File metadata

  • Download URL: PyVISA-sim-0.6.0.tar.gz
  • Upload date:
  • Size: 51.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for PyVISA-sim-0.6.0.tar.gz
Algorithm Hash digest
SHA256 9076a16912a8114b43c44b1d32894fc1f132d4389d8b2b719af62241e42161c1
MD5 b14581ec67c4edb2099700a329f82687
BLAKE2b-256 7271c17bb267adcaa32aa588fd1e2ba16337054bae69a31a562b0150b4d2d898

See more details on using hashes here.

File details

Details for the file PyVISA_sim-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: PyVISA_sim-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for PyVISA_sim-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4343b0ab0ec8245988652eda8fe78f79ee143d90ccf90f01903b8089584ccb
MD5 30d8c27b01a228104caa1ddeda533c44
BLAKE2b-256 d536ed26aeaa10f9ab80dd30d437b46e1be4c30a277386ee052c0a0eed6194a7

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