Hi John,
Sorry it's taken a little while for me to get back to you. I understand your problem properly now, and have been playing around with bits of code and various examples on a scope card of my own.
I think the best way to go about finding the relative position of the faster pulses would be:
- Read repeatedly from the scope on a trigger. This trigger is going to be your slow rep rate signal.
- There's an example of this bundled with the driver; simply go to Help » Find Examples, then to Hardware Input and Output » Modular Instruments » NI-SCOPE » Demos » niScope EX Configured Acquisition.vi.
- On each iteration of the program, read a given number of samples. This is going to be the window of data we analyse.
- Analyse each of these windows to find the rising edges. You could use waveform analysis VIs or some custom array manipulation. Once you have found an edge, use the sample # to work out the time relative to the trigger.
Bear in mind that this method will require you to specify a number of samples to acquire at a time; if there are fast pulses after the samples you've acquired and before the next pulse, these will be missed.
With that as your general plan of attack, have a try and post back if you have questions on any particular part of that. Good luck!
Tom
Applications Engineering, NI UK