LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event-driven data logging

I want to save the data from the DAQ - Card just in case a pre-defined event (measured Value out of tolerance) occured. In that case, I want to have a File with Data 1 min before the event und 1 Minute after the event.
I tried to find examples, but I coud not find anything.

Thanks for your help

Marcel Jahn
0 Kudos
Message 1 of 2
(2,262 Views)
Hi Marcel:

What you need to do is collect your data in a recirculating buffer at least two minutes long...and then have it DUMP everything UNLESS there's an interesting event. Obviously, there's no way to know ahead of time when something interesting is going to happen, so this is the standard way of performing this function. Look at the Buffered Data acquisition examples. You will have to modify them to the length of buffering you need.

Hope this helps a bit.

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
Message 2 of 2
(2,262 Views)