bin/read_state

Mon, 25 Feb 2008 18:38:27 +0100

author
David Douard <david.douard@logilab.fr>
date
Mon, 25 Feb 2008 18:38:27 +0100
changeset 53
8e32c806fcdd
parent 40
1bbea188a7e5
permissions
-rwxr-xr-x

Major refactoring in progress. Build the toolkit around a GPIB controller which have a communication thread with the devices. Every device is an instance of a class that describes the device model and registers itself to the controller.

#!/usr/bin/python

import sys, os
try:
    from pygpibtoolkit.HP3562A.state_decoder import main
except ImportError:
    sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
    from pygpibtoolkit.HP3562A.state_decoder import main
main()

mercurial