Fourth Annual USENIX Tcl/Tk Workshop, 1996
High Performance Graphic Display With Tcl/Tk
Darren Spruce
European Synchrotron Radiation Facility
Grenoble, France
Abstract
This paper describes how Tcl/Tk was used for the development of a high
speed updating graph display. Tcl is not reputed for its performance
and where real time graphics is required a purpose built `C' program
is necessary to cope with the speed. However Tcl/Tk along with the BLT
graph widget extension provide a useful set of tools for GUI building
and graph displays. This application shows how performance can be
built in to an interpreted environment so that the developer can
benefit from the high level of functionality offered by Tcl/Tk and BLT
and at the same time display a spectrum of 16000 points updating every
second. Although the application is designed to display data from a
Multi Channel Analyser (MCA), the technique can easily be adapted to
display other types of 2 column data.
View the full text of this paper in
ASCII (15,945 Bytes) and
POSTSCRIPT (290,939 Bytes) form.
To Become a USENIX Member, please see our
Membership Information.
|