PyVISA


NamePyVISA JSON
Version 1.14.1 PyPI version JSON
download
home_page
SummaryPython VISA bindings for GPIB, RS232, TCPIP and USB instruments
upload_time2023-11-22 07:33:45
maintainer
docs_urlNone
authorGregor Thalhammer
requires_python>=3.8
licenseThe 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.
keywords visa gpib usb serial rs232 measurement acquisition
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            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
.. image:: https://joss.theoj.org/papers/10.21105/joss.05304/status.svg
   :target: https://doi.org/10.21105/joss.05304


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


Citing
------

If you are using this package, you can cite the `PyVISA publication`_ 

Grecco et al., (2023). PyVISA: the Python instrumentation package. Journal of Open Source 
Software, 8(84), 5304, https://doi.org/10.21105/joss.05304

.. _`PyVISA publication`: https://joss.theoj.org/papers/10.21105/joss.05304#

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "PyVISA",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "\"Matthieu C. Dartiailh\" <m.dartiailh@gmail.com>",
    "keywords": "VISA,GPIB,USB,serial,RS232,measurement,acquisition",
    "author": "Gregor Thalhammer",
    "author_email": "Torsten Bronger <bronger@physik.rwth-aachen.de>, \"Hernan E. Grecco\" <hernan.grecco@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/1a/77/577366efd9cff08ddfedcf14f678ff57bb1a6287ccdf157972e6d9e7b494/PyVISA-1.14.1.tar.gz",
    "platform": null,
    "description": "PyVISA\n======\n\n\n.. image:: https://github.com/pyvisa/pyvisa/workflows/Continuous%20Integration/badge.svg\n    :target: https://github.com/pyvisa/pyvisa/actions\n    :alt: Continuous integration\n.. image:: https://github.com/pyvisa/pyvisa/workflows/Documentation%20building/badge.svg\n    :target: https://github.com/pyvisa/pyvisa/actions\n    :alt: Documentation building\n.. image:: https://dev.azure.com/pyvisa/pyvisa/_apis/build/status/pyvisa.keysight-assisted?branchName=main\n    :target: https://dev.azure.com/pyvisa/pyvisa/_build\n    :alt: Keysight assisted testing\n.. image:: https://codecov.io/gh/pyvisa/pyvisa/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/pyvisa/pyvisa\n    :alt: Code Coverage\n.. image:: https://readthedocs.org/projects/pyvisa/badge/?version=latest\n    :target: https://pyvisa.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n.. image:: https://img.shields.io/pypi/l/PyVISA\n    :target: https://pypi.python.org/pypi/pyvisa\n    :alt: PyPI - License\n.. image:: https://img.shields.io/pypi/v/PyVISA\n    :target: https://pypi.python.org/pypi/pyvisa\n    :alt: PyPI\n.. image:: https://joss.theoj.org/papers/10.21105/joss.05304/status.svg\n   :target: https://doi.org/10.21105/joss.05304\n\n\nA Python package for support of the \"Virtual Instrument Software\nArchitecture\" (VISA), in order to control measurement devices and\ntest equipment via GPIB, RS232, Ethernet or USB.\n\nDescription\n-----------\n\nThe programming of measurement instruments can be real pain. There are many\ndifferent protocols, sent over many different interfaces and bus systems\n(GPIB, RS232, USB). For every programming language you want to use, you have to\nfind libraries that support both your device and its bus system.\n\nIn order to ease this unfortunate situation, the Virtual Instrument Software\nArchitecture (VISA_) specification was defined in the middle of the 90's. Today\nVISA is implemented on all significant operating systems. A couple of vendors\noffer VISA libraries, partly with free download. These libraries work together\nwith arbitrary peripheral devices, although they may be limited to certain\ninterface devices, such as the vendor\u2019s GPIB card.\n\nThe VISA specification has explicit bindings to Visual Basic, C, and G\n(LabVIEW\u2019s graphical language). Python can be used to call functions from a\nVISA shared library (`.dll`, `.so`, `.dylib`) allowing to directly leverage the\nstandard implementations. In addition, Python can be used to directly access\nmost bus systems used by instruments which is why one can envision to implement\nthe VISA standard directly in Python (see the `PyVISA-Py`_ project for more\ndetails). PyVISA is both a Python wrapper for VISA shared libraries but\ncan also serve as a front-end for other VISA implementation such as\n`PyVISA-Py`_.\n\n\n.. _VISA: http://www.ivifoundation.org/specifications/default.aspx\n.. _`PyVISA-Py`: http://pyvisa-py.readthedocs.io/en/latest/\n\n\nVISA and Python\n---------------\n\nPython has a couple of features that make it very interesting for controlling \ninstruments:\n\n- Python is an easy-to-learn scripting language with short development cycles.\n- It represents a high abstraction level [2], which perfectly blends with the\n  abstraction level of measurement programs.\n- It has a rich set of native libraries, including numerical and plotting\n  modules for data analysis and visualisation.\n- A large set of books (in many languages) and on-line publications is\n  available.\n\n\nRequirements\n------------\n\n- Python (tested with 3.6+)\n- VISA (tested with NI-VISA 17.5, Win7, from www.ni.com/visa and Keysight-VISA )\n\nInstallation\n--------------\n\nUsing pip:\n\n    $ pip install pyvisa\n\nor easy_install:\n\n    $ easy_install pyvisa\n\nor download and unzip the source distribution file and:\n\n    $ python setup.py install\n\n\nDocumentation\n--------------\n\nThe documentation can be read online at https://pyvisa.readthedocs.org\n\n\nCiting\n------\n\nIf you are using this package, you can cite the `PyVISA publication`_ \n\nGrecco et al., (2023). PyVISA: the Python instrumentation package. Journal of Open Source \nSoftware, 8(84), 5304, https://doi.org/10.21105/joss.05304\n\n.. _`PyVISA publication`: https://joss.theoj.org/papers/10.21105/joss.05304#\n",
    "bugtrack_url": null,
    "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. ",
    "summary": "Python VISA bindings for GPIB, RS232, TCPIP and USB instruments",
    "version": "1.14.1",
    "project_urls": {
        "changelog": "https://github.com/pyvisa/pyvisa/blob/main/CHANGES",
        "documentation": "https://pyvisa.readthedocs.io/en/latest/",
        "homepage": "https://github.com/pyvisa/pyvisa",
        "repository": "https://github.com/pyvisa/pyvisa"
    },
    "split_keywords": [
        "visa",
        "gpib",
        "usb",
        "serial",
        "rs232",
        "measurement",
        "acquisition"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99a00e739df84e0fc61abecc6b4b70ad7aea7f5d7ee37ec504baa365c0fec9da",
                "md5": "43f5f58c92aa61a021cc3db7e21a9ecb",
                "sha256": "6e4dfc9b6029b4f00d0d4960348c4889c2747aa7f83276950d48a349eab36a45"
            },
            "downloads": -1,
            "filename": "PyVISA-1.14.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "43f5f58c92aa61a021cc3db7e21a9ecb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 176651,
            "upload_time": "2023-11-22T07:33:43",
            "upload_time_iso_8601": "2023-11-22T07:33:43.496866Z",
            "url": "https://files.pythonhosted.org/packages/99/a0/0e739df84e0fc61abecc6b4b70ad7aea7f5d7ee37ec504baa365c0fec9da/PyVISA-1.14.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a77577366efd9cff08ddfedcf14f678ff57bb1a6287ccdf157972e6d9e7b494",
                "md5": "30b2a8202a2c5d704c788f26e2c2cf86",
                "sha256": "71030041ed4c5dad77687454cf44b8be4d1642e9d1aaa22019248d41d8ed7a79"
            },
            "downloads": -1,
            "filename": "PyVISA-1.14.1.tar.gz",
            "has_sig": false,
            "md5_digest": "30b2a8202a2c5d704c788f26e2c2cf86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 234683,
            "upload_time": "2023-11-22T07:33:45",
            "upload_time_iso_8601": "2023-11-22T07:33:45.658618Z",
            "url": "https://files.pythonhosted.org/packages/1a/77/577366efd9cff08ddfedcf14f678ff57bb1a6287ccdf157972e6d9e7b494/PyVISA-1.14.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-22 07:33:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pyvisa",
    "github_project": "pyvisa",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "pyvisa"
}
        
Elapsed time: 3.37950s