Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2009-02-23 02:22:10
Size: 1217
Editor: YoichiAso
Comment:
Revision 5 as of 2009-02-23 02:35:13
Size: 2357
Editor: YoichiAso
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
||resetSR785.py||Remotely reset an SR785.||

Here is the list of modules provided by the package.

||Module name||Description||
||netgpib.py||Provide a class to access a network-GPIB converter.||
||gpibplot.py||Provide parsing of the parameter files and plot functions.||
||SR785.py ||A module containing SR785 specific functions for downloading data.||
||AG4395A.py||A module containing AG4395A specific functions for downloading data.||
||termstatus.py||A small utility class for showing status information on a terminal.||

=== Installation ===
If you want to install the package in your computer, just copy or check-out the `netgpibdata` directory into somewhere.
You may want to add this directory to your $PATH environmental variable.
Of course you need to have [http://www.python.org/ python] installed in your system. The minimum version of python confirmed to work is v2.4.
If you want to plot the downloaded data, you need [http://matplotlib.sourceforge.net/ matplotlib] and [http://numpy.scipy.org/ numpy] modules installed.
In most cases, these modules are available from your distribution's package system.
 

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.

resetSR785.py

Remotely reset an SR785.

Here is the list of modules provided by the package.

Module name

Description

netgpib.py

Provide a class to access a network-GPIB converter.

gpibplot.py

Provide parsing of the parameter files and plot functions.

SR785.py

A module containing SR785 specific functions for downloading data.

AG4395A.py

A module containing AG4395A specific functions for downloading data.

termstatus.py

A small utility class for showing status information on a terminal.

Installation

If you want to install the package in your computer, just copy or check-out the netgpibdata directory into somewhere. You may want to add this directory to your $PATH environmental variable. Of course you need to have [http://www.python.org/ python] installed in your system. The minimum version of python confirmed to work is v2.4. If you want to plot the downloaded data, you need [http://matplotlib.sourceforge.net/ matplotlib] and [http://numpy.scipy.org/ numpy] modules installed. In most cases, these modules are available from your distribution's package system.

netGPIB (last edited 2019-07-30 23:05:51 by NathanhollandATligoDOTorg)