LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sine wave vi

Solved!
Go to solution

I want to exemplify the effects on differences on amplitude, frequency and phase between two sine waves.I have already used the sine function and works well without phase variations. I have tried to use the sine wave vi provided in the signal generation vi's, but I cannot figure out how to make it work. I tried to use a for loop to change the samples input, but does not work. I don't want to use the express vi's.

Does anyone out there have an idea to share? Thank in advance!!

Ricardo

 

SineWaveGen.png

0 Kudos
Message 1 of 6
(13,151 Views)

Hello,

 

Use sine waveform.vi instead of sine wave.vi for your app.

 

God Bless!!!

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding. Proverbs 4:7
0 Kudos
Message 2 of 6
(13,115 Views)

There's an example that ships with LabVIEW called "Function Generator with FM". That should help you generate a sine wave.

 

Is there a reason you don't want to use the express VI? There are inputs in to the express VI that will allow you to change the settings and it seems like that might be the best way to do what you're trying to do.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


Message 3 of 6
(13,112 Views)

Thank you for your reply James.

I have already seen the vi you mention on sine generation.

The problem I am tackling is focused on simulation of emergency power plants; At this stage, steady state simulation is carried out and I have to simulate the synchronization process between two voltage sources, for this I have to plot two sine waves where all its parameters can be adjusted on line. With this option, the operator can see the effects when the signal are not synchronized. I have built a vi with the sine function provided in the trigometric toolbox and it seems to work well; I think it is equivalent to use the express generator.

 

 

What troubles me i how I could use sine functions.pngthese functions. The help file is not clear to me, and that's why I built my own vi.

Thank you again for your time

Ricardo

0 Kudos
Message 4 of 6
(13,100 Views)

Hello!

Thanks for your suggestion, but I have to generate at each instant of time a value of the sine function. I don't know how to use these vi's:

 

sine functions.png

The help file is  a bit cryptic to me!!!

Regards

Ricardo

0 Kudos
Message 5 of 6
(13,096 Views)
Solution
Accepted by topic author RicardoFer

Did you look closely at the example I told you about above? You can find examples in LabVIEW by going to Help > Find Examples.

 

That example uses the Sine Waveform VI to generate sine waves. You only need to look at the bottom graph most likely. Look at the inputs to the function and you'll see how to make the sine waves that you want to make just like that VI.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 6 of 6
(13,093 Views)