LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Real FFT.vi

Hello again,

 

I was trying to use Real FTT.vi in embeded Project on LPC2294 and ecos but during compilation I get following error:

Real_FFT.c:281: error: invalid storage class for function 'cln_wrapper_1E8'

It’s the same also for another functions form ‘Analyze’. What is wrong here??

 

Marcin

0 Kudos
Message 1 of 4
(7,327 Views)
Hi Marcin,

The compiler you are using probably doesn't like the way the cIn_wrapper_1E8 is being initialized. To work around this, open the block diagram for the signal analysis VIs you are using (e.g., Real FFT.vi) and double-click on the Call Library Function Node. Select "Run In UI Thread" instead of "Reentrant". This will effect the way C code is generated and likely solve the problem for you.
--
Michael P
National Instruments
0 Kudos
Message 2 of 4
(7,322 Views)

Michael,

 

For compilation it did help but now I have different, linker errors like:

 

            libad.a(ReNIFFTH.o): Relocations in generic ELF (EM: 20)

 

Marcin

0 Kudos
Message 3 of 4
(7,318 Views)
Marcin,

You will need to build the analysis libraries for the target so they can be linked in. Refer to the Embedded Porting Guide for instructions on building the analysis libraries.
--
Michael P
National Instruments
0 Kudos
Message 4 of 4
(7,314 Views)