Why not use the Pulse Measurements vi?
LV 6->Funcitons->Analyze->Waveform Measuremnts
This vi:
"Accepts a periodic waveform or an array of periodic waveforms and returns the period, pulse duration (pulse width), duty cycle (duty factor), and pulse center of a selected pulse and period."
2006 Ultimate LabVIEW G-eek.