Hi mwalter64,
It appears that your issue may be with the task you are using. A task can only have one "type" of channel in it, so I believe you need to separate the DO and the Ctr into two separate tasks. Other than this, it looks like you are on the right track with using the Ctr0InternalOutput to control the speed of both tasks. In order to keep things straight, I would also configure one task before the other. What I mean by this is to go through the following steps in order:
CreateTask
Create DO Chan
Cfg Sample Clock
Write DO \\Be sure autostart is F
Start task
CreateTask
CreateCOPulseChanFreq
CfgImplicitTiming
Start Task
WriteCtrFreq
Stop both tasks
clear tasks
etc.
I hope this helps, if its not clear, post again and I will try to clarify.
Neal M.
NIC AE
www.ni.com/support
SR#: 1039621
Neal M.
Applications Engineering National Instruments www.ni.com/support