added doc (almost empty) files

Tue, 19 Aug 2008 22:21:44 +0200

author
David Douard <david.douard@logilab.fr>
date
Tue, 19 Aug 2008 22:21:44 +0200
changeset 63
1c0d92f95115
parent 62
486a480d196b
child 64
624157f78b77

added doc (almost empty) files

README file | annotate | diff | comparison | revisions
doc/developer_manual.rst file | annotate | diff | comparison | revisions
doc/introduction.rst file | annotate | diff | comparison | revisions
pygpibtoolkit/gpib_utils.py file | annotate | diff | comparison | revisions
pygpibtoolkit/gpibcontroller.py file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README	Tue Aug 19 22:21:44 2008 +0200
@@ -0,0 +1,12 @@
+pygpibtoolkit is (c) 2007-2008 David Douard and is available under the GNU Public Licence.
+
+You can get information on Projman on
+http://www.logilab.org/project/pygpibtoolkit
+
+See `doc/introduction.rst` for a quick overview.
+
+If you have any questions, please mail david.douard@logilab.fr
+for support.
+
+David Douard
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/developer_manual.rst	Tue Aug 19 22:21:44 2008 +0200
@@ -0,0 +1,15 @@
+.. -*- coding: utf-8 -*-
+
+=============
+ Description
+=============
+
+The code is organized as follow:
+
+``pygpibtoolkit`` is the main python package directory, holding
+generic GPIB stuffs. A GPIB controller is a class responsible for
+managing the communication with the GPIB device plugged in the
+computer. For now, the only GPIB controller is the Prologix one,
+defined in the ``pygpibtoolkit.prologix`` module.
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/introduction.rst	Tue Aug 19 22:21:44 2008 +0200
@@ -0,0 +1,46 @@
+.. -*- coding: utf-8 -*-
+
+==============
+ Presentation
+==============
+
+pygpibtoolkit_ is a Python_ toolkit for talking with GPIB devices. It consist
+in a set of python modules (low-level and some more high-level) in
+order to ease writing python code to play with GPIB devices.
+There are also some utility commands written using this library.
+
+The aim of the project is to have an infrastructure that make it easy
+to write code to command/interact with GPIB-controlled devices, and,
+as a corrolary, make it easy to write "description" code for specific
+test equipments.
+
+Features
+========
+
+- Control GPIB devices using cheap Prologix_ USB-GPIB devices using a
+  "high" level API; some other GPIB backends could be implemented, but
+  I for now only have a Prologix USB bundle...
+
+- A simple (and incomplete) GPIB plotter is available. 
+
+- Infrastructure to "easily" create description of a specific test
+  equipment.
+
+Known test equipment
+====================
+
+For now, the following test equipment have been (partially)
+implemented:
+
+- HP 3562A/3563A Dynamic Signal Analyzer
+- Simple GPIB plotter
+
+The devices I should implement soon (well, ASAP):
+
+- HP 8904A Signal Synthetizer
+- HP ???? Meter
+
+
+.. _pygpibtoolkit: http://www.logilab.org/pygpibtoolkit
+.. _Prologix: http://www.prologix.com
+.. _Python: http://www.python.org
--- a/pygpibtoolkit/gpib_utils.py	Tue Aug 19 19:09:28 2008 +0200
+++ b/pygpibtoolkit/gpib_utils.py	Tue Aug 19 22:21:44 2008 +0200
@@ -1,6 +1,6 @@
-#
+# -*- coding: utf-8 -*-
 """
-Several untity functions for GPIB data conversions
+Several utility functions for GPIB data conversions
 """
 import struct
 import re
@@ -43,7 +43,7 @@
     return r
 
 ###
-# Datavlock useful functions
+# Datablock useful functions
 def format_datablock_header(header, head_struct, columns=80):
     """
     Pretty print a data block (trace, state or coord) 
--- a/pygpibtoolkit/gpibcontroller.py	Tue Aug 19 19:09:28 2008 +0200
+++ b/pygpibtoolkit/gpibcontroller.py	Tue Aug 19 22:21:44 2008 +0200
@@ -264,7 +264,7 @@
             return devicemgr
         else:
             print "can't find a manager for", repr(idn)
-            print  deviceRegister._registry
+            print deviceRegister._registry
 
     def idn(self, address):
         """

mercurial