• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H08-Nov-2020-212168

PyVISA.egg-info/H03-May-2022-631516

docs/H08-Nov-2020-3,5262,352

examples/H08-Nov-2020-10026

pyvisa/H07-May-2022-24,98218,215

.coveragercH A D13-May-2020350 1815

.gitignoreH A D09-Aug-2020201 2220

.pre-commit-config.yamlH A D28-Sep-2020475 1919

AUTHORSH A D09-Aug-20201 KiB2924

CHANGESH A D08-Nov-202017.5 KiB468386

ChangeLogH A D31-Jul-201827.6 KiB996557

LICENSEH A D24-May-20191.1 KiB2217

MANIFEST.inH A D08-Nov-2020201 76

PKG-INFOH A D08-Nov-202028.2 KiB631516

README.rstH A D23-Sep-20203.7 KiB10275

azure-pipelines.ymlH A D26-Aug-20201.7 KiB6857

bors.tomlH A D09-Aug-2020143 33

code-of-conduct.mdH A D13-May-20203.3 KiB7757

pyproject.tomlH A D13-May-2020148 64

setup.cfgH A D08-Nov-20202.6 KiB11099

setup.pyH A D24-Jun-2020136 83

visa.pyH A D24-Jun-20201.4 KiB6250

README.rst

1PyVISA
2======
3
4
5.. image:: https://github.com/pyvisa/pyvisa/workflows/Continuous%20Integration/badge.svg
6    :target: https://github.com/pyvisa/pyvisa/actions
7    :alt: Continuous integration
8.. image:: https://github.com/pyvisa/pyvisa/workflows/Documentation%20building/badge.svg
9    :target: https://github.com/pyvisa/pyvisa/actions
10    :alt: Documentation building
11.. image:: https://dev.azure.com/pyvisa/pyvisa/_apis/build/status/pyvisa.keysight-assisted?branchName=master
12    :target: https://dev.azure.com/pyvisa/pyvisa/_build
13    :alt: Keysight assisted testing
14.. image:: https://codecov.io/gh/pyvisa/pyvisa/branch/master/graph/badge.svg
15    :target: https://codecov.io/gh/pyvisa/pyvisa
16    :alt: Code Coverage
17.. image:: https://readthedocs.org/projects/pyvisa/badge/?version=latest
18    :target: https://pyvisa.readthedocs.io/en/latest/?badge=latest
19    :alt: Documentation Status
20.. image:: https://img.shields.io/pypi/l/PyVISA
21    :target: https://pypi.python.org/pypi/pyvisa
22    :alt: PyPI - License
23.. image:: https://img.shields.io/pypi/v/PyVISA
24    :target: https://pypi.python.org/pypi/pyvisa
25    :alt: PyPI
26
27A Python package for support of the "Virtual Instrument Software
28Architecture" (VISA), in order to control measurement devices and
29test equipment via GPIB, RS232, Ethernet or USB.
30
31Description
32-----------
33
34The programming of measurement instruments can be real pain. There are many
35different protocols, sent over many different interfaces and bus systems
36(GPIB, RS232, USB). For every programming language you want to use, you have to
37find libraries that support both your device and its bus system.
38
39In order to ease this unfortunate situation, the Virtual Instrument Software
40Architecture (VISA_) specification was defined in the middle of the 90'. Today
41VISA is implemented on all significant operating systems. A couple of vendors
42offer VISA libraries, partly with free download. These libraries work together
43with arbitrary peripheral devices, although they may be limited to certain
44interface devices, such as the vendor’s GPIB card.
45
46The VISA specification has explicit bindings to Visual Basic, C, and G
47(LabVIEW’s graphical language). Python can be used to call functions from a
48VISA shared library (`.dll`, `.so`, `.dylib`) allowing to directly leverage the
49standard implementations. In addition, Python can be used to directly access
50most bus systems used by instruments which is why one can envision to implement
51the VISA standard directly in Python (see the `PyVISA-Py` project for more
52details). PyVISA is both a Python wrapper for VISA shared libraries but
53can also serve as a front-end for other VISA implementation such as
54`PyVISA-Py`.
55
56
57.. _VISA: http://www.ivifoundation.org/specifications/default.aspx
58.. _`PyVISA-Py`: http://pyvisa-py.readthedocs.io/en/latest/
59
60
61VISA and Python
62---------------
63
64Python has a couple of features that make it very interesting for measurement
65controlling:
66
67- Python is an easy-to-learn scripting language with short development cycles.
68- It represents a high abstraction level [2], which perfectly blends with the
69  abstraction level of measurement programs.
70- It has a very rich set of native libraries, including numerical and plotting
71  modules for data analysis and visualisation.
72- A large set of books (in many languages) and on-line publications is
73  available.
74
75
76Requirements
77------------
78
79- Python (tested with 3.6+)
80- VISA (tested with NI-VISA 17.5, Win7, from www.ni.com/visa and Keysight-VISA )
81
82Installation
83--------------
84
85Using pip:
86
87    $ pip install pyvisa
88
89or easy_install:
90
91    $ easy_install pyvisa
92
93or download and unzip the source distribution file and:
94
95    $ python setup.py install
96
97
98Documentation
99--------------
100
101The documentation can be read online at https://pyvisa.readthedocs.org
102