LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to divide the waveform into small pieces (which have different lengths)

Solved!
Go to solution

I have a long waveform which is just a combination of a waveform + 0 + another waveform + 0 +...I would like to have small pieces of the long waveform.  The problem is I cannot think of anyway to detect the 0 in order to seperate them.  Any hint would be appreciated.

 

 

11-8-2013 11-05-05 AM.png

0 Kudos
Message 1 of 3
(2,477 Views)
Solution
Accepted by topic author muahang1234

How are the zero segments generated? Are they exactly zero or average zero but with some noise? Do you know the length of the zero segments? Is it always the same? Do any of the waveforms have segments where the real data is zero, and, if so, how long can those segments be?

 

My first thought is to use In Range & Coerce with limits just slightly above and below zero. The check the length of any set of samples not In Range.

 

Lynn

Message 2 of 3
(2,456 Views)
Hello Lynn,

There will be noise (white noise) and the length of zero is variable.
0 Kudos
Message 3 of 3
(2,452 Views)