Writing /var/www/alexforencich.com/wiki/data/cache/1/1096602977c2d6e15bba4aba5ed5ee52.metadata failed
Writing /var/www/alexforencich.com/wiki/data/cache/8/82c271370227209391fb4cd3f1fd6ef3.xhtml failed

This is an old revision of the document!


Python VXI-11 Readme

Introduction

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

Installation

Extract and run

# python setup.py install

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 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'