Skip to main content

VISA or Socket Communication Module for Rohde & Schwarz Instruments

Project description

RsInstrument module provides convenient way of communicating with R&S instruments.

Check out the full documentation here: https://rsinstrument.readthedocs.io/

Examples: https://github.com/Rohde-Schwarz/Examples/tree/main/GeneralExamples/Python/RsInstrument

Version history:

Version 1.13.0.63 (09.06.2021)
    - added methods reconnect(), is_connection_active()

Version 1.12.1.60 (01.06.2021)
    - Fixed bug with error checking when events are defined

Version 1.12.0.58 (03.05.2021)
    - Changes in Core only

Version 1.11.0.57 (18.04.2021)
    - Added aliases for the write_str... and query_str... methods:
    - write() = write_str()
    - query() = query_str()
    - write_with_opc() = write_str_with_opc()
    - query_with_opc() = query_str_with_opc()

Version 1.9.1.54 (20.01.2021)
    - query_opc() got additional non-mandatory parameter 'timeout'
    - Code changes only relevant for the auto-generated drivers

Version 1.9.0.52 (29.11.2020)
    - Added Thread-locking for sessions. Related new methods: get_lock(), assign_lock(), clear_lock()
    - Added read-only property 'resource_name'

Version 1.8.4.49 (13.11.2020)
    - Changed Authors and copyright
    - Code changes only relevant for the auto-generated drivers
    - Extended Conversions method str_to_str_list() by parameter 'clear_one_empty_item' with default value False

Version 1.8.3.46 (09.11.2020)
    - Fixed parsing of the instrument errors when an error message contains two double quotes

Version 1.8.2.45 (21.10.2020)
    - Code changes only relevant for the auto-generated drivers
    - Added 'UND' to the list of float numbers that are represented as NaN

Version 1.8.1.41 (11.10.2020)
    - Fixed Python 3.8.5+ warnings
    - Extended documentation, added offline installer
    - Filled package's __init__ file with the exposed API. This simplifies the import statement

Version 1.7.0.37 (01.10.2020)
	- Replaced 'import visa' with 'import pyvisa' to remove Python 3.8 pyvisa warnings
	- Added option to set the termination characters for reading and writing. Until now, it was fixed to '\\n' (Linefeed). Set it in the constructor 'options' string: DriverSetup=(TerminationCharacter = '\\r'). Default value is still '\\n'
	- Added static method RsInstrument.assert_minimum_version() raising assertion exception if the RsInstrument version does not fulfill at minimum the entered version
	- Added 'Hameg' to the list of supported instruments

Version 1.6.0.32 (21.09.2020)
	- Added documentation on readthedocs.org
	- Code changes only relevant for the auto-generated drivers

Version 1.5.0.30 (17.09.2020)
	- Added recognition of RsVisa library location for linux when using options string 'SelectVisa=rs'
	- Fixed bug in reading binary data 16 bit

Version 1.4.0.29 (04.09.2020)
	- Fixed error for instruments that do not support \*OPT? query

Version 1.3.0.28 (18.08.2020)
	- Implemented SocketIO plugin which allows the remote-control without any VISA installation
	- Implemented finding resources as a static method of the RsInstrument class

Version 1.2.0.25 (03.08.2020)
	- Fixed reading of long strings for NRP-Zxx sessions

Version 1.1.0.24 (16.06.2020)
	- Fixed simulation mode switching
	- Added Repeated capability

Version 1.0.0.21
	- First released version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RsInstrument-1.13.0.63.tar.gz (63.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RsInstrument-1.13.0.63-py3-none-any.whl (78.1 kB view details)

Uploaded Python 3

File details

Details for the file RsInstrument-1.13.0.63.tar.gz.

File metadata

  • Download URL: RsInstrument-1.13.0.63.tar.gz
  • Upload date:
  • Size: 63.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for RsInstrument-1.13.0.63.tar.gz
Algorithm Hash digest
SHA256 e7f065f0af4cadb8b2133495be32b236430faf0b930ee271de9d6fd19e5785d4
MD5 e5f9db9d86993c89adc2389edb670e69
BLAKE2b-256 36ed566151ad7e27464c5e50386714ac142c05866e0184fbef1feb917312e241

See more details on using hashes here.

File details

Details for the file RsInstrument-1.13.0.63-py3-none-any.whl.

File metadata

  • Download URL: RsInstrument-1.13.0.63-py3-none-any.whl
  • Upload date:
  • Size: 78.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0

File hashes

Hashes for RsInstrument-1.13.0.63-py3-none-any.whl
Algorithm Hash digest
SHA256 a02b71cab299c5ce2f8ff6e380b10e51d6dfddb60bcfd2c7ef5654ce4bef83fd
MD5 abd7a1214097f99dd0dd4b95b7a6b950
BLAKE2b-256 aae9d1ce8897d263f4769ee63c858199c8ec5d57c78250474158e283f5418b00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page