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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW RT runs slower and slower

Solved!
Go to solution

Hi,

I runs the same DLL program on LabVIEW RT several times.

But the CPU load becomes greater in subsequent runs.

Can anyone give me some idea about it?

Thanks.

0 Kudos
Message 1 of 4
(2,470 Views)
Solution
Accepted by topic author alexwu1017

Hi Alex,

 

what is a "DLL program"? Which "LabVIEW RT" (aka target) do you use?

What exactly is your program doing? Do you have any open references/resources not being properly closed?

 

But the CPU load becomes greater in subsequent runs. Can anyone give me some idea about it?

Most often it's a bug in your software…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,467 Views)

@alexwu1017 wrote:

Hi,

I runs the same DLL program on LabVIEW RT several times.

But the CPU load becomes greater in subsequent runs.

Can anyone give me some idea about it?

Thanks.


Not without seeing some (or better, all) of the code (VI's or zipped Projects only, please, no pictures).  You appear to be leaving some garbage behind when you stop the program, but without seeing the code, we can't begin to "guess" what that might be.

 

Bob Schor

0 Kudos
Message 3 of 4
(2,411 Views)

Thank you very much.

There found some memory leaks in code.

I think this issue comes from it.

0 Kudos
Message 4 of 4
(2,397 Views)