LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spliting signal

Solved!
Go to solution

dear sir 

 

i need to split the signal into x and y form  waveform wire.

and detect the first and second peak is important

need help

 

regards deutschland

0 Kudos
Message 1 of 8
(1,661 Views)

I'm uncertain what you want to do.  As you should know, a Waveform has an array representing values at equally-spaced time intervals, where the time is implicitly given by the t0 and dt parameters (see Get Waveform Components on the Waveform palette).  

 

If you want X() to be Time, and Y() to be the array in the Waveform, then you can build X as an array [t0, t0+dt, t0 + 2*dt, ...] or, if the exact date/time are not important, as [0, dt, 2*dt, ...], and use the Y component of the Waveform for Y().

 

Bob Schor 

0 Kudos
Message 2 of 8
(1,646 Views)

Your request makes no sense.

A classic waveform only includes Y values. X values are implicit because samples are 'equidistant'. Your X-values therefore compute by "sample number * delta t". Delta t is one meta information contained in the waveform datatype.

 


@deutchland wrote:
[...]

and detect the first and second peak is important[...]


What do you mean by that sentence?

What does the exponential fit in your attached VI?

Why don't you pass the Y-data from the waveform (hint: Get Waveform Components) to the peak detector VI?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 8
(1,642 Views)

To get waveform component, you can use this block. However this will give you only the Y values (the plot is created using Y, t0 and dt).

You can later reconstruct the X values if needed. 

0 Kudos
Message 4 of 8
(1,641 Views)

with the exponential decay i want to find damping of he signal and   with peaks i need to find time period 

from oscilloscope  and i have this waveorm wire i need to split it into  x and y components

0 Kudos
Message 5 of 8
(1,590 Views)

here is a littele progress from me  i just need exponential decay and  to detect selected peaks  from waveform  i get from oscilloscope

0 Kudos
Message 6 of 8
(1,578 Views)
Solution
Accepted by topic author deutchland

User Bob_Schor allready describes how to split Waveforms.

Maybe this Screenshot will help you to understand.

 

Is your question answered then?

 

0 Kudos
Message 7 of 8
(1,571 Views)

thank u very much sir

0 Kudos
Message 8 of 8
(1,548 Views)