05-28-2008 04:29 PM
05-29-2008 10:13 AM
05-29-2008 11:13 AM
05-29-2008 11:22 AM
05-30-2008 03:21 AM - edited 05-30-2008 03:23 AM

05-30-2008 08:24 AM
05-30-2008 02:34 PM
06-02-2008 02:45 PM - edited 06-02-2008 02:46 PM
Hello Gustep,
Dennis has a good idea. I would recommend using a finite acquisition. The only change you'll need to make is to start and stop the analog input task each loop iteration after you acquire the number of points you want. Here's a screen shot of what I would change:

Basically I moved the DAQmx Start Task VI inside the loop after the delay and I added a DAQmx Stop Task after the DAQmx Read VI. Other than that the only change was from continuous to finite samples on the DAQmx Timing VI.
Cheers,