From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Processing Problem on cRIO

Hi -


We are having a problem where the cRIO "crashes" or keeps losing comms from the laptop when we try to run the code for vision processing on the cRIO. We used the NI Vision Assistant to generate code which we put into Labview to run on the cRIO, and the actual NI Vision program works when the VI is ran locally on the computer. It seems that the cRIO will crash when we start particle filtering. Is there something that we might have missed?

Here is the vision processing VI:http://dl.dropbox.com/u/58862361/Vis...eFilterting.vi


And here is how it is used: http://dl.dropbox.com/u/58862361/Vision%20Processing.vi

We are using a 4-slot cRIO.

Thanks,

Jason Law

0 Kudos
Message 1 of 2
(3,910 Views)

Hey Jason,

It sounds like you may be starving the processor (maxing out the CPU or getting stuck in a loop). If you look at the charts tab while you are running the code what is your processor/memory usage?

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 2
(2,620 Views)