Hello
Check out the fft example that is installed with Measurement Studio, you can find it under ..\MeasurementStudio\VC\Examples\Analysis\Fft.
The CNiMath::FFT has 2 overloads
static MathError FFT(
CNiComplexReal64Vector& x);
and
static MathError FFT(
CNiReal64Vector& xReal,
CNiReal64Vector& xImag);
You can use the second overload, since you already have the data in that form. Check out the documentation for the CNiReal64Vector for more informtion on its available constructors and properties.
Thanks
Bilal Durrani
NI
Bilal Durrani
NI