LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO CPU load is very high

Hi,

 

we are using cRIO9024 to control many of our test rigs. 

The connection disconnects when ever the cpu load is over 97% which is supposed to happen. 

 

I just need some suggestions on how to resolve this issue or maybe if there is any additional unit that can be purchased from labview to resolve this? 

Download All
0 Kudos
Message 1 of 7
(2,854 Views)

Hi,

 

we are using cRIO9024 to control many of our test rigs. 

The connection disconnects when ever the cpu load is over 97% which is supposed to happen. 

 

I just need some suggestions on how to resolve this issue or maybe if there is any additional unit that can be purchased from labview to resolve this? 

0 Kudos
Message 2 of 7
(2,830 Views)

Since you did not attach your code nor even describe what the program does, how could we suggest something?

We need a lot more details.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 3 of 7
(2,846 Views)

I use labview RT. 

I am running 6 different programs for different product tests at the same time. 

There is nothing wrong with the programs, they are perfectly fine.

Each program controls different valves, pumps, chillers, heaters and records temperatures, pressures, water flow and various other data.

 

All these are causing the cpu to run at maximum capacity. I need some suggestions on how to eliminate the issue like do I have to reduce controls in the front panel or using executable could reduce the load.

 

Or is there any hardware that can be purchased from NI to enhance the processing.

 

This is more of a general question rather than a particular program issue.

 

0 Kudos
Message 4 of 7
(2,835 Views)

Optimize your routines to utilize less CPU...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 7
(2,814 Views)

@GerdW wrote:

Optimize your routines to utilize less CPU...


Or upgrade the cRIOs.

0 Kudos
Message 6 of 7
(2,809 Views)

@Ash_zh wrote:

 

There is nothing wrong with the programs, they are perfectly fine. 


Except that the connection is lost... Seems the exact opposite of "perfectly fine" to me.

 


@Ash_zh wrote:

All these are causing the cpu to run at maximum capacity. I need some suggestions on how to eliminate the issue like do I have to reduce controls in the front panel or using executable could reduce the load.


There are more or less 50000 reasons why the CPU could be high. And probably 100000 solutions. Ranging from "put a ms wait in some loops" to "do a complete redesign".

 

Then it's also possible you're code is absolutely top notch, state of the art perfection, and the CPU's are simply not up to the task. That does happen.

 

Post the code, or we can't help.

0 Kudos
Message 7 of 7
(2,807 Views)