We will be use visual basic to develop software for fourier transform with used to data in a timely area of the frequency range, and vice versa. The forward-Fourier Transform-or simply Fourier transformation is the time for the frequency domain transformation. The Fourier transform is used to reverse the process. Here you’ll find a Visual Basic example of the application of Fourier Transform program with the method of correlation.

 

Fourier Transform techniques for the conversion of data between time and frequency. To transform a time-domain signal on a frequency signal, Fourier transformation is used. Inverse Fourier transform transformed frequency signal time domain signal. Discrete Fourier transformation is in digital signal processing applications, because it is the only transform can be calculated using a computer. Although Fourier techniques are relatively easy to mathematics, it can not be used for calculations on a computer. The role of Fourier transformation is the frequency components in the input signal and the relative importance of individual components. A popular method to find FTD, the use of the correlation. In this method, the signal is correlated with the essential functions (sin cos waves and waves) covers the spectrum. If we in connection with a basic function of certain frequencies, we get a single value that the presence of this frequency to the input signal. To the radio spectrum, it is necessary to correlate the input signal with the essential functions of DC to half the sampling rate.

 

 

How do you use the sample program 

 

It . Zip file contains source code and executable file. In order to compile and run the source code, you must have Visual Basic 6.0 installed on your computer. To run the executable file, you must download and install Visual Basic 6.0 runtime files. Run dft.exe and you will see the main window. In the main window to the top part is the function generator, which produces different wave forms to be tested. We can interactively change the amplitude, frequency and form of signal is generated.

 

 

To test the program that generates, we must first create an appropriate balance. Here we have a complex waveform, which consists of two different frequencies. Let all of the default settings and click on “Create” button. Now you can see a 10 Hz signal in the graphic next to the signal. Figure below shows the wave.

Now change the frequency to 100 Hz and click on “Create” button again. The recently formed waveform will be incorporated into the existing waveform and the resulting wave looks like an unfortunate 10Hz wave of 100 Hz noise. See below wave.

This wave includes two different frequencies. Select one of the windowing functions and the display format (standard is for this experiment) and click on “Transform button.” The frequency spectrum to the selected mode on the video output. After the conversion is complete, you can find a source of display modes and click on “Select” button to the frequency data in this format. The chart below shows the range of a given input.


Download source code click here

 

  Referrent web from : http://logix4u.net

Tags: plc
pac
pc
port
vb
vc
c#
parallel
serial
com
usb