From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

how could I measure the excution time of the VI

hiii

I need to measure the execution time or the elapsed time of the prog in LabVIEW , I know that this time is very small but I need to calculate how much it is?

are there a suitable vi to do this in lib of LabVIEW or we must build it?

0 Kudos
Message 1 of 3
(2,212 Views)

There is an integrated tool, the VI profiler, Darren presents it here.

 

You can also find usefull info if you go on the LabVIEW community and search for "VI profiler" or "performance", you'll find all sorts of articles, blogs that can help you : https://decibel.ni.com/content/search.jspa?peopleEnabled=true&userID=&containerType=&container=&spot...

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 3
(2,207 Views)

Hi,

 

If you want to measure execution time of subvi then you can use tick count(ms) function before calling subvi and after sub vi and substract mSec you will have time difference.

 

PBP

CLAD Labview 6.1 - 2010

KUDOS ARE WELCOMED

PBP
Labview 6.1 - 2019
0 Kudos
Message 3 of 3
(2,194 Views)