Dear all,
I want to take several samples of an analog signal on a digital edge (post-triggered), like shown here: http://zone.ni.com/cms/images/devzone/tut/a/25b19f241073.gif
I want to use a (NI-card) counter output (frequency around 30kHz) as digital signal.
But there are two problems:
1. I want to put it in a while loop, so that every 33 µs or so, the program waits for a digital edge again and takes samples again. So that the new values can be put in a different line of the array.
2. Ideally i want to wait for a digital edge, then wait for 20 µs, then take several samples, then wait for a new digital edge.
Howto?
Thanks in advance,
-diwi