Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
.. image:: https://github.com/pyvisa/pyvisa-sim/workflows/Continuous%20Integration/badge.svg :target: https://github.com/pyvisa/pyvisa-sim/actions :alt: Continuous integration .. image:: https://github.com/pyvisa/pyvisa-sim/workflows/Documentation%20building/badge.svg :target: https://github.com/pyvisa/pyvisa/actions :alt: Documentation building .. image:: https://codecov.io/gh/pyvisa/pyvisa-sim/branch/main/graph/badge.svg :target: https://codecov.io/gh/pyvisa/pyvisa-sim :alt: Code Coverage .. image:: https://readthedocs.org/projects/pyvisa-sim/badge/?version=latest :target: https://pyvisa-sim.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://img.shields.io/pypi/l/PyVISA-sim :target: https://pypi.python.org/pypi/pyvisa-sim :alt: PyPI - License .. image:: https://img.shields.io/pypi/v/PyVISA-sim :target: https://pypi.python.org/pypi/pyvisa-sim :alt: PyPI
PyVISA-sim is a PyVISA backend that simulates a large part of the
"Virtual Instrument Software Architecture" (VISA
_).
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.
Python has a couple of features that make it very interesting for measurement controlling:
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.
The documentation can be read online at https://pyvisa-sim.readthedocs.org
.. _VISA: http://www.ivifoundation.org/Downloads/Specifications.html
FAQs
Simulated backend for PyVISA implementing TCPIP, GPIB, RS232, and USB resources
We found that PyVISA-sim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.