Pyvisa

Latest version: v1.15.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

1.15.0

-------------------
- make `pyvisa-shell` and `pyvisa-info` handle arguments independently PR 859
- add support for Python 3.13 PR 852
- drop support for Python 3.8 and 3.9 PR 852
- add a -v option to pyvisa-shell to increase log verbosity and set default to WARN PR 816
- added support for an optional monitoring interface object to the read_binary_values() and
query_binary_values() methods of message-based resources.
- added the message_size() helper function to calculate the estimated size of a data
transfer, including the header.
- prevent adding duplicate paths to the DLL search path during ResourceManager
instantiation 811
- set 4.0.0 as the lower bound for `typing_extensions` PR 866
- list VICP resources in the appropriates attributes PR 878
- add support for Prologix GPIB adapters (both USB and ethernet) PR 887

1.14.1

-------------------
- fix handling of missing board number for VICP resources PR 787

1.14.0

-------------------
- fix ctypes truncated pointers on 64-bit for ViBusAddress, ViBusSize, ViAttrState PR 725
- fix read_termination_context does not allow None PR 727
- replace `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 for
- `p.u.LibraryPath.is_32bit`, `p.u.LibraryPath.is_64bit`, and `p.u.LibraryPath.bitness`
have been removed
- `p.u.get_shared_library_arch` now returns `p.u.PEMachineType` instead of a string
- `p.u.get_arch` now returns a list of `p.u.ArchitectureType`
- update `Resource` context manager type annotation to preserve derived type PR 740
- added support for using custom simulation files when using the `sim` backend
with `pyvisa-shell`. PR 774

1.13.0

-------------------

- add official support for Python 3.11 and drop support for Python 3.7
- add support for VICP resource names PR 699
NOTE: the interface type enum value for VICP is unknown. No documentation was
found and tests using the VICP passport were not conclusive. If somebody figures
out the right value it would be great
- numerous bug fixes related to VISA attributes PR 697
This included fixing several typos, uncommenting the
AttrVI_ATTR_INTF_PARENT_NUM class, and adding in the
AttrVI_ATTR_RM_SESSION class,

1.12.0

-------------------

- remove deprecated feature planned for removal PR 600
This include the visa.py module. `
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-shell`
- optimize write_binary_values when passing in bytes, bytearray or numpy arrays PR 668
We avoid going through the struct module which can cause large memory overheads.
- fix collection of debug info on the ctypes wrapper PR 598
- allow an IEEE binary block or an HP block to be empty PR 581
This is more correct and can affect real instruments. However this introduces
a minor backward incompatibility when parsing IEEE header. The data length for
0 is now reported to be -1 instead of 0 since 0 corresponds to 10.
This changes should affect a minority of user and does not change the behavior for
instrument returning 0 (only the value of data_length as returned by
parse_ieee_block_header is affected and functions using it have been adapted).
- allow trailing separators in ascii blocks PR 581
Numpy style extraction already handled this case correctly but it was not so
for the builtin parser.
- adding open_resource attribute check for VisaLibraryBase in order to support
custom resource opening 660
- changed constant ControlFlow enum type from IntEnum to IntFlag PR652
This change also triggers a change in attributes.py to include a new Attribute
class, FlagAttribute where the enum type is declared at IntFlag.
Class AttrVI_ATTR_ASRL_FLOW_CNTRL now inherits from FlagAttribute.
Flow control attribute per ivi foundation definition is a flag and
multiple flow control types can be set.
- move all setup metadata to pyproject.toml PR 600
- remove duplicate call to the command loop after running pyvisa-shell PR 687

1.11.3

-------------------

1.11.2 was skipped due to an issue in the MANIFEST file.

- fix MANIFEST to exclude built docs
- fix minor typos in deprecation warning for GPIB resources
- generate some test files on the fly to avoid issue when building conda packages
- add official Python 3.9 support

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.