![]() |
FFT1024: A free 1024-point Fast Fourier Transfer (FFT) ActiveX control for spectrum analysis | |
|
Let UltimaSerial unleash the power of your Windaq Starter kit!
Lessons on how to use UltimaSerial
|
FFT1024 is a free 1024-point FFT ActiveX control, a FFT utility downloaded from a public domain http://www.jjj.de/fft/ and wrapped into an easy-use ActiveX control (source codes for this FFT ActiveX can be downloaded here) To install XChart, Ultimawaterfall and FFT1024, you may either download and install Charting controls for everyone or the Windaq Add-ons Charting controls for everyone contains executable demos and VB samples for the charting utilities. The waveforms are generated by the sample instead of a specific hardware, thus making it a perfect starting point for incorporating these charting utilities with user data or waveforms acquired via other data acquisition suppliers Two sample programs are included:
Windaq Add-ons contains the above, Windaq add-ons and their VB source codes. For users familiar with DATAQ's DQChart, XChart is like a super set of DQChart. With minimum modification, you can immediately replace DQChart with XChart. Features: 1) 1024 point FFT 2) Data windowing 3) Return scaled power spectrum compatible for UltimaWaterfall and XChart 4) Provides variant and single access/assignment for the result/data 5) Comes with VB samples, one uses artificial waveforms, one works with DATAQ's Windaq (Windaq must be running first!), another one incorporates with UltimaSerial To learn how to use FFT1024, please refer to the sample programs included in the installation. BOOL FFTWindow: When set, a window will be applied to the data before FFT operation short PowerScaler(): Scaling factor for power spectrum output void Waveform(const VARIANT FAR& data): Waveform input via a 16-bit integer array VARIANT Power(): 16-bit integer scaled power spectrum output void SetWaveformPt(short idx, short data): Specify each point of the data. 0<=idx <1023 short GetPowerPt(short index): Get the scaled power spectrum output at index point void FFTNow(short size): Perform FFT short PeakIdx: Retrieve the index of the peak frequency short GetRe(short idx): Retrieve the real component at index point short GetIm(short idx): Retrieve the imaginary component at index point
Last update: 10/05/07 Copyright: 2000-2005 www.UltimaSerial.com
|
|