George,
Thanks for looking at this. I think you're close.
I'm writing this in LabWindows, so I'm going through some of their sample counter output code.
To clarify, I've got an input line pulsing at 1.8 msec and a trigger line that will stay low until an external event happens. I want my output line to stay low until the trigger goes high, and then I want my output to match the input as close as possible.
I could use DAQmxCreateCOPulseChanFreq to generate the signal, but I would need a way to cascade the triggers. First, the task would wait for the actual trigger, then the task would wait for the next 1.8 msec pulse, which would kick off the pulse generation so it would be in sync with the input. Is this possible?
I tried DAQmxCreateCOPulseChanTicks but that one requires that the output high be high for at least two ticks of the input pulse, which would halve my output rate.
Any ideas?
Brian