Hi mandhu,
Here's my understanding of what you're trying to do, please let me know if I understand correctly:
The source input to Counter0 is wired to a TTL signal from the amplifier/discriminator, and the source input of Counter1 is connected to a square wave signal. When Counter1 reaches a certain value, the values of Counter0 and Counter1 are resetted.
If the above is correct, can you elaborate on the what is not working (e.g. error encoutnered, wrong count, etc.)? Has anything changed at all between when it worked and now (e.g. noise in signal source, hardware or software set up)? What software (e.g. LabVIEW) and driver (Traditional or DAQmx) are you using for your application?
Using a signal higher than 20MHz should not damage the board, but you will miss counts.
I'm not sure I understand the following explanation of the application. I assumed from your application description you want your second counter to control the count of your first counter as well. Is this the case? Please try to elaborate on the software and the signal connections.
"but now there seems to be a problem.
the maximum frequency is 20 Mhz, my signal is a bit more than that. will this cause a problem or i will just loose some counts and nothing more.
also should the other counter source be set at a particular frequency?
i found out that if i connect my signal (ttl) and square wave generator ground to the same ground, my results depend on the rate of square wave generator."
Thanks,
Lesley