LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time cpu overload

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

0 Kudos
Message 1 of 3
(3,038 Views)

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.

David P.
National Instruments
Applications Engineer
www.ni.com/soporte
0 Kudos
Message 2 of 3
(2,978 Views)

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?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 3
(2,944 Views)