LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculate time function

Is there a function in Labview to calculate how much time spent between certain steps, like the tic and toc in Matlab? Thanks!
0 Kudos
Message 1 of 2
(2,349 Views)
There are several functions on the timing pallette such as tick count (ms) and get date/time in seconds.  Put these in your code where you want to capture the time, and subtract the outputs between two of them.
 
Depending on your code, you may need to use flat sequence structures to make sure you capture the time after one function runs and before the next begins.
0 Kudos
Message 2 of 2
(2,331 Views)