I am using National Instruments Measurement Studio for .Net.
I am using Visual Studio 2008 as the .Net compiler.
=============================================
Dim InpDataCom(1, 1) As NationalInstruments.ComplexDouble
InpDataCom(0, 0).Real = 1
InpDataCom(0, 0).Imaginary = 0
InpDataCom(0, 1).Real = 0
InpDataCom(0, 1).Imaginary = 0
InpDataCom(1, 0).Real = 3
InpDataCom(1, 0).Imaginary = 1
InpDataCom(1, 1).Real = 5
InpDataCom(1, 1).Imaginary = 0
NationalInstruments.Analysis.Dsp.Transforms.Fft2D(InpDataCom,
MessageBox.Show(w.ToString())
Dim InpDataCom(1, 1) As NationalInstruments.ComplexDoubleTrue, 2, 2)
For Each w In InpDataCom
MessageBox.Show(w.ToString())
Next
===========================
The above code is giving the following output :
1 + 0i
0 + 0i
3 +1i
1 + 1i
5 + 0i
Hence it seems the input and the output are the same.
So no 2d transform took place.
Whats wrong with the above code ?