I am outputting a sine wave pulse of five cycles at 50 kHz, and need to trigger to start measuring on the beginning of that pulse and then stop at the end. After that I need to write that data to an array, can anybody help. I am using a PCI MIO E series board.