bin/read_state

Tue, 26 Aug 2008 23:22:38 +0200

author
David Douard <david.douard@logilab.fr>
date
Tue, 26 Aug 2008 23:22:38 +0200
changeset 76
baab64c18885
parent 40
1bbea188a7e5
permissions
-rwxr-xr-x

add ability to print a plot in qgpibplotter

14
07e2cbf140df several improvements; add an internal state reader
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/python
07e2cbf140df several improvements; add an internal state reader
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2
39
8becd52c2171 refactoring in progress
David Douard <david.douard@logilab.fr>
parents: 14
diff changeset
3 import sys, os
8becd52c2171 refactoring in progress
David Douard <david.douard@logilab.fr>
parents: 14
diff changeset
4 try:
40
1bbea188a7e5 refactoring: moved everything of the library to a "pygpibtoolkit" module.
David Douard <david.douard@logilab.fr>
parents: 39
diff changeset
5 from pygpibtoolkit.HP3562A.state_decoder import main
39
8becd52c2171 refactoring in progress
David Douard <david.douard@logilab.fr>
parents: 14
diff changeset
6 except ImportError:
8becd52c2171 refactoring in progress
David Douard <david.douard@logilab.fr>
parents: 14
diff changeset
7 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
40
1bbea188a7e5 refactoring: moved everything of the library to a "pygpibtoolkit" module.
David Douard <david.douard@logilab.fr>
parents: 39
diff changeset
8 from pygpibtoolkit.HP3562A.state_decoder import main
14
07e2cbf140df several improvements; add an internal state reader
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 main()

mercurial