Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set an acquisition time interval using DAQmx

Solved!
Go to solution

 I'm using a 6123 DAQ to acquire and store a voltage signal. I'm trying to figure out how I can reduce the time interval of the acquired data, instead of saving 2ms of data I only want to save the first 100us of data. Is this possible?

 

Regards,

Lowksi 

0 Kudos
Message 1 of 3
(3,765 Views)
Solution
Accepted by lowski

How are you setting up your task?  I'm left to assume you are using Finite Samples for your acquisition type.  So what you do is use the DAQmx Timing VI set your sample rate and the number of samples to take.  The number of samples you want will be the sampe rate (Samples/second) multiplied by the interval you want (seconds).

 

So let's say you are acquiring at 500kHz and you want 100us of data.  You will need to set the number of samples to read to 500e3*100e-6 = 50 samples


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(3,761 Views)

This is exactly what I needed thanks for your help!

0 Kudos
Message 3 of 3
(3,753 Views)