Hi ianshapiro,
I tried running your code and was not able to reproduce the error that you described. I did have to make a couple of modifications to get the code to work. First of all, there was no need for the "DAQmx Is Task Done" VI, so I took that out. Secondly, I could not get the program to work with the instance of the "DAQmx Create Timing Source" VI that you had selected, but when I changed the instance to "Frequency," it worked fine. Rather than trying to get a 20 MHz signal and then divide by 200000 and 20000 to get 100 Hz and 1000 Hz respectively, I just generated a 1000 Hz signal, and then divided by 10 to get 100 Hz. I also added a couple of indicators to the front panel to view the loop counts.
I'm not sure what could be causing the error you are getting. I am running LabVIEW 8.0 on Windows XP and I have DAQmx 8.0 installed. The program that I've attached below worked great on this system. Let us know if your software versions are any different.
BTW, I started from the code in your second post.
Best regards,
Message Edited by Jarrod B. on 04-14-2006 03:08 PM
Message Edited by Jarrod B. on 04-14-2006 03:09 PM