I have a 6602 board that would like to use to control a linear piezo stage that accepts an enable and direction signal.  To achieve the maximum resolution of the stage, the enable signal needs to be able to be pulsed with pulses as fast as 10us.   So basically what I want is a set of pulses with predefined widths and delays, out of two channels (to get XY motion) synchronized.  I figure this is something similar to buffered digital output (having labview loop through single pulses of varying widths and delays won't be fast enough).  I don't have much experience with low-level digital output programming or gated counter programming.  First question, can the 6602 do this?  I figure it can.  Second question, is there any example code that I can use as a start for this?  I've found the continuous pulse train code, the single pulse code, and the pwm code.  I guess the PWM stuff is similar, but I want a completely arbitrary pattern (let's say two arrays, the first pulse width and the second delay to next pulse) to be written.  Any suggestions?  I'm not quite sure where to start.  Thanks for the help.  If I haven't described what I'm looking for well enough please let me know.  I will need 4 channels (2 enable, 2 direction) for this system to get nice XY control.  I know there are other NI cards that would make this much easier, but I figured I'd use what I have, which is the 6602.
                                                                                                                                                                           Leon