Started Report

Today we started writing the project report. We started putting whatever we could find relevent in a document and planned to trim it off later. We planned the size of the report to about 35 pages.

We also discussed the front end of the applet.

Today Tushar came in the evening and Nitin spent the evening with him.

Going Ahead

Today was a big day. We achieved direct plotting of data from the MySQL database to the applet at a rate of about 4000 samples/s.

Read more

Plan B

Today we went back to work. Mr. Pandit had told the professor that we had gone to Lamington Road to look for RAM in the torrential rain. We suggested a solution for solving the RDS network solver he had asked us.

We were facing problems in implementing the queues and they also were inefficient, so we decided to implement direct streaming of data from the database.

Relaxing

Today we did nothing. We were fed up, it was raining like hell and we were all aleepy. We got up in the evening. We watched Being Cyrus and Kung fu Hustle in the night. Both were too good.

Planning Ahead

Today we formed an idea about how to proceed in the project. We planned on using queues as internal buffers for plotting the data. We also decided on running two threads in Java. One thread would handle the queue and the other would take care of plotting the values.

We also used the drawLine() function in Java for joining the points to make the graph look continuous. We studied threads more.

We realised that the 256MB RAM wasn’t sufficient for our projec. We watched Fanaa in the night.

Stuck

Now we had a major task in hand, to query MySQL from the applet through the servlet. This took us the whole day to work out. We also read about threads and how to manipulate them.

Report Presentation

We had to give a presentation on our project to Prof. T. S. Rathore, about what we had achieved and what we planned to achieve further in our project. He saw everyone’s presentations and didn’t comment much on our presentation.

We also played with the C code introducing a sleep to reduce the processor load. The code took about 20s instead of the usual 10s. The reason for today’s small blog is we spent yesterday night watching Aladdin and Swordfish.

Playing Around

We realised the transfer of data through php and JavaScript made the process of plotting too slow, giving a plotting rate of only 1 frame/s. We had to take a different path, so we decided to use a Java Servlet. The applet was allowed to interact with the servlet through the sandbox. The servlet interacted with the MySQL databse. The implication of this was that we could achieve frame rates of upto 20 frames/s as the Tomcat server was fast. We decided this today and made a Java applet accept a string variable parameter from the servlet.

Project at IIT Bombay

Guess what…
I am currently doing a project in IIT Bomabay. Can’t believe it myself.

(And I googled out the topic PC Based Oscilloscope to select it. !!!!!!!!)

And we are even maintaining a blog on the project. Well…. what can you say?

Sunlab

Last Row of the SUN lab
Here’s a great blog to keep yourself updated about the last row of SUN lab!! ;)