Wednesday, 19 October 2011

Graphical User Interface and RESTful server Consumption

The graphical user interface for the mobile application has been virtually completed.A logo was designed from scratch and buttons with non-copyrighted sounds created.


A Screenshot of the app sample run:        
                                                         1)Main page
                                                           2)Experiment selection page

2)REST server consumption
So far, we have been able to get the results of a pre-run simulation, extract just, the Y outputs (which we intend to focus on) and display them. This was done using a synchronous read method, which is noticeably slow. We are working on improving performance by reading asynchronously, the code has been written but is still "bug-ridden".
The next step would be to start a new simulation from scratch.We now have an account in the REST server, which will be used to start simulations.
Below is the result of a sample synchronous run from the results of the fire model simulation done by Khaldoon.

From these results, it is possible to visualize the simulation using the windows phone 7 Xna framework.We are still learning how to do that.

Asynchronous download and read of results has been done. We are now working on determining which model(synchronous or  asynchronous) affords the best performance, in terms of function execution time.
20 October 11: After intensive testing, i have determined the synchronous method to be the faster one for our application.I will leave the asynchronous code in the project solution in case we need it in the future.

-Milton and Lee

Oct 19,2011: Visualization of simulation results and running a simulation

 Hello there. Our names are Mr. Lee Simbeye and Mr. Milton Johane. We are working on a project which involves adding simulation to a Microsoft Windows Phone 7.
 At this point, we are trying to visualize the simulation results on the phone using provided log files  and at the same time trying to run a successful simulation via Windows Phone 7 using models provided.