real-time

[ZedGraph, C#] How to Add Real-Time Data in a Dual-Y Graph?

Hi all, For my project, I need to add & update real-time data to my dual-y graph. The Y and Y2 values share the same X value and I created it already. Now I have a function that adds the new point pairs to the curve lists. Here is my problem: My Y and Y2 values are always added to the curve list of the first curve. How can I get the Y2...

real-time writes to disk

I have a thread that needs to write data from an in-memory buffer to a disk thousands of times. I have some requirements of how long each write takes because the buffer needs to be cleared for a separate thread to write to it again. I have tested the disk with dd. I'm not using any filesystem on it and writing directly to the disk (open...

Real time Google Map

Hello Google map API experts, What would be the best(good) way to develop a real time dynamic map using Google Map API. Example: http://whrrl.com/ It would be really helpful if someone points me towards the right direction. Thank you ...

How to link my code with the real time library using qmake (.pro)?

I am trying to write suitable .pro file for my application. I need real-time library. Have you some ideas how to do that? I just need the line for linking with real-time library... Thanks in advance! SOLVED: LIBS += -L/usr/local/lib -lrt ...

Is there a better C?

I want a better C. Let me explain: I do a lot of programming in C, which is required for applications that have real-time needs such as audio programming, robotics, device drivers, etc. While I love C, one thing that gets on my nerves after having spent a lot of time with Haskell is the lack of a proper type system. That is, as soon ...

What is the minimum guaranteed time for a process in windows?

I have a process that feeds a piece of hardware (data transmission device) with a specific buffer size. What can I reasonable expect from the windows scheduler windows to ensure I do not get a buffer underflow? My buffer is 32K in size and gets consumed at ~800k bytes per second. If I fill it in 16k byte batches that is one batch every...

is a garbage collector (.net/java) a problem for real-time systems?

When building a system which needs to respond very consistently and fast, is having a garbage collector a potential problem? I remember horror stories from years ago where the typical example always was an action game where your character would stop for a few seconds in mid-jump, when the garbage collector would do it's cleanup. We are...

Is it possible to "hang" a Linux box with a SCHED_FIFO process?

Hello, I want to have a real-time process take over my computer. :) I've been playing a bit with this. I created a process which is essentially a while (1) (never blocks nor yields the processor) and used schedtool to run it with SCHED_FIFO policy (also tried chrt). However, the process was letting other processes run as well. Then som...

How to develop a real-time event analytics solution?

Hello all. I need to develop an in-house real-time event analytics solution for our web application (e.g: mixpanel, chartbeat, kissmetrics like tool). We mainly use ruby on rails, Redis, MySql and JavaScript. The analytics solution must have an API and must be real-time. I've never done any API nor worked with real-time data. What te...

mysql query count per databse

Hi, Im searching a cmdline or any mysql config which can tell me the queries being fired per database. I would check this info frequenty. mysql gives query count but i want it itemized so I can locate which database is more busy more often. Planning to put that code into my munin plugin=chart. thanks, vikas ...

Real time pushing

Ten updates a second, what would be the best way to do that? Aside from WebSockets (not fully implemented) what can accomplish this? Would creating a Java Applet be worth it? Can you interact with the DOM in that fashion? ...

Is update from EDT in swing an absolute rule or are there exceptions?

In Swing, the GUI is supposed to be updated by the EDT only, since the GUI components are not thread safe. My question is, if I have a single thread, other than the EDT, that is dedicated to update a specific component, and this component is not accessed by any other thread in my program, only this dedicated thread, is it ok? In my case...

Using XMPP over GTalk server to enable my app to comunicate without showing the user is online.

Hi! I'm currently writing an Android app that should be able to communicate in real time with another app hosted in Google's app engine. Since I can't use sockets in GAE, I though maybe using XMPP over GTalk server would solve my problem. But that way the Android app would be connected to the users account and thus showing the user as b...

Real time collaborative web application architecture

I want to build a real time collaborative web app where people can interact with components and drag them around, allowing the collaborators to see the dragging in real time. I don't know the first thing about how to build an architecture to support such a system, but it seems to me like it is like building a real time multiplayer 2d g...

Charting in real time

What is the best solution for charts that refresh 5+ times a second? I'll even drop that to once every 1-5 seconds if I can get charts that don't "blink" when redrawing. I'm willing to use any technology, but considering the application already uses WebSockets you can recommend just about anything and it can be used. ...

How can I show realtime data in a browser?

I want to setup a website (intranet in this particular case) that shows realtime updating data. I have the server and the realtime data, it's the software I know less about. I am no stranger to programming, but I am less familiar with web technologies. Which alternatives do I have? I would prefer open source, and preferably something ni...

What is the official way to call a function (C/C++) in ab. every 1/100 sec on Linux?

I have an asynchronous dataflow system written in C++. In dataflow architecture, the application is a set of component instances, which are initialized at startup, then they communicate each other with pre-defined messages. There is a component type called Pulsar, which provides "clock signal message" to other components which connect to...

How to limit the execution time of a function in C/POSIX?

Similar to this question, I'd like to limit the execution time of a function--preferably with microsecond accuracy--in C. I imagine that C++ exceptions could be used to achieve a result similar to this Python solution. Though it's not ideal, such an approach is wholly unavailable in plain C. I wonder, then, how might I interrupt the exe...

PHP eAccelerator and real-time data

Hi I have this application written in PHP, I'm considering on using eAccelerator for optimizing the application. My dilemma is that, this application works with real-time data (daily there are around 6 to 8 million records inserted). Until now I haven't used any optimizing tool to speed up my applications. So my question is, will eAcce...

How to enable matlab to listen real time data through c++ application

Hi, I need to create a c++ add-in to mathlab where add-in will listen to packet coming from network and notify mathlab to draw an packet analysis graph. I understood that using a MEX file I can easily call c functions inside mathlab, but I could not find a way to notify mathlab when data is available at c++ end. Is there any way we can ...