I've been using picoscope 3206B for my research work and started working on writing up my own application using the provided C example. I successfully compiled the example with Visual C++ 2008.

Now I'm interested in implementation of interval trigger rather than simple edge triggers. I saw a post with regard to pulse width trigger (post23431.html#p23431) as shown below. I'd like to capture incoming pulses on Channel A when the interval happens to be less than 50ns with rising edge (which is about 12 or 13 samples when the sampling interval is set to 4ns).

For example, Pulse Width Trigger example looks like below. I think interval trigger looks very similar to the following example, but could anyone tell me what needs to be changed to implement a "interval trigger"? Thank you very much in advance!

Two source codes in the first and the second reply are slightly different. I presume that the second reply is what you want me to study? When I set up the interval trigger through Picoscope 6, all I have to do is to select "greater than" and "50ns" time options. I see this example use a kind of time range which I think could do the same trick.

My current experiment setup is under maintanance so that I'll test this in the next few weeks and let you know whether it works or not. Thank you very much for your quick response.