LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

ARM project stops at 'generate c code'

Labview 2009 32-bit, LM3S896.

 

We're having problem with building our code on the ARM board, and are totally confused what's wrong with it. Nothing related seems to be posted here. We'd be glad if someone can help us look at it. Thanks!

 

When project is run in an ARM project, it stops every time at the C code generator.The problem was there yesterday, after a few tries, it got working; but today, the problem occurs again.

We were wondering probably some configurations got changed from yesterday to today, but the error looks like below:

 

1) In the folder where C code is placed, it has files:

LVDebugTable_Tmp

LVForms_Tmp

LVFuncUsed_Tmp

LVGlobs_tmp

LVISRList_tmp

simonsays (name of our vi)

 

 but then LVForms and LVISRList are 1KB, , with only a few '#ifndef' lines. The others are all 0KB.

 

2) the VI works fine on a laptop.

3) I tried other simpler projects with the same digital inputs/outputs (LED,Up & Select buttons,etc), they worked fine.

Things we tried are like Blinky exmaple.

 

4) We're wondering if there're any functions we used that cannot be converted into C code. Then we tried removing random number generator, time delay, timing clock. However, it still doesn't work.

 

 VI is attached below.

 

Message Edited by EHuang on 05-24-2010 12:06 AM
Download All
0 Kudos
Message 1 of 2
(5,995 Views)

Hi,

I try your code and I have the same problems on my computer.

Can you try this:

-Open the simonsaysfix3.lvproj project.

-Open simonsaysfix3.vi

-Go to diagram

-Select all (Ctrl+A)

-Cut(Ctrl+X)

-Paste(Ctrl+V)

-Buid the application.

 

This method solved  the problem for me.

Please let me know if it's help

Regards,

Yann C.

France

0 Kudos
Message 2 of 2
(5,948 Views)