The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 FFT

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mtremblay Posted - 03/16/2009 : 12:36:16 PM
Origin Ver 8 SR4 and Service Release (Select Help-->About Origin):
Operating System: XP

From a Labtalk script in Origin 7.5, I call an OriginC file which computes an FFT of a specified signal. The OriginC file I use is similar to the example file you have posted at www.originlab.com/ftp/programming/FFTUsingNAG.c.

The line that calls the FFT function is:
int iRet = FFT(VstimIn, VstimOut);

Where VstimIn, VstimOut are complex vectors.

When I run my file in Origin8 it appears OriginC cannot find the FFT function that is called and posts the following error in CodeBuilder.

compiling...
MNAGFFT.C

C:\PROGRA~1\ORIGINLAB\ORIGIN8\MNAGFFT.C(46) :Error, Function FFT@IAAAAAAAMAAABAAAMAAABAAA was called, but its body could not be located during linking.

I did add the #include <OC_nag8.h> statement to the OriginC file for the NAG files.

Did the FFT call in Origin8 change, if so what is the equivalent call in Origin8?


1   L A T E S T    R E P L I E S    (Newest First)
Deanna Posted - 03/19/2009 : 11:21:17 PM
Hi,

Please see this QuickHelp item for the solution:
http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:Why_is_there_a_compile_error_for_the_FFT_function_call_in_my_program

Deanna
OriginLab Technical Services

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000