LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\os\rtx\LVThreads_rtx.c

Hello,

 

I tried to run my application on LM3S8962.

The build succeeded. All LEDs are green,

but the application doesn't run.

The error message appears in the status window:

[17:06:21] Status: Build Succeeded.
LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\os\rtx\LVThreads_rtx.c at line 141: 2 19

 

This message isn't really enlightening to me.

Doesn't anyone know how to solve the problem?

 

0 Kudos
Message 1 of 6
(6,508 Views)

Hi,

I wasn't abe to find any solution to the issue at hand right away. Could you please tell me more about your application?

 

Have you tried any shipping examples? Do they work? You could try and compile a very basic VI (counter in a loop) and see if you are able to download and run it.

 

Regards

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 2 of 6
(6,498 Views)

Hi Peter,

I tried all the examples. The OLED-Display, the QEI input and output, CAN, File-IO... everything is working.

Sometimes I had to fix the interrupt configuration. In some cases I had to use the LM3S8962 specific Sub-VIs,

in other cases I had to use the general ARM VIs.

But when I merged the different functions, the problem occurred.

My latest change in the project was the parallel read of multiple files (each 256Byte) on the sd card.

The file LVThreads_rtx.c refers  to a problem with the handling of threads in the embedded OS...

 

I modified my VI to serial execution of the file read... same error.

Do you have any idea?

 

Marco

 

 

 

0 Kudos
Message 3 of 6
(6,471 Views)

Hi Marco,

if you have code that we can reproduce the error with, we could try and test it. It would be great if you could attach an example the error occurs with! Thanks

 

Peter

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 4 of 6
(6,467 Views)

Hi Peter,

 

i tried to modify the code to isolate the problem.

With the attached code the new error message appears:

 

LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\blockdiagram\CCGClusterSupport.c at line 141: 2 13

 

What are the limits of clusters in LV ARM?

 

My Toolchain:

Tool Version Numbers:
Toolchain:        RealView MDK-ARM  Version: 4.11
Toolchain Path:    BIN40\
C Compiler:         Armcc.Exe       V4.0.0.728
Assembler:          Armasm.Exe       V4.0.0.728
Linker/Locator:     ArmLink.Exe       V4.0.0.728
Librarian:             ArmAr.Exe       V4.0.0.728
Hex Converter:      FromElf.Exe       V4.0.0.728
CPU DLL:               SARMCM3.DLL       V4.11
Dialog DLL:         DLM.DLL       V1.19a
Target DLL:             BIN\UL2CM3.DLL       V1.63
Dialog DLL:         TLM.DLL       V1.19a

 

Thanks

Marco

0 Kudos
Message 5 of 6
(6,462 Views)

Hi Marco,

could you try and supply us with the project file (lvproj) as well?

 

When exactly does the problem occur? During compilation?

 

I don't know of a specific cluster size limit in LabVIEW for ARM 2010 but I will try to find out.

 

Peter

 

 

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 6 of 6
(6,460 Views)