netgpib package

A bunch of python modules and scripts for communicating with GPIB devices over TCP/IP networks are written. These files are collectively called netgpib package. This page explains the usage of the package.

Where is it ?

On the 40m martian machines, the package is installed in /cvs/cds/caltech/scripts/general/netgpibdata/. This directory is included in $PATH by default.

The latest version of the package is in the 40m svn repository ( https://nodus.ligo.caltech.edu:30889/svn/trunk/getgpibdata/netgpibdata/ ). Actually, /cvs/cds/caltech/scripts/general/netgpibdata/ is a working copy of the repository. So you can type svn up to synchronize the directory with the repository.

What can I do with it

Here is the list of commands included in the package.

Command

Description

netgpibdata.py

Download and save data from a GPIB device. Optionally, it can plot the downloaded data.

plotgpibdata.py

Plot the data downloaded by netgpibdata.py

TFSR785.py

Perform a transfer function measurement with an SR785. Then download the results from it.

SPSR785.py

Perform a spectral measurement with an SR785. Then download the results from it.