Hello Roth,
An event is thrown whenever a counter reaches its terminal count, and you should be able to use that to your advantage here. Once that terminal count is reached, you can use DAQmx properties to set the counter to output a pulse or toggle the line. If you use this property in conjunction with the initial count property, you can have the counter cound X number of edges and then toggle the output line:
I hope this helps!
Thanks,
Justin M.
National Instruments
Message Edited by Justin M. on 06-12-2006 01:05 PM