I am using a PCI-6115 DAQ board. I have just upgraded to LabView 7.1 and the DAQmx drivers, and so I am in the process of learning how to make them do what I want.
I want to use a digital trigger, pulsing at about 20 kHz, to initiate the collection of about 500 samples at 10 MS/sec. Since I want to collect this number of samples each time the trigger arrives, I believe the example program 'Multi-function Counter Retrigg Pulse Train Generation for AI Sample Clock' basically points the way to doing what I want to do. By setting up a re-triggerable counter as my sample clock, and running the AI continuously, I will be able to collect the 500 points each time the trigger shows up. I believe I can pull these 500 points out of the buffer fast enough to use double buffered data acquisition for an extended period, on the order of 10 minutes.
THE PROBLEM: It seems that the maximum counter output is only 5 MS/sec. Since the counter controls the data acquisition rate, it appears that it is impossible to take advantage of the 10 MS/sec AI sampling rate. Am I right about this? I tried setting the AI rate at 10 MS, and it then simply ignored the setting and collected at the 5 MS rate of the counter. Is there another way to periodically collect the 500 samples without missing any of the triggers? I tried putting a triggered AI read in a loop, and it is way too slow to keep up with the 20 kHz trigger rate.
Thanks for any help you can offer,
TJ