HPF Demo with two 2- D outputs , one 1- D output and a temporal 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:

  1. 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.
  2. 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.

  3. Click on HPFnewgauss_new and move the mouse cursor into the editor frame, click again there to place the module.
  4. Click on the ConnectScivis module and perform the same step.
  5. Click on the ConnectScivis module again and perform the same step.
  6. Click on the ConnectFilter module repeat thwe above procedure.
  7. The filter module namely plotfiltertm is stored in the image branch of the tree. You should see an applet with a scrollbar pop up .
  8. Repeat the same step as above by clicking and placing the plotfiltertm module on the editor frame.
  9. The SciVis modules are stored in the SciVis branch of the tree. Click on the SciVis_2D module and place it on the screen .
  10. 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
  11. 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 .
  12. 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 .
  13. 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.
  14. 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.
  15. 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 plotfiltertm module.
  16. Connect the free port of the plotfiltertm module to the port of the SciVis_1D module.
  17. Press run button on the Control Panel to run the module.
  18. You should see the SciVis windows popping up.
  19. Try moving the scrollbar to see changes in the 1-D data.
  20. The computation stops after sometime and you can see the data in 3 SciVis windows .
  21. 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 :