LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplying the Positive slope of sine waves

Hi all,
        I ve got a small problem.I want to multiply 2 sine waves in the following manner:
 
Calculate the difference in amplitude between 2 samples ie 1 and 100 and  calculate the same difference for another sine wave and multiply them.
 
The Signal is being acquired real time, so I should be able to multiply the differences for all the samples.like diff bet 100 n 200 then 200 and 300 so on
 
Only the Positive slope of the sine wave should be multiplied.Negative slope should be ignored and the multiplied sine wave should be displayed in a waveform chart.
 
I ve been trying this but I am unable to do it.This is kinda urgent,so any help would be appreciated.
 
I have no problem with the acquisition part.Only the Multiplication part is bothering me.
 
Thanks
 
 
 
0 Kudos
Message 1 of 5
(3,442 Views)
Your query is somewhat confusing. You talk about multiplying sine waves and then you talk about amplitudes and differences and slopes. Then you ignore the negative slopes but want the result to be a sine wave.

Please post your VI which attempts to do this and point out where you are having problems. Save typical data in controls as default rather than including the acquisition parts since we will not have suitable hardware to test it.

There are many ways to multiply signals or segments of signals so someone will probably be able to help once we know what you are trying to do.

Lynn
0 Kudos
Message 2 of 5
(3,440 Views)
Hi Lynn,
            I am sorry.The output neednt be a sine wave.I just need the multiplied signal.
0 Kudos
Message 3 of 5
(3,435 Views)
Like Lynn said, a sample VI demonstrating what you are trying to do will be extremely helpful in understanding your issue.
 
Ankita
0 Kudos
Message 4 of 5
(3,406 Views)
Hi Ankita,
              I have posted the VI and a more clear description of what I am trying to do at...http://forums.ni.com/ni/board/message?board.id=170&message.id=145143.Please have a look.I am still unable to figure out what to do.
0 Kudos
Message 5 of 5
(3,398 Views)