LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get smooth Envelope waves..? Plz help me.

Hello, everyone.

I wanna get above red waves that is the Evnvelope wave of some input signals.

But I don't know what it can.

Now, I am using DAQ(NI USB-6259BNC ) and Labview 2010 evaluate ver.

Exactly I am wondering that getting above red envelope is possible smoothly.

Now, I can be getting the difference frequency waveform. And I am trying to get a Envelope waveform Using Fast Hilbert transform Block but It isn't working..

I will attach soem pictures those I want to get and VI file. Plz help me.



Have a nice day.


0 Kudos
Message 1 of 7
(4,432 Views)

Attached files

0 Kudos
Message 2 of 7
(4,430 Views)

Two things:

 

1. Multiply your sine signal (with different frequencies), not subtract. That will produce a non-constant envelope.

 

2. Use Re/Im to Complex, not Polar to Complex.

 

Lynn

 

Envelope code.png

 

Enevelope results.png

0 Kudos
Message 3 of 7
(4,396 Views)

Some additional discussion there. Since the question is not DAQ-related, let's keep the discussion here.

 

Lynn

0 Kudos
Message 4 of 7
(4,391 Views)

Oh.. Thank you for reply.

 

Could I get your VI file? 

Have a nice weekend

0 Kudos
Message 5 of 7
(4,378 Views)

I couldn't understand those pictures without VI file, sorry..

 

 

0 Kudos
Message 6 of 7
(4,377 Views)

I used the Diagram Disable structure to disable the DAQ VIs so that I could test the mathematics. If you wnat to run with your hardware, you will need to remove the Diagram Disable structures.

 

I also have some extra code to verify that Absolute Value correctly calculates with complex inputs. That is how I discovered that you had the wrong conversion to  complex. I changed some captions to make identification of graphs readable in English.

 

Lynn

Message 7 of 7
(4,360 Views)