NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #4247 most downloaded on PyPI
Python VISA bindings for GPIB, RS232, TCPIP and USB instruments
Latest stable
1.16.2
Last release 8 months ago
27 Feb 2026
Release timing varies
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 29 of 29 stable releases
Nothing withdrawn
no release was ever pulled
19 years old
30 releases · first in 2008
Drag across the ruler to compare, or tap a release to open it.
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pyvisa/pyvisa/pull/966
Full Changelog: https://github.com/pyvisa/pyvisa/compare/1.16.1...1.16.2
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pyvisa/pyvisa/pull/964
Full Changelog: https://github.com/pyvisa/pyvisa/compare/1.16.0...1.16.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pyvisa/pyvisa/pull/901
Full Changelog: https://github.com/pyvisa/pyvisa/compare/1.15.0...1.16.0
use ruff as linter and formatter and remove unused setup.py by @MatthieuDartiailh in https://github.com/pyvisa/pyvisa/pull/788
typing_extensions by @InSyncWithFoo in https://github.com/pyvisa/pyvisa/pull/866Full Changelog: https://github.com/pyvisa/pyvisa/compare/1.14.1...1.16.0-rc
make pyvisa-shell and pyvisa-info handle arguments independently PR #859
pyvisa-shell and pyvisa-info handle arguments independently PR #859typing_extensions PR #866highlevel: allow missing board number which is the case for VICP by @MatthieuDartiailh in https://github.com/pyvisa/pyvisa/pull/787
Full Changelog: https://github.com/pyvisa/pyvisa/compare/1.14.0...1.14.1
fix ctypes truncated pointers on 64-bit for ViBusAddress, ViBusSize, ViAttrState PR #725
bitness for library and python runtime information with instruction set
and bitness #733
Resulting API changes:
pyvisa.util.LibraryPath.arch now returns a list of pyvisa.util.ArchitectureType
enum values representing architectures the binary was compiled forp.u.LibraryPath.is_32bit, p.u.LibraryPath.is_64bit, and p.u.LibraryPath.bitness
have been removedp.u.get_shared_library_arch now returns p.u.PEMachineType instead of a stringp.u.get_arch now returns a list of p.u.ArchitectureTypeResource context manager type annotation to preserve derived type PR #740sim backend
with pyvisa-shell. PR #774add official support for Python 3.11 and drop support for Python 3.7
However this introduces a minor backward incompatibility when parsing IEEE header. The data length for
import visa should be replaced by import pyvisa as visa and usage of
python -m visa info by pyvisa-info and python -m visa shell by pyvisa-shellfix minor typos in deprecation warning for GPIB resources
1.11.2 was skipped due to an issue in the MANIFEST file.
deprecate methods that were mistakenly added to GPIB::INSTR resources PR #560
…there is no way to do it properly). This is a breaking change and if your code is affected you can revert to the old behavior by setting the environme…
PyVISA 1.11 introduces a small backward incompatibility in the handling of the arguments to handlers for VISA events. The old system was tightly linked to the ctwrapper and not really usable as it was. As a consequence we pass the contents of the ctypes objects to the handler rather than the bare ctypes object (with the exception of the user handle for which there is no way to do it properly). This is a breaking change and if your code is affected you can revert to the old behavior by setting the environment variable PYVISA_WRAP_HANDLER=0 or set ctwrapper.WRAP_HANDLER to False but please consider updating to the new behavior.
PyVISA 1.11 also removes deprecated functions and attributes that were supposed to be removed in 1.10:
ask: use query instead
ask_delay: use query_delay
ask_for_values: use either query_ascii_values or query_binary_values as relevant
write_values: use either write_ascii_values or write_binary_values as relevant
read_values: use either read_ascii_values or read_binary_values as relevant
query_values: use either query_ascii_values or query_binary_values as relevant
values_format: has no equivalent simply pass the proper argument to either
the ascii or binary variant of the function (read_xxxx_values, write_xxxx_values,
query_xxxx_values)
Add support for "s" and "p" binary format which can be used to retrieve binary files from instruments. PR #536
Convert the testsuite to use pytest PR #531 This is motivated by the possibility to re-use it in PyVISA-py. However since unittest use inheritance to detect tests, doing so would have been clunky, pytest name base detection works better for that purpose.
Setup Azure pipelines for self-hosted runner using Keysight tools to run an extended set of tests. PR #531
Introduce an enumeration for special VISA timeout values PR #531
Provide VisaLibraryBase.handle_return_value to ease the handling of return values in alternative backends PR #525
Transition to using dataclasses for resource name PR #525 This is NOT fully backward compatible if you used to index the resource name
Allow alternative backends to use an _ instead of a - in their name PR #525
Add Event class to provide a nice interface to VISA events PR #511
Add wrap_handler to provide a nicer way to write event handler PR #511
Add wrapper classes for events PR #511
Add typing to the entire codebase PR #511
Use black and isort on the code to homogenize style PR #511
Convert docstrings to use numpy formatting PR #511
Explicitly set attributes on resources to make the code more readable PR #511
Make MessageBasedResource.read_bytes break on message end when
break_on_termchar is True PR #511
Add support for dll_extra_paths in .pyvisarc to provide a way to specify paths in which to look for dll on Windows and Python >= 3.8 PR #509
Drop Python 2 support PR #486
Limit support to Python 3.6+ PR #486
Improve the test suite and introduce tests relying on Keysight Virtual instrument software PR #486
Add badges to the README PR #486
Improve ResourceManager.list_opened_resource to list only open resources. Previously all resources created and not yet garbage collected were listed. PR #486
Always normalize resource names PR #486
Treat floating points number as double when parsing ASCII data blocks PR #486
Allow bound methods as handler function (the use of is in tests prevented it) PR #486
Deprecate some unused functions found in the util.py module PR #486
Warn or raise if the beginning of a binary block is not found among the first characters. The default value is 25. PR #486
Make the library less biased towards National Instrument by referring to IVI where relevant. In particular rename the @ni backend to @ivi PR #456
Deprecate the visa module that is causing issue with the VISA payment
processing package PR #448
Fix reading binary values with an empty header PR #454
delay kwarg from read_ascii_values which should never have been there PR #454usb_control_out -> control_out. warnings for deprecated usb_control_out PR #353
constants module unique.
Fixed duplicate enums in StatusCode PR #371Add expect_termination argument to read_binary_values and query_binary_values. This allows to retain the behavior of these methods from pyvisa 1.8, wh
deprecate old methods in MessageBased (ask, read_values, query_values, write_values, ask_delay) (PR #301)
Fixed error reporting with Unicode filenames. (Issue #136)
Removed find_next and find_resources from VisaLibraryBase. (Issue also #135, thanks)
Added support to Rhode and Schwartz Passport driver. (Issue #115)
Proper handling of VI_ERROR_RSRC_NFOUND.
Add ignore_warning methods to Resource and ResourceManager.
13 Resource Classes covering all resource types.
Python 3.2+ compatibility. (Issue #32)
- add coverage - add tox testing
Made determination of resource class even more careful.
Changed some __getattr__ to getattr in order to have working exceptions again (e.g. timeouts) in vpp43
Mentioned possible AttributeError with viParseRsrcEx.
New properties of SerialInstrument explained.
Renamed TypeError to VisaTypeError.
Added filename selection for VISA DLL with Windows in vpp43.py.
One column per quarter.