From: John Morrison (jmorrison_at_ahc.net.au)
Date: 2002-01-23 23:52:14
> > Yep doesn't sound to bad. :-) Good thinking
> > Just not sure if we shouldn't data input and processing there own
> threads.
> > After all the input maybe time sensitive and the processing MAYBE
> time
> > wasting!
> >
> > John
>
> Actually, data input already *is* in its own thread. :-) When you
> initialize the serial port, you can select how large the buffer
> should be and the interrupt service routine takes care of the rest.
BUT we have to allow for ANY interface not only serial ports!
USB, Infra red, plug in card, etc
> Processing can't be time wasting, because then it wouldn't be a real-
> time system. If the data is coming in faster than you can process it,
> the only way to deal with that is throwing away samples.
Some processing could lag such as a reward system that averages data.
How about a module that saves the data.
> Basically, users with slower hardware must settle with less
> processing. I don't think the requirements will be that severe
> though, the first systems were designed ten years ago (or something
> like that) for much slower computers.
I agree the new computers could handle this with 1 CPU tied behind it's
back. :-)
> /Andreas
John
This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:37 BST