Randy,
Thank you for clarifying the situation. Dynamically creating the task with DAQmx Base Create Task was the answer to my problem.
I am, however, having another issue happening with this. If I start LabVIEW and load my VI, it runs smoothly. However, if I close the VI (NOT LabVIEW), and open it back up I get the Error 15 message again.
Restarting LabVIEW cures this.
What could cause this type of behavior?
Sincerely,
Igor