HPF Demo with two 2- D outputs , one 1- D output and a spatial filter
After the WebFlow Editor applet finished loading, you should see four
frames: base editor frame (with a rectangular grid), pallete frame (with a
module tree), control frame (with create, run and
destroy checkboxes) and a properties frame (with Apply,Revert and
Close).You can close the Properties frame. It is not being used
currently.
To run HPF demo, follow the steps below:
- Create a HPF module using the HPF applet and save the configuration file.
Wait till the configuration file is saved. Also check that the SciVis server
is up and running.
- After the configuration file is saved, press the
refresh modules button on the Palette. Wait for the module tree to be
reloaded. The instrumented HPF module will stored in the HPF branch of
the tree. The HPF module will be given a name HPFProjNameConfigfileName . SO you would have HPFnew_gaussnew as a module with where newgauss is the project file name and new is the config file name to run the HPF demo. Also colours on the ports represent
data being passed though the port.
Red color: One Dimensional data.
Blue color: Two Dimensional data. Green color: Three
Dimensional data.
- Click on HPFnewgauss_new and move the mouse cursor into
the editor frame, click again there to place the module.
- Click on the
ConnectScivis module and perform the same step.
- Click on the
ConnectScivis module again and perform the same step.
- Click on
the ConnectFilter module repeat thwe above procedure.
- The filter
module namely plotfiltersp is stored in the image branch of the tree.
You should see an applet with a scrollbar pop up .
- Repeat the same step
as above by clicking and placing the plotfiltersp module on the editor frame.
- The SciVis modules are stored in the SciVis branch of the tree. Click on
the SciVis_2D module and place it on the screen .
- A frame
might pop up asking you for the SciVis host and port num. Fill in the
appropriate values , namely the host and port where SciVis server is running.
IF nothing pops up , dont worry it knows where the SciVis server is because
it reads from a configuration file SciVis.config stored in the JavaWebServer
main dir. Also Be sure that the SciVis.config file contains the name of the host on which SciVis running
- Repeat the previous step to get one more SciVis_2D
module. You might see a frame again. Repeat the same step of filling essential data .
- Click on the
SciVis_1D module and place it in the editor frame.You might see a
frame again. Repeat the same step of filling essential data .
- Now onto connecting the modules. First
and foremost remeber thegreen ports on the HPF module always connect
to Connect SciVis module so click on the green pin of the HPF module
and drag the mouse towards the port pin of the Connect SciVis module
(this way you draw a connection line), and then release the mouse button
(when the line connects both ports) to instantiate the connection. Similarly
connect the other Connect SciVis module to the other green port pin of
the HPF module You should get both connections represented as blue
reclinear curves.
- Connect the other port of the ConnectSciVis module to
the port of the SciVis_2D. Repeat
the same for the other ConnectScivis module and SciVis_2D.
- Now in the same way as above connect the red port of the
HPF module to one port of the ConnectFilter module. Connect
the other port of the ConnectFilter module to one port of the
plotfiltersp module.
- Connect the free port of the
plotfiltersp module to the port of the SciVis_1D module.
- Press
run button on the Control Panel to run the module.
- You should see
the SciVis windows popping up.
- Try moving the scrollbar to see changes
in the 1-D data.
- The computation stops after sometime and you can see
the data in 3 SciVis windows .
- Press destroy button on the Control
Panel. All popup frames should disappear and the editor frame should be
cleared. You can now edit another graph and run it or just go to some other
page in your browser. Problems that can be encountered
- To run
the HPF modules , the following two servers have to be up. osprey2:8080 and
osprey4:8080. Osprey2 server basically has a servlet called Create which
creates the modules dynamically. Osprey4 holds all the modules.
- Check
modules.txt , if there are any blank lines in between problems occur. Also if
there are two modules with the same name, this happens if you run the same
config file twice. Remove the extra modulesfrom modules.txt. You hacve read
write permissions on osprey4 to it. Got the foll dir to make changes in
modules.txt ~girishp/webflow/JavaServer../public_html/webflow . If you get
any exceptions in the java console , check the modules.txt.
Click here to run the demo on a
remote server
The output of this demo should look like this :