02-19-2007 11:18 AM
02-19-2007 01:01 PM
On an M-series board I'm certain you can simultaneously create and run:
1. 1 (and only 1) hw-timed output task, containing 1 or more bits from port 0
2. 1 (and only 1) hw-timed input task, containing 1 or more bits from port 0 (excluding the ones used for output)
3. Multiple software-timed tasks on port 1 and/or port 2
I've personally run an app on a single 6259 that generated 8 hw-timed digital output bits and acquired 24 hw-timed digital input bits using the leading and trailing edges respectively of a shared sample clock. I used the all the other DIO bits in several additional static DIO tasks for a variety of software-timed input and output.
I think the top speed of an M-series will fall a little short of the top speed of the DIO-32-HS. The lower-cost M-series max out at 1 MHz while the next tier max out at 10 MHz.
-Kevin P.