Pyvisa

Latest version: v1.14.1

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

Scan your dependencies

Page 1 of 6

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

1.11.1

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

- deprecate methods that were mistakenly added to GPIB::INSTR resources PR 560
- fix the listing of available backends (Also not that we now return the backend
name as can be used to create a ResourceManger) PR 545
- allow a None value for the board value of a ResourceInfo PR 547
This allows for funky resource name such ASRL/dev/tty0::INSTR which are common
in pyvisa-py and avoid returning a completely generic resource in those cases.
- documentation improvements for pyvisa.resources.SerialInstrument PR 558

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.