Writing /var/www/alexforencich.com/wiki/data/cache/2/2ac126e79538110d3f7d314b8c9383c3.metadata failed
Writing /var/www/alexforencich.com/wiki/data/cache/8/82c271370227209391fb4cd3f1fd6ef3.xhtml failed

This is an old revision of the document!


Python USBTMC Readme

Introduction

Python USBTMC provides a pure Python USBTMC driver for controlling instruments over USB.

Installation

Extract and run

  # python setup.py install

Usage examples

Connecting to Agilent MSO7104A via USBTMC:

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