LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I get a running tally of peaks/valleys in live acquisition?

Yes, increasing width can help with noisy data. Must remember that width delays the detection to approx width/2 points past the actual peak if you're using the pt by pt vi (or peak detector.vi in realtime processing).
You could also set the valley threshold to something like (Mean-300) if your data is consistant from run to run.
Or you could get into more elaborate data smoothing before you pass the data to the peak detector. If you haven't already checked it, the following link may be useful:

http://zone.ni.com/devzone/conceptd.nsf/webmain/55181A206A523FD186256ABE00626EA9?opendocument&node=dz00000_us#7
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 11 of 12
(553 Views)
thanks very much. That's a great demo. I had looked at the mean-X but hadn't thought of smoothing. I'll have a look at the link. Thanks again Donald.
0 Kudos
Message 12 of 12
(553 Views)