09-12-2006 01:57 AM
09-21-2006 04:28 AM
09-21-2006 11:37 AM - edited 09-21-2006 11:37 AM
Hi Radium,
I thought you might like this.
I just created this for you to have a go with. It is a DLL that will allow you to create an array of x size and it will produce the appropriate freq as per your input. From execution to execution it will also store the phase so phase will not be lost.
It is just example code but it should do as you need without you having to write the maths yourself. Give it a go?
ArraySize = The size of the buffer you will be using
SampleFreq = The rate that you have the analog card set to output. (for example100Ks/s)
Frequency = Frequency you wish to see on the output
Amplitude = amplitude you wish to see on the output
Output Array = the calculated values
The bmp shows the waveforms produced and how tey sit together.
Hope all this helps
AdamB
Message Edited by AdamB on 09-21-2006 11:37 AM
09-21-2006 07:14 PM
09-22-2006 03:05 AM
09-24-2006 04:13 PM
04-28-2014 06:55 AM
Hi, can u help in generating a sine wave and powerspectrum in the wavegraph indicators as shown in the image.
04-28-2014 11:04 PM - edited 04-28-2014 11:10 PM
Hi, can u help in generating a 50Hz sine wave and powerspectrum in the wavegraph indicators as shown in the image using C# in Visual Studio 2010.