Hello Jani,
make a sequence of 4 frames:
1) wait in a while loop for the start button
2) get actual time with "Get Date/Time in seconds"
3) wait in a while loop for the stop button
4) get actual time with "Get Date/Time in seconds"
now get the difference of both time values and save this value with your favorite "Write to File".
You can put all this in a while loop for making more than one time measurement...
Btw, this method depends on timing accuracy of the operating system, so you might get less than 1ms accuracy.
Best regards,
GerdW
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019