real-time

Can I use LAMP+AJAX for a (almost) Real Time System?

I have a current system which is build as a Windows Application, and does certain tasks in very close to real time. There are nodes in a network that communicate with our custom server, communicating status, and sending and receiving commands. We are looking to move to a web deployed platform. The nodes, say 60-100 of them, need to co...

Real-time multiplayer game (concept question)

I've been reading this article from Valve that seems to explain the architecture of their multiplayer system. It seems they delay rendering by a couple ticks on the client so they can handle dropped packets, but they also send packets as "delta snapshots" (the difference between two adjacent states). Suppose we have times A, B, C, and t...

Which Language I should use for real time application

I am going to develop real time application which will receive stock market data and doing some processing then disseminates to client application. I decided to divide the calculations between the server and client the server will make the basic calculations then will send the basic data to the client which calculates the final variables...

Java for Audio Processing is it Practical?

Is Java a suitable alternative to C / C++ for realtime audio processing? I am considering an app with ~100 (at max) tracks of audio with delay lines (30s @ 48khz), filtering (512 point FIR?), and other DSP type operations occurring on each track simultaneously. The operations would be converted and performed in floating point. The sys...

Recommendations for embedded+realtime development training

I am currently studying for a career in embedded real time engineering. But find it somewhat difficult to find good training material. Especially because you cannot experience embedded development as you would with desktop application development. Are there any books and or kits that would be useful for basic training? Any recommendatio...

Simple Dynamic Graph Display for C++

I am looking for a simple graph layout library for C++. I want to embed the library into our visualizer based on wxWidgets. In summary, I am looking for something like graphviz, except dynamic - that is when an event occurs, only the change in graph needs to be loaded, not the complete display. There is dynagraph, but it seems a dead pro...

Unobtrusive, realtime notifications of new RSS entries.

First, why I ask: Now that reputation points on StackOverflow have real value (you can spend them on damn good answers by offering bounties) I'd like to monitor questions I might be able to answer and pounce on them! (Also the fact that others answer my questions in real time makes StackOverflow amazingly handy, so it would be nice to ...

Real-time Java interoperability

I am wondering how it's the interoperability between JRE6 and the JVM from rtsj. It seems that I have to use only their implementation (since the code will be interpreted using their JVM), so I cannot use many of the features that Java 6 has to offer. Can it support a GUI? (say for example to modify the parameters of an industrial proces...

Xenomai RTDM timed looping task in device driver

How would I set up a task that, say, turns a led on and off every second, in a device driver (module)? I've tried using rtdm_task_init and it successfully sets the task, but when I use rtdm_task_wait_period, it returns -EINVAL (meaning it's not seen as periodic by the system). ...

Representing realtime events in WPF

I am trying to display a correlation of multiple sets of events in real-time, using WPF. My current approach is to use the following classes: class RTTimeline { public string Name { get; private set; } public ObservableCollection<RTEvent> Events { get; private set; } ... more things here ... } class RTEvent { public dou...

rdts to mark time deadlines

I have a code that "sounds" like this: thread 1 now = rdtsc(); for_each_member_in_a_list { if ( member_in_list.deadline() <= now ) { do_something; } } thread 2 now = rdtsc(); for_each_member_in_a_list { member_in_list.updatedealine( foo(now, ...) ); } now while this was working good in the past now with a SMP system...

Designing system architecture for real time acquisition and 'control'

Brief description of requirements (Lots of good answers here, thanks to all, I'll update if I ever get this flying). A detector runs along a track, measuring several different physical parameters in real-time (determinist), as a function of curvilinear distance. The user can click on a button to 'mark' waypoints during this process, th...

Real time thread synchronization with normal threads

How would one synchronize one real-time thread with a normal thread in Java? Take for example a real-time thread that calculates some temperatures and the GUI thread that has to collect those numbers and show them on some controls. The implementation of the real-time library shouldn't matter as it should follow the specifications. ...

Real-time Java graph / chart library?

There was an earlier thread on Java graph or chart library, where JFreeChart was found to be quite good, but, as stated in its FAQ, it's not meant for real-time rendering. Can anyone recommend a comparable library that supports real-time rendering? Just some basic xy-rendering - for instance, getting a voltage signal from data acquisiti...

Listen for multiple messages from the server using AJAX: JQuery

Hi I make an AJAX call to a PHP script like so: function convertNow(validURL){ $.ajax({ type: "GET", url: "main.php", data: 'url=' + validURL, success: function(msg){ alert(msg); }//function });//ajax }//function convertNow From the above all it does is receive a lot of text f...

What is a good tool for graphing sub-millisecond timelines?

I'm trying to produce a timeline for my real-time embedded code. I need to show all the interrupts, what triggers them, when they are serviced, how long they execute, etc. I have done the profiling and have the raw data, now I need a way to show the timeline graphically, to scale. I've been searching for a good tool, but haven't come ...

two programmers working on the same code

Hi, I'm working on some PHP code with a partner, and were both running a LAMP (or in my case - MAMP) server locally on our machines. Is there some way we can both work simultaneously on the same piece of code? This would require both our IDE's (I use Zend Studio, he uses PHPed) and our MySQL server to update when any change is done. ...

Display CMD output in my GUI (java)

How might I get the output from a CMD process to display in my GUI? This is the code I'm using to run the process: try { String line; Process p = Runtime.getRuntime().exec("cmd /c \"e:\\folder\\someCommands.cmd\""); BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); while (...

How to generate simple 2D graphics in real time?

For my internship on Brain-Computer Interfacing I need to generate some very fast flickering squares on a CRT monitor (flickering = alternating between two colors). The monitor's refresh rate is 85Hz and we would like this to be the bottleneck, which means that repainting all squares can take at most 1000/85 = 11ms. My language of prefe...

What languages are used for real time systems programming?

I didn't find any useful information about programming languages for real time systems. All I found was Real Time Systems and Programming Languages: Ada 95, Real-Time Java and Real-Time C/POSIX (some pdf here), which seems to talk about extensions of Java and C for real times systems (I don't have the book to read). Also, the book was pu...