Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

trigger N times

$
0
0

I am using a 6363. I would like to trigger off an incoming synchronization pulse exactly N times. These pulses are coming in the ~dozen kHz range.

 

My first idea was to make a count ticks CO task on the same pulses and hook it up a pause trigger, but pause triggers only apply to continuous acquisiton.

 

My next idea was to hook up the count ticks CO task as an arm trigger set to 'Good to go if it's high' and not 'arm on rising edge', but it seems that's not in the cards either.

 

Another idea was to use the incoming sync pulses as a sample clock on a binary waveform of 10101010101 (N repeats) and use that as the trigger set instead. But it appears the binary waveform can't be made to advance to its next value on either a rising or a falling edge, so that would trigger every other pulse.

 

Do I need to use a transistor outside the board to do this (with the count ticks CO)? That would definitely do it, but it seems kludgy.

 

SO... Are there nifty efficient ways of doing this? Failing that, is there a way to get the binary waveform to advance on both rising or falling edges?


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>