Error -50103 While Configuring Digital Change Detection Task

Updated May 12, 2023

Reported In

Hardware

  • PXIe-6509
  • PXI-6509

Driver

  • NI-DAQmx

Issue Details

I'm configuring a Digital Change Detection on two different tasks on my PXIe-6509, but when I run the code, I get the following error: 

Error -50103 occurred at DAQmx Start Task.vi:7220001
Possible reason(s):

The specified resource is reserved. The operation could not be completed as specified.

Task Name: _unnamedTask<0>


error 50103.png

Solution

Most DAQmx devices (like the PXIe-6509) only have a single Change Detection Resource available, which means that you can't have multiple tasks configured to do Change Detection in the same device since they will be calling the same resource. Once your code tries to call the second task with Change Detection configured, error -50103 will appear as the resource is already reserved. 

Redesign your code so only one task uses the Change Detection feature.