08-10-2021 04:13 PM
Hi all!
I am trying to run a simple DAQ program with 5kHz sampling and store to a file. I don't need all the data, just the peaks and valleys, but I stored all of the data to do the analysis in Excel or something. I only need few seconds worth of data, and analyze about 50 peaks and 50 valleys. It is turning out to be a long process, so I was hoping to try it all in LabView. I played around with the peak detector vi, but I'm not sure it can run at 5kHz.I tried it and it seems to skip over some data. I don't know if I should store all of the data in an array, then run the data through the peak detector vi? And if that's the best way, not exactly sure how to go about doing that. i am attaching the simple VI I wrote to at least capture the data.
Thanks for any help and feedback!
Zach
08-10-2021 08:18 PM
I will give you some tips,
You could refer this article on peak detection - https://www.ni.com/en-us/support/documentation/supplemental/06/peak-detection-using-labview-and-meas...