sspeed,
"Is there any way that I can trigger each pulse by software or a digital signal or anything?"
Yes. You can trigger your pulses using a digital signal.
use...
DAQmxCfgDigEdgeStartTrig()
You will need to use the function below to make your task retriggerable
DAQmxSetStartTrigRetriggerable()
By default your counter task will only trigger once off of the digital
signal. If you set it to retriggerable the task can trigger over
and over again for each edge of your digital signal.
An example showing how to do this can be found through the link below...
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=F0F72FE2E7EF0EFDE0340003BA7CCD71&p_node=201181&p_rank=&p_source=Internal&p_submitted=N
I hope this helps,
Lorne Hengst
Application Engineer
National Instruments