LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging 1 sample of a pulse

I must be having one of these old timer moments.

I need to acquire a pulse sample and log it of an item running.

I would like to log the peak current of each pulse. This will be a 72 hour test and will need to take samples for 5 min at the beginning of a temperature cycle. Then wait for about 2 hours and sample the last 5 min of the cycle. This will continue for 72 hours.

The problem that I am having is that when I get the sample I get about 10 – 100 readings.

I only want 1 sample of each peak pulse. I am sure that this is something simple that I am over looking and I am trying to do this as simple as possible. Any help will be appreciated.   

0 Kudos
Message 1 of 3
(2,689 Views)
Well, you could take the samples that you collect and extract the maximum value to get the peak, or pass it to the mean function to get the average. There are lots of ways to reduce an array of values to a single descriptive value.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,678 Views)
Hey antique,
    LabVIEW has some built-in peak detection VIs as well.  Here's a KnowledgeBase about one of them.  Just search the palettes for "peak" or search ni.com.


Brian B
Account Manager
National Instruments
0 Kudos
Message 3 of 3
(2,662 Views)