06-13-2006 04:14 AM
06-13-2006 08:11 AM
06-13-2006 09:06 AM
Thanks a lot; this is one possibility. How about using two counters; one acts as a clock; the other
as a counter of rising edges of the clock. The value of the second counter could be compared to fixed values.
That way, one could design a pulse pattern with a set of a few AND / OR gates...or?
06-13-2006 09:34 AM
The value of the second counter could be compared to...
The concept is ok, but in real life your comparisons and decisions must happen up in the software level. Unless you were running a real-time OS, you couldn't get regular deterministic timing of your software execution. And even in RT, it'd be difficult if not impossible to achieve the micro-second timing you're after.
Note: a double-pulse would be pretty simple to setup using correlated DIO on an M-series board if you've got any budget for data acq hardware...
-Kevin P.