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: 

Simplification

Solved!
Go to solution

Hello,

 

I am doing the code simplification now, it a pretty large chuck of codes. 

 

I was wondering how can I monitor my memory usage to see my work is effcienc or not?

 

Also, I try to speed up my code execute time as well, how can I know how long it will take for the whole code?

 

Thanks

 

 

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

The simple way is to go to Tools->Profile->Performance and Memory.

 

Another way to benchmark code (good for subVIs) is to use two Tick Count functions with your code in the middle.  Subtract the last from the first to get how long your code took.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,207 Views)

Thanks

 

Is there any information about how to use Performance and Memory. I got a lots of data but do not know whatès that mean

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

problem solved

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