Are you using the auto-start feature of the DAQmx write VI ? If you wired "true" to the auto-start input or left it unwired, then the auto-start feature is being utilized. If you disable auto-start and explicitly start the task, does the problem persist?