Why I Get Error -50103 When Using Several Counters On DAQ Device?

Updated Aug 6, 2018

Reported In

Hardware

  • Multifunction I/O Device

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I'm using M Series DAQ devices. I want one counter generate continuous pulse, and another generate finite pulse train. However, when I write code and run, I get the following error.

Why do I get this error and how can I fix it?

Solution

The problem occurs because the number of actual counters used differs depending on the counter task type. Especially in situations like the attached code below. See the snippet below.

For the M Series DAQ based on the STC II chip, two counters are used to generate the finite pulse train. Refer to the table below for a comparison of the counters of the DAQ devices by series.
As you can see in the table, in the case of the errors covered in this article, the M Series DAQ device has two counters, and the resource error occurs because the finite pulse task requires two counters.
 
Counter FunctionE SeriesM SeriesX Series
Counter / Timers2, 24-bit2, 32-bit4, 32-bit
Counter Timebase20 MHz80 MHz100 MHz
Quadrature Encoder InputsNoYesYes
Digital Debouncing FiltersNoneUsable with
Counte Tasks Only
 
Available on All
Digital  Lines
Max Rate Benchmark for
Buffered Counter Input Tasks
150 kHz on
a single Counter (PCI)
380 kHz (PCI) 
1194 kHz - 621x single counter
10 MHz on all
four  counters (PCIe)
Buffered Counter Outputs?NoNoYes

For a more general solution to Error -50103, Please refer to the Resolving NI-DAQmx Error -50103 in LabVIEW.

WAS THIS ARTICLE HELPFUL?

Not Helpful