Hi Ankita,
First, Than you for taking time and attempting to answer my query.
I am reading data at the rate of about 500ms. I can slow this down further, but then the application is worthless. It must monitor at a brisk rate. As far as processor usage goes, I don't think Web server or the application is taking a sizable chunk. The app is built with this in mind so when I am connecting over the Ethernet The next data acquisition doesn't take place for a second or two till the connection is established.
As part of the same application I have other forms of data on XY graph. These are transmitted fine and in almost real time. This is also acquired and processed data.
Another thing I have discovered since my last post is this - My app. is running in EST. I had some one log into the app over the net from CST. Well the Whole Strip chart time was off by One hour, the time difference + the delay I mentioned above. It seems the Strip chart that is run in the browser is pulling the time from the local Computer...!!
Here is my take on what is happening - See if you can shed some light on this.
My XY chart has 1024 points of Buffer History which roughly translates into 8.5 minutes of XY chart history. When I connect to this remotely, The server tries to send this data FIFO to the Client, point by point on every update of the XY Chart. But on every update the FIFO adds one point!! So the Client is seeing one end of FIFO and Server is displaying the other end, and the twain shall never meet. What ideally should happen is When the Web Connection is invoked, the server should take precedence transfer all the buffer to the Client and then resume the data Acquisition. If it takes a minute to start the remote client no big deal. Then since the buffer is already transferred It just has to send the most recent point. Seems like a bug in Server Implementation and also a bug in client implementation as the time on the chart differs in different time zones
I have checked the Network Traffic rate, It is appox 20Kbytes/sec which is roughly 300kbps. Technically this should be handled easily over a broadband connection, not withstanding overheads.
So Now I am thinking of ways to solve this Programmatically or generate XY chart programmatically and show it on XY graph and keep an array for Buffer memory. Bummer!!
Any spark of genius is appreciated.
Ah, I will email you the link and you can take a look at the panel.
Thanks Again
Mache
Good Luck!
Mache