Re: Mixing AD conversion and DIO writes

On Wed, 2005-03-16 at 16:08 +0000, Daniel Nilsson wrote:
> Frank,
> 
> I'm only concerned with input at this time, checking for the number of
> samples received seems reasonable. My only concern with this is error
> handling, which I don't know how to check for. Is it reasonable to think that
> if I'm just waiting in a loop to see if I have sampled all my data that the
> hardware could take some kind of error and stop ? In that case, I'm worrying
> about being stuck in the loop waiting for data forever. Can I check somehow if
> the command is process died due to an error ?

[caution: I'm not an export and might just not know what I'm talking
about. :-)]

Well, I can't easily imagine a situation where the hardware just stops
sampling, but if you're recording with a fixed sampling rate and you
didn't receive any data for (some (small) constant)/(your sampling rate)
you could quite reasonably suspect that there won't be any more data,
couldn't you?

> 
> Thanks
> Daniel

Jan

Received on 2005-03-19Z13:57:20