code.JPG:
http://forums.ni.com/ni/attachments/ni/170/349127/1/code.JPG
The approach you are taking right now although it may work you are depend on your OS also the DAQ assistant is intended for easy, quick code that are by no means optimal depending on your application. Which card do you have?
If you have and M series you can set a correlated Digital output where you use the counters as the sample clock, this will allow you to send the triggers exactly at .9 ms and pause the generation after the triplet. If you have a static digital input output card then you have no options for setting determinism on your generation and will always be depended on your operating system. I will suggest opening and play around with the shipped example: “Correlated Dig Write with Counter.vi” also start digging into the DAQmx low level VIs (right click the DAQ assistant and select generate code).
I hope it helps
I hope it helps
40mhz_pulse_train.vi:
http://forums.ni.com/ni/attachments/ni/170/349705/1/40mhz_pulse_train.vi