01-17-2006 02:19 PM
02-07-2006 12:37 PM
Hi,
did you put a scope on the function generator. It's possible that it wasn't generating a perfect signal, and the card being sensitive to extra "glitchy" edges thought that it was the actual clock edge to trigger off.
You could, if you're not using the AI or the AO part of the board at this time, use the sample clock from there, internally routing it to the appropriate gate or source of the counter as requried in the code. You'd just need to setup a continuous acquisition or generation task and then the rate of acquisition / generation generates an internal clock source for you.
I've included an example of this which should work for your two counter setup
Hope that helps
Thanks
Sacha Emery
National Instruments (UK)