How to measure clock accuracy
digital.ni.com