Skip to main content

Python VXI-11 Readme

IMPORTANT: this is a fork of python-vxi11 package which is not maintained anymore. It was modified to support Python>=3.13, removed compatibility with Python 2 and modernized the packaging a little bit.

For more information and updates: http://alexforencich.com/wiki/en/python-vxi11/start

GitHub repository: https://github.com/python-ivi/python-vxi11

Google group: https://groups.google.com/d/forum/python-ivi

Introduction

Python VXI-11 provides a pure Python VXI-11 driver for controlling instruments over Ethernet.

Requirements

  • Python 3.9 or newer
  • Python 3.13 and newer require the packaged py-xdrlib dependency

Installation

Extract and run

python -m pip install .

For development and tests, use:

.venv/bin/python -m pip install -e ".[test]"
.venv/bin/python -m pytest

Usage examples

Connecting to Agilent MSO7104A via LXI:

import vxi11
instr =  vxi11.Instrument("192.168.1.104")
print(instr.ask("*IDN?"))
# returns 'AGILENT TECHNOLOGIES,MSO7104A,MY********,06.16.0001'

Connecting to Agilent E3649A on GPIB address 5 via HP 2050A GPIB bridge:

import vxi11
instr = vxi11.Instrument("192.168.1.105", "gpib,5")
print(instr.ask("*IDN?"))
# returns 'Agilent Technologies,E3649A,0,1.4-5.0-1.0'

Connecting to Agilent MSO-X 3014A via USBTMC via Agilent E5810 GPIB bridge:

import vxi11
instr = vxi11.Instrument("192.168.1.201", "usb0[2391::6056::MY********::0]")
print(instr.ask("*IDN?"))
# returns 'AGILENT TECHNOLOGIES,MSO-X 3014A,MY********,02.35.2013061800'

It is also possible to connect with VISA resource strings like so:

import vxi11
instr =  vxi11.Instrument("TCPIP::192.168.1.104::INSTR")
print(instr.ask("*IDN?"))
# returns 'AGILENT TECHNOLOGIES,MSO7104A,MY********,06.16.0001'

and:

import vxi11
instr = vxi11.Instrument("TCPIP::192.168.1.105::gpib,5::INSTR")
print(instr.ask("*IDN?"))
# returns 'Agilent Technologies,E3649A,0,1.4-5.0-1.0'

and:

import vxi11
instr = vxi11.Instrument("TCPIP::192.168.1.201::usb0[2391::6056::MY********::0]::INSTR")
print(instr.ask("*IDN?"))
# returns 'AGILENT TECHNOLOGIES,MSO-X 3014A,MY********,02.35.2013061800'

Metadata

Release files for secbench-vxi11 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for secbench-vxi11 0.10.1
File Size Uploaded
secbench_vxi11-0.10.1.tar.gz 22.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for secbench-vxi11 0.10.1
File Interpreter ABI Platform
secbench_vxi11-0.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / secbench_vxi11-0.10.1.tar.gz

Download URL secbench_vxi11-0.10.1.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e29295f0070f73029fb649787b5f6419e277c728fbaa27a95689e3c0bc78bad1
BLAKE2b-256 checksum
How to use checksums
f93e60f5e23d3911303e629b90e6b5828fdac12642c984d72b2a13e4fad6ccd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / secbench_vxi11-0.10.1-py3-none-any.whl

Download URL secbench_vxi11-0.10.1-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a39264336388c137930e2c98da3a0d2d901450dc753b0a3e77387bec5cf0355c
BLAKE2b-256 checksum
How to use checksums
3ee9f9d5427d81373058bbea26469bcf712fbaf1024afd54c81f5d6b175cd120
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.10.1 This release

2 release files

0.10

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page