LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture entire raw data set when using DAQmx triggered data acquisition

Hi

Is it possible to record the full set of acquired data when using the triggered acquisition set up?

Here is a code snippet of what I am doing currently:

triggered data acq.JPG

 

I am acquiring 1 second of data centered around a trigger event.

My problem is that I have had cases where a false trigger has occured (noise) leading to the event not being captured.

I would like to save all the raw data from the start to a temporoary recovery file and thus if an event is missed, one could still go back to the recovery file to extract the data around the time of interest...

 

Any ideas?

 

Thanks

0 Kudos
Message 1 of 2
(2,167 Views)

One way to do it is, do the continuous acquisition and recoed all the data in  one file and have a trigger based event structure, where if the event happens, you create a new file. So even if event didn't happen because of false trigger, you'd still have whole data. And if Event happens, that would give you two data files one of which is of your interest and other one you can delete. You can further automate the deletion of raw data file.



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 2 of 2
(2,154 Views)