PreEScope1: A simple GUI for PreEScope0
This is a revision of PreEScope0 which adds a GUI on top of the functionality of
PreEScope0.
Menu items in the main frame allow a user to
- connect to a MDSplus server. The default server and port is localhost
and 8000, i.e. a MDSplus data server running locally on port 8000 (the
default configuration)
- open an experiment and shot. The default experiment and port is edam
and 17615, respectively. They correspond to a database which is provided
by the installer.
- request a data set (download the X and Y arrays). The default signal name is signals.pb.pbmc01_im,
which corresponds to an available signal in the edam database.
- plot the data
- disconnect from the server
- quit
To exercise this program the following steps are required:
- If not already running, start a MDSplus data server. On windows, click on start->programs->MDSplus->MDSDataserver.
On Linux, run script start_mdsip.
- Change directory in <source root>/preescopes/preescope1,
where <source root> is the directory where you copied the source
directory in the CD.
- Include the current directory in your CLASSPATH environmante variable. On Windows this
can be done by changing the CLASSPATH definition in Control Panel/System setting, or by
the command
set CLASSPATH=.;%CLASSPATH%
On Linux (bash shell) this can be done by the command
export CLASSPATH=.:$CLASSPATH
- Compile the java source files with the command
javac *.java
- Run the program with no arguments.
java PreEScope1
View Source