LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

blackfin Runtime error !!

hi all,

 

i am using blackfin bf-537 proc, Labview 8.5.1 and visualdsp++5.0 vdk

 

 while running a balckfin application ocasionally  my apllication stopped responding.

 on further  investigation  what i found on the visaual DSP++ output window is this message.

 

 "LV runtime error in file ..\..\..\..\..\..\..\CCodeGen\libsrc\blockdiagram\CCGArrSupport2.c at line 175: 2 3"

 

i tried to see if the file name  CCGArrSupport2.c exist in anywhere in the directory i could not find this file at all.

 

just to give a breif description of what my code does is

 

there is a main loop waiting for the strings to be received from  the ethernet, there is one   timed loop (runs   every 100ms) doeing some housekeeping task for my application

and there is another  timed loop (external source) use to fire some events depending ont the strings received in the main loop.

 

 is there any document or some way to know what causes these runtime errors in the application .

 

has anybody came accross this type of problem and solutions to this.

 

thanks

 

Shridhar

0 Kudos
Message 1 of 10
(8,676 Views)

Hi Shridhar,

 

Our known issues for CCGArrSupport2.c deal with using the Initialize Array primitive and in-place optimizations / generate C-style calls.  Are you doing any of these things in your program?  Please describe your build specifications.  Has the Blackfin module ever worked for that processor on your host PC before?  What is the smallest case that reproduces this error?

 

Thanks,

 

Steve K

 

 

0 Kudos
Message 2 of 10
(8,656 Views)

Hi Steve,
 

thanks for the reply

i am attaching the build specification as a jpeg file please have a look at it.

 

Has the Blackfin module ever worked for that processor on your host PC before?

yes it did worked before.
 

Initialize Array primitive: i am looping through the constant aray of strings to find the matching command is that cuasing this error?

i will work on posting a small case that reproduces this error tomorrow

 thanks

 

Shridhar

 

 

0 Kudos
Message 3 of 10
(8,645 Views)

Hi Shridhar,

 

How occasionally does the error appear?

I recommend that you build a simple Blackfin application such as the one below.  Replicate your build specifications and run the simple application on the Blackfin until you determine that the error does or does not spawn.  This will help us rule out any aspect of the project and build process.  If the error does not spawn on the simple application, we can divide your code in half, then in half again, until we isolate the smallest piece of code that produces the error.  Then we can look closely at the specific nodes and settings that cause the error.

 

Feel free to take this discussion offline to your Service Request until we resolve it

0 Kudos
Message 4 of 10
(8,621 Views)
Message Edited by Pie56694 on 11-13-2008 07:38 AM
0 Kudos
Message 5 of 10
(8,616 Views)

Hello,

 

I have the same problem here. Did you arrive to any conclusion on this?

 

Thanks,

Paulo 

0 Kudos
Message 6 of 10
(8,167 Views)

Same Problem on a ARM and LV2009, when I activate "Disable parallel Execution". The problem is that this is essential to activate any optimizations.

Is there any solution for this ?

0 Kudos
Message 7 of 10
(8,067 Views)

Hi,

 

After some time fighting with it. Removing code piece by piece, I found out that the compiler doesn't "like" the format into string function.

After removing it from the code, the error did not show up anymore.

 

As for the above conversation, I don't know if they concluded anything or even kept the talk in private messages. My post was not answered not in private or in public.

 

Best Regards,

Paulo 

0 Kudos
Message 8 of 10
(8,058 Views)

Hi,

 

I had some "Number to Fractional String"-Nodes in my Project, and now I removed them. But I still have the same Error, when I try to optimize for speed:

"LV runtime error in file ...\CCGArrSupport2.c at line 2621: 6 3"

Message Edited by aminat on 10-22-2009 03:47 AM
0 Kudos
Message 9 of 10
(8,045 Views)

Beacuse I have a ARM and it is perhaps another problem, I made a new thread:

http://forums.ni.com/ni/board/message?board.id=420&thread.id=1822

0 Kudos
Message 10 of 10
(8,039 Views)