Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I timestamps continuously acquired analog samples?

I'm playing around with the ContAcq.c example that ships with the C API.  My goal is to be able to acquire voltage continuously while also timestamping each buffer, and then to merge the timestamps with a video feed that I will be acquiring simultaneously.

 

I am extremely new to DAQmx and am not sure where to start. I've been reading the example programs and the online documentation but I'm not sure what the best way to proceed is.

0 Kudos
Message 1 of 5
(3,163 Views)

Hi Neurostu,

 

Here is a way to add a second column to your data for time that is inserted based on your sample rate and sample size.  Does this help?

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 2 of 5
(3,134 Views)

 


@cyclone2k9 wrote:

Hi Neurostu,

 

Here is a way to add a second column to your data for time that is inserted based on your sample rate and sample size.  Does this help?

 

Best,


Thanks for your reply, although its not clear to me where you posted the method?

 

0 Kudos
Message 3 of 5
(3,127 Views)
accidental double post.

 

0 Kudos
Message 4 of 5
(3,126 Views)

Here is the document: http://decibel.ni.com/content/docs/DOC-9962

 

Must have been late in the work-day without coffee 🙂

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 5 of 5
(3,082 Views)