01-30-2015 03:57 PM
Hi,
I'm currently developing an application in RT for a cRIO 9074 using FPGA and Scan Mode at the same time, the problem I have is related with the CPU overload of the cRIO. When I run the RT vi debugging from the computer (Clicking the run button) the cpu load rises from 60 to 80 percent, this behaviour is expected. When i build and exe and deploy it to the chassis runing stand alone, the cpu load of the cRIO rises to 100 percent, and don't go down which causes that sometimes the application chashes.
I'm not changing the vi content from the stand alone to the cpu debug, please any guess of what could be happening is welcome.
Thanks in advance
02-01-2015 01:04 PM
Hello jpao1990,
The following links may help you:
Minimize CPU Usage (Real-Time Module):
http://zone.ni.com/reference/en-XX/help/370622M-01/lvrtbestpractices/rt_bp_min_cpu/
Debugging Multicore Applications with the Real-Time Trace Viewer:
http://www.ni.com/white-paper/6447/en/
Get the Benchmarking Right (Real-Time Module):
http://zone.ni.com/reference/en-XX/help/370622M-01/lvrtbestpractices/rt_bp_benchmarking/
How Do I Get my Real-Time Application to Run Faster or Run with Fewer Resources?:
http://digital.ni.com/public.nsf/allkb/D58C6375BC58A16586257194004950B8?OpenDocument
Please check these links and tries to implement its recommendations, I am aware of in case you have any questions.
02-02-2015 03:35 AM
From the first article posted above, the first one of having loops without execution timing (no loop timing - e.g. using wait or a timed loop structure) is the most common cause of this sort of issue.
You might have an error when running as an executable which is causing a loop to run at full speed?