Assigning a Timestamp to a Certain Part of my Code's Execution

Updated Nov 28, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want to know what time a specific part of my code is executing. How can I do this?

Solution

The "Get Date/Time In Seconds" function can be used to return the current time. One solution is to place this function inside the same sequence structure frame as the code of interest. This will ensure that the "Get Date/Time In Seconds" function executes at the same time as the desired code. 

In the example below, the "current time" indicator will display the the time at which a file was written to. 

WAS THIS ARTICLE HELPFUL?

Not Helpful