This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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.6 and 2.7, 3.2+)
  • PyVISA 1.6+

Installation

Using pip:

$ pip install -U pyvisa-sim

or install the development version:

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

PyVISA is automatically installed if needed.

Documentation

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

pyvisa-sim is written and maintained by Hernan E. Grecco <hernan.grecco@gmail.com>.

Other contributors, listed alphabetically, are:

PyVISA-sim Changelog

0.3 (2015-08-25)

  • Fixed bug in get_device_dict. (Issue #37)
  • Move resource name parsing to pyvisa.rname.
  • Implemented query in list_resources.
  • Add support for USB RAW.
  • Warn the user when no eom is specified for device type and use LF.

0.2 (2015-05-19)

  • Add support for channels. (Issue #9, thanks MatthieuDartiailh)
  • Add support for error queue. (Issue #26, thanks MatthieuDartiailh)
  • Add support for TCPIP SOCKET. (Issue #29, thanks MatthieuDartiailh)
  • Removed resource string parsing in favour of to pyvisa.rname.
  • Changed find_resource and find_next in favour of list_resources.
  • Implemented new loader with bases and versioning enforcing. (Issue #16)
  • Renamed is_resource to bundled in yaml files.
  • Added support for an empty response. (Issue #15, thanks famish99)
  • Several small fixes and better VISA compliance.
  • Better error reporting and debug info.

0.1 (2015-02-12)

  • First public release.
  • Basic ASRL INSTR functionality.
  • Basic USB INSTR functionality.
  • Basic TCPIP INSTR functionality.
Release History

Release History

0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyVISA-sim-0.3.tar.gz (41.0 kB) Copy SHA256 Checksum SHA256 Source Aug 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting