Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Retriggerable AI with usb-6251at 3kHz

Hi there,
 
I  have a problem in programing the analog input data aqusition.
My DAQmx card is a USB-6251 and I am trying to collect data from the boxcar system. For the transient absorption measurement, I am using 3kHz ultrafast laser and detecting the data with photodiode and sent this signal to Boxcar. Then this signal from boxcar will be sent to the analog input of USB-6251. First problem is to trigger every pulse signal from the laser master clock(or the boxcar busy output). Since I am collecting data after every single pulse from laser master clock, I need to trigger the every pulse from laser and then aquire the data from the analog input. I found one example for this retriggerable measurements, and I attached the file below. But this example has a speed problem. It collected data only a couple of hundred data points per second. That means it is missing most of 3kHz pulse signals (because of start and stop of daq task in while loop).
Summary, I have to aquire data with 3kHz operation triggered by every single pulse(3kHz). After triggering, sample rate will be 1MHz and number of sample is 100 ( since it is operating at 3 kHz, I have to aquire less than 150 samples per one pulse). Then I get one data point with averaged 100 sample, and finally need to get 3000 data points/sec.
Is there any ways to solve this problem?
 

Message Edited by giggs on 09-04-2006 03:54 PM

0 Kudos
Message 1 of 2
(3,101 Views)
Duplicate forum post (link).
Jesse O. | National Instruments R&D
0 Kudos
Message 2 of 2
(3,081 Views)