LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to log the memory usage info in LabVIEW?

Hello,

 

I am debugging the memory issue in a LabVIEW application. I would like to log the memory usage values of my program so that I could have a general idea about when and how much the memory was occupied in each loop. Does anyone know how to save the info in windows task manager? I am thinking of using .NET constructor node, but don't know which object to use.

 

Thanks a lot!

 

Regards,

Jean

Message 1 of 3
(4,191 Views)

Jean,

 

the answer depends on the level you are working in.

You can use the Windows Performance Monitor (perfom) in order to log the memory usage of the application instance LabVIEW.exe.

You can use several tools available which do quite the same, but maybe on a more detailed level (www.sysinternals.com for instance) .

 

You can also use LV tools for further information on LV-internals. If you are running on Windows, you would use the LabVIEW Desktop Execution Trace Toolkit.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(4,184 Views)

Hi Jean,

 

in the LV examples you will find a ready-to-use memory and CPU usage monitor...

 

Btw. it uses .NET, so no need for further search Smiley Wink

Best regards,
GerdW


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