[olug] Parallel port interrupt
Eric Penne
epenne at olug.org
Fri May 16 17:59:47 UTC 2003
Rethinking my previous post. The maximum pulses per second should be:
1/(0.010+0.000069) = 99.3 or 99 full pulses. Much faster. I'm pretty
sure we can handle this.
>
> With the right settings from a non-realtime kernel using a
> gettimeofday() and a parallel port interrupt signal, I think the minimum
> number of pulses per second that we could detect would be 1/(0.010 +
> 0.069) = 12.7 or 12 full pulses. Therefore as long as the power meter
> doesn't pulse more than 10 times/second we won't be worried. Switching
> to a real time kernel probably won't give us more than 30 pulses per
> second. In that case we may need to switch to another option of using a
> microcontroller as the interrupt handler that just outputs RS232 to the
> control PC.
>
> FYI
> Eric
>
>
>
More information about the OLUG
mailing list