From: Chuck Davis (roshicorp_at_roshi.com)
Date: 2002-01-22 14:52:50
On 21-Jan-02, Rob Sacks, wrote:
>Hi Chuck,
>Well, actually, my program doesn't see the serial port
>at all. It relies on Windows to read the port and put
>incoming data in a buffer.
Ugh! :( But is that realtime, or is that polling?
> Later, at some unrelated time, Windows invokes
>my program with a service called the multimedia timer,
>and my program takes data out of the buffer.
Does this happen on the receipt of each character?
>I'm curious though... what's the maximum latency
>that your stim signal requires? In other words,
>how quickly does the CPU have to respond to
>the signal at the serial port to make the stim
>work?
ROSHI responds to each and every byte that appears
at the input buffer, separately; 128 sps.
My segmented recursive DFT, in the ROSHI(AVS) software,
operates on every sample, therefore, all operations,
DSP and photo/magstim operate at 8 millisec; *brainstem* speeds :)
>Best regards,
>Rob
/ChuckD....
>----- Original Message -----
>From: "Chuck Davis" <roshicorp_at_roshi.com>
>To: "Rob Sacks" <buildcheapeeg_at_yahoogroups.com>
>Sent: Monday, January 21, 2002 6:53 AM
>Subject: Re: [buildcheapeeg] ElectricGuru
>> Rob,
>>
>> This makes for good reading; that you modeled your serial
>> communications after th HAL4. Kewl :) That means that your
>> software can read the ROSHI(AVS) EEG frontend, while doing
>> Roshi's EEG coupled magstim/photostim, at the same time.
>>
>> The only thing you will need to add is to set RTS, as I use
>> that line to power the serial stuff.
>>
>> BTW, are you running those interrupts thru windoughs?
>>
>> /ChuckD....
>>
-- .-. .-. / \ .-. .-. / \ / \ / \ .-. _ .-. / \ / \ -/--Chuck Davis -/-----\-----/---\---/-\---/---\-----/-----\-------/-------\ RoshiCorp_at_ROSHI.com \ / \_/ `-' \ / \ / \ / `-' #11-9-01# `-' \ / `-' `-' On a Path to Peace of Mind...
This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:36 BST