This vi finds the index (column in the array “Data”) of the pulse which is active at a given time.