Metadata-Version: 2.1 Name: PyVISA Version: 1.12.0 Summary: Python VISA bindings for GPIB, RS232, TCPIP and USB instruments Author: Gregor Thalhammer Author-email: Torsten Bronger Maintainer-email: "Matthieu C. Dartiailh" License: The MIT License Copyright (c) 2005-2022 PyVISA Authors and contributors. See AUTHORS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Project-URL: homepage, https://github.com/pyvisa/pyvisa Project-URL: documentation, https://pyvisa.readthedocs.io/en/latest/ Project-URL: repository, https://github.com/pyvisa/pyvisa Project-URL: changelog, https://github.com/pyvisa/pyvisa/blob/main/doc/CHANGES Keywords: VISA,GPIB,USB,serial,RS232,measurement,acquisition Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Science/Research Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: POSIX :: Linux Classifier: Operating System :: MacOS :: MacOS X Classifier: Programming Language :: Python Classifier: Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Requires-Python: >=3.7 Description-Content-Type: text/x-rst License-File: LICENSE License-File: AUTHORS Requires-Dist: typing-extensions Requires-Dist: dataclasses ; python_version < "3.7" Requires-Dist: importlib-metadata ; python_version < "3.8" PyVISA ====== .. image:: https://github.com/pyvisa/pyvisa/workflows/Continuous%20Integration/badge.svg :target: https://github.com/pyvisa/pyvisa/actions :alt: Continuous integration .. image:: https://github.com/pyvisa/pyvisa/workflows/Documentation%20building/badge.svg :target: https://github.com/pyvisa/pyvisa/actions :alt: Documentation building .. image:: https://dev.azure.com/pyvisa/pyvisa/_apis/build/status/pyvisa.keysight-assisted?branchName=main :target: https://dev.azure.com/pyvisa/pyvisa/_build :alt: Keysight assisted testing .. image:: https://codecov.io/gh/pyvisa/pyvisa/branch/main/graph/badge.svg :target: https://codecov.io/gh/pyvisa/pyvisa :alt: Code Coverage .. image:: https://readthedocs.org/projects/pyvisa/badge/?version=latest :target: https://pyvisa.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://img.shields.io/pypi/l/PyVISA :target: https://pypi.python.org/pypi/pyvisa :alt: PyPI - License .. image:: https://img.shields.io/pypi/v/PyVISA :target: https://pypi.python.org/pypi/pyvisa :alt: PyPI A Python package for support of the "Virtual Instrument Software Architecture" (VISA), in order to control measurement devices and test equipment via GPIB, RS232, Ethernet or USB. Description ----------- The programming of measurement instruments can be real pain. There are many different protocols, sent over many different interfaces and bus systems (GPIB, RS232, USB). For every programming language you want to use, you have to find libraries that support both your device and its bus system. In order to ease this unfortunate situation, the Virtual Instrument Software Architecture (VISA_) specification was defined in the middle of the 90's. Today VISA is implemented on all significant operating systems. A couple of vendors offer VISA libraries, partly with free download. These libraries work together with arbitrary peripheral devices, although they may be limited to certain interface devices, such as the vendor’s GPIB card. The VISA specification has explicit bindings to Visual Basic, C, and G (LabVIEW’s graphical language). Python can be used to call functions from a VISA shared library (`.dll`, `.so`, `.dylib`) allowing to directly leverage the standard implementations. In addition, Python can be used to directly access most bus systems used by instruments which is why one can envision to implement the VISA standard directly in Python (see the `PyVISA-Py` project for more details). PyVISA is both a Python wrapper for VISA shared libraries but can also serve as a front-end for other VISA implementation such as `PyVISA-Py`. .. _VISA: http://www.ivifoundation.org/specifications/default.aspx .. _`PyVISA-Py`: http://pyvisa-py.readthedocs.io/en/latest/ VISA and Python --------------- Python has a couple of features that make it very interesting for controlling instruments: - Python is an easy-to-learn scripting language with short development cycles. - It represents a high abstraction level [2], which perfectly blends with the abstraction level of measurement programs. - It has a 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.6+) - VISA (tested with NI-VISA 17.5, Win7, from www.ni.com/visa and Keysight-VISA ) Installation -------------- Using pip: $ pip install pyvisa or easy_install: $ easy_install pyvisa or download and unzip the source distribution file and: $ python setup.py install Documentation -------------- The documentation can be read online at https://pyvisa.readthedocs.org