LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure the time of execution

Hi,

Is it possible to integrate one function similar Profile
(Tools>Advanced>Profile) in a VI to make statistics of execution times?

Thanks
0 Kudos
Message 1 of 3
(3,192 Views)
"Xavier Falourd" wrote in message
news:3e2c219a@epflnews.epfl.ch...
> Hi,
>
> Is it possible to integrate one function similar Profile
> (Tools>Advanced>Profile) in a VI to make statistics of execution times?
>
> Thanks
>
>

Hi Xavier
I usualy create a sequence "around" my function and add a frame before and a
frame after of it.
Put the function Time&Dialog > Tick Count (ms) in the frame 0 and 2
pass the Tick Count value of frame 0 in the frame 2 and subtract the two
times.

sorry for my english...

Bye, Ale.
Message 2 of 3
(3,192 Views)

Hi Xavier,

 

Ale914 was spot on with his reply, it really is as simple as that. To give you more of a visual aid if needed it would look like what you see below:

 

example.png

Regards

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
Message 3 of 3
(2,780 Views)