next up previous print clean
Next: Using IPE Up: Cole: Interactive processing Previous: Introduction

IPE

Recently I realized that with a modest amount of effort by one person (me), we could make all our existing batch software interactive. We already know how to display results in real-time on workstation screens using vplot. What is missing is a way to interactively modify program parameters, and see the results change as we changed parameter values. I decided to provide the missing piece, a program that would let the user modify parameters interactively, then call existing software to run the job and display the results. I've called this intermediary IPE, which is short for Interactive Processing Environment.

Jean-Claude Dulac worked on this problem while he was at SEP, and wrote an interactive user interface manager called SepView (Dulac, 1988). IPE is more limited in scope than SepView, but I think its simplicity is its strength. It is easier to use or get inside of than SepView. No programming is required to use IPE or add new programs to its repertoire. Still, SepView has many nice features that IPE lacks. After I've explained IPE and how it works, I'll contrast it with SepView more carefully, and see what features of SepView can and should be incorporated into IPE in the future.

I've said that IPE is interactive, but I should qualify that statement a little. In a ``truly'' interactive program, if I change a parameter (for instance, if I modify the value in a text field or move a slider), the display is instantly updated where necessary to reflect the change. IPE is a bit more awkward. After modifying the slider or text field, I have to go and press the DOIT button Then my entire plot, not just the necessary pieces, is erased and redrawn. For this reason I would say that IPE isn't ``truly'' interactive. But it comes very close, for many different programs, at essentially no cost.

I wrote a first version of IPE a couple months ago, using Sunview, an interactive package for Sun workstations that has been around for several years. Early this year, along with a new release of X Windows from MIT came the XView toolkit, written by Sun and in many ways similar to Sunview. I converted IPE to XView, and now we have the advantage of being able to run it on all our machines - Convex, Sun, and DEC - rather than just one. Programmers familiar with Sunview will find the transition to XView relatively painless. Sun provides utilities that will do much (but not all) of the work to convert source code from Sunview to XView.



 
next up previous print clean
Next: Using IPE Up: Cole: Interactive processing Previous: Introduction
Stanford Exploration Project
1/13/1998