Error -200089 Using DAQmx Create Task

Updated Jul 26, 2023

Reported In

Driver

  • NI-DAQmx

Issue Details

  • Why can I run my DAQmx code only once? When running it a second time, I receive error
Error -200089  occurred at DAQmx Create Task
Task name specified conflicts with the existing task name.
  • The first time I run my DAQmx code it works fine, but every subsequent time it errors out?
  • Why do I get Error -200089 from the DAQmx Create Task VI?

Solution

When using the DAQmx Create Task VI in LabVIEW, you can save the task in Measurement & Automation Explorer (MAX) for future use by entering a task name in the New Task Name terminal. This prevents any future attempt to run the program because of a duplicate resource name for the task.

There are four options to resolve this issue: