03-27-2008 07:23 AM
03-31-2008 07:41 AM
Hi Ramses64,
If I well understand what you want to do, you would like to make an analog input acquisition with an external signal as start trigger. Even if you make a finite or continuous acquisition, the data waveform “dt” is implicitly defined by the sample clock you chose so should be constant. May you explain more precisely why you said that it’s not constant? Is it an external clock?
Even if you want to build an edge counter, there are several examples in LabVIEW that should have the behavior you are looking for (in the example explorer: Hardware Input and Output/DAQmx/Counter measurements/Count Digital Events). The picture below is taken from an example and should help you in your project.
I advise you to revise you analog acquisition to verify the sample clock you are using.
Regards,