bin/qgpibplotter

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.

28
0a7270d439d0 added a start scrip & cleanups
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/python
35
3b7a38af5c42 Refactored the preference system for the qt gpib plotter app. One can now set the colors for plotting pens.
David Douard <david.douard@logilab.fr>
parents: 32
diff changeset
2 import sys, os
3b7a38af5c42 Refactored the preference system for the qt gpib plotter app. One can now set the colors for plotting pens.
David Douard <david.douard@logilab.fr>
parents: 32
diff changeset
3 try:
40
1bbea188a7e5 refactoring: moved everything of the library to a "pygpibtoolkit" module.
David Douard <david.douard@logilab.fr>
parents: 35
diff changeset
4 from pygpibtoolkit.plotter.qgpib_plotter import main
35
3b7a38af5c42 Refactored the preference system for the qt gpib plotter app. One can now set the colors for plotting pens.
David Douard <david.douard@logilab.fr>
parents: 32
diff changeset
5 except ImportError:
3b7a38af5c42 Refactored the preference system for the qt gpib plotter app. One can now set the colors for plotting pens.
David Douard <david.douard@logilab.fr>
parents: 32
diff changeset
6 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: 35
diff changeset
7 from pygpibtoolkit.plotter.qgpib_plotter import main
28
0a7270d439d0 added a start scrip & cleanups
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 main()

mercurial