07-31-2008 06:08 PM
Hello Lanny22,
Kevin hit both points head on. For an example of how to use to use a "dummy" task for the digital output sample clock open LabVIEW and go to Help» Find Examples... Then navigate to Hardware Input and Output» DAQmx» Synchronization» Multi-Function» Multi-Function.llb\Multi-Function-Synch AI-Read Dig Chan.vi (this example shows how to use the analog input sample clock for a digital input task) or Multi-Function-Ctr Retrigg Pulse Train Generation for AI Sample Clock.vi shows how to use a counter to generate a clock.
As far as not seeing output stopping the task "immediately" could be the cause. Also, if it does let you use the 10 MHz clock as the sample clock the output is very fast so unless you have a triggered scope you might miss it. Another possibility is that the task is erroring out and not generating any samples. I think correcting the first issue should fix the second after you add in the Wait Until Done like Kevin suggested.
Cheers,