11-09-2008 01:51 PM
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
11-10-2008 04:44 PM
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
11-11-2008 04:51 PM
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
11-12-2008 06:10 PM
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
11-13-2008 07:37 AM - edited 11-13-2008 07:38 AM
10-01-2009 04:43 AM
Hello,
I have the same problem here. Did you arrive to any conclusion on this?
Thanks,
Paulo
10-21-2009 07:23 AM
10-21-2009 09:00 AM
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
10-22-2009 03:46 AM - edited 10-22-2009 03:47 AM
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"
10-22-2009 04:01 AM
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