Error -200022 or -200587 When Using NI DAQ Device

Updated Mar 20, 2023

Reported In


  • CompactDAQ Chassis
  • Multifunction I/O Device


  • Measurement & Automation Explorer (MAX)


  • NI-DAQmx

Issue Details

I am creating a DAQmx task in LabVIEW using a Test Panel for my DAQ device in Measurement & Automation Explorer (NI MAX) or running an application. When I try to start the task/application I get one of the following errors: 

Error -200022: Resource requested by this task has already been reserved by a different task.

Error -200587: Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx. 


This error occurs when a task is already running on the requested device or when a particular line (or channel) is already reserved on the device. To resolve the error, ensure the following:

  • Ensure there are no other DAQmx Tasks running while the VI is executing
    • Utilize DAQmx clear and close functions to end the tasks as the application finishes executing. 
    • Close out of or stop any other tasks or Test Panels in NI MAX
  • Ensure concurrent tasks do not exceed the maximum number of tasks that the device can support.

Additional Information

If you are continuing to experience this error: