[hpsdr] Programming Help Needed

Gordon & Lois Duff glduff at bellsouth.net
Sun May 13 13:35:06 PDT 2012


I am struggling with a programming problem in my version of KISS.  I have a
version that works and a version that doesn't.  The problem appears to be
happening in the SharpDSP (or FFTW) method that does the reverse FFT work.


 

The program invokes the DoDSPProcess method in SharpDSP which eventually
invokes a DoFFTReverseMain method.  The passed parameters are:

 

// in: tmp_cpx_2 out: tmp_cpx_3

       plan_rev_main = FFTW.dft_1d(size,

h_tmp2.AddrOfPinnedObject(),

h_tmp3.AddrOfPinnedObject(),

FFTW.fftw_direction.Backward,

FFTW.fftw_flags.Measure);

 

I have two versions of my code.  One works fine.  The other returns a
different tmp_cpx_3, even though the tmp_cpx_2 is the same.

 

The two versions of my code differ in that the working version has rcvr
created in the MainForm (the same as KISS) and the broken one has the
MainForm create a RX object which in turn creates rcvr.

 

Any clues as to what I am doing wrong?  Please reply off list.

 

I apologize to those on the list who aren't into this stuff, but I am at my
wits end and don't know where else to turn.

 

Gordon, KA2NLM

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20120513/2c5c8dab/attachment-0002.htm>


More information about the Hpsdr mailing list