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.
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.
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.
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.
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?
Last Row of the SUN lab
Here’s a great blog to keep yourself updated about the last row of SUN lab!! ;)
These are just some of the initial images ;) …
For the first time we saw values change in the monitor with us changing a knob in our hands!!! (instantaneously)
We plotted the graph of the actual and observed readings.. IT WAS BEAUTIFUL!!!
We made a prog for querying C with MySQL and integrated it with PARAPIN.
Mr. Pandit told us to ponder more on the diode circuit problem he gave us.
The following approaches are available for giving the data to the JAVA-APPLET:
- To digitally sign the java applet to allow it make connections to other hosts.
- To use the tomcat server to make the MySql queries for the applet and ask the applet to connect to tomcat server on port no 80. (The applet is allowed to make connection only to port it was called from.)
- The 3rd approach.. (My original approach :)
To use AJAX to update the data on the client!!
The APPLET tag on the webpage has a parameter named PARAM.
My theory is -Sahil
Today we successfully interfaced parallel port buffer through C.
We started the day late as usual.Vidyadhar Kamble, who was to give us lab equipments had gone on leave and was supposed to return on the next Monday. Then the lab was in hands of Vinod who was quite (damn) unhelpful and refused(!!!) to give us equipments till Vidyadhar returned. So, we went back to our lab and asked Mr. Pandit for help. He pulled out a couple of boxes and arranged for resistors, capacitors, LED’s and gave us a CRO, signal generator and power supply. The fat guy (IIT final year placed in INTEL doing his final year proj.) had taken all of our earlier equipment and wasn’t even working on it.
We then went to Prof. M. B. Patil and got three ADC’s from WEL. The WEL lab in charge was Mr. Joshi who was most helpful and gave us a book to photocopy about interfacing the ADC804’s and the much needed single strand wires. We soldered PP connector to single strand wires and connected it to the buffer IC. We tested the ckt and it worked like magic. Our only point of concern was the 40mA current taken by the buffer which increased sometimes on connecting to the computer.
Moreover we also made a Tomcat 5 server servlet query a MySQL database.