ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

re-trigger ai

I am working on an application that will aquire 2100 data points every 15mS for a total of  2550 lines of data at a scan rate of 210kHz. The start of scan pulse occurs every 15mS. Is there a way to set up the vi to retrigger on the start of scan pulse? I am enclosing my vi.
 
I am using a PCI 6281 DAQ card with LabVIEW 8.0.1 and NIDAQmx 8.01.
0 Kudos
Message 1 of 2
(2,836 Views)
dmourer,

Just to make sure we are on the same page here, let me restate your application. You want to acquire 2100 data points at a rate of 210kHz (this takes 10ms). You want to commence this acquisition on the rising edge of a TTL signal, and repeat the process for a total of 2550 sets of data (2100 points per set). Am I understanding you correctly? Based on this assumption, the best way to perform this acquisition with your hardware is to use a retriggerable counter pulse generation operation as the sample clock for a continuous analog input operation. If you read 2100 data points at a time, then you will be able to maintain individual data sets. You can find an example which does just this in the LabVIEW Example Finder (Help->Find Examples). The example is called Multi-Function-Ctr Retrigg Pulse Train Generation for AI Sample Clock.vi and can be found in the Multi-function DAQmx Synchronization examples.

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(2,822 Views)