To measure elapsed time in a piece of code, the best way is to use a Flat Sequence Structure in conjunction with a time count function or VI. Because the Flat Sequence Structure forces the code to run sequentially, you can use measure the time before and after your code runs. Subtract the time measurement before from the time measurement after to get elapsed time (delta t). The time count function or VI you should use depends on your use case.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.