This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Number of Parallel DAQmx Tasks on NI Multifunction Devices

Updated Jul 26, 2023

Reported In

Hardware

  • Multifunction I/O Device

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DAQmx

Issue Details

  • I have a PXI/PXIe DAQ, PCI/PCIe DAQ card or a USB DAQ device (63XX, 62XX, 61XX and 60XX Series devices). How many DAQmx tasks of each kind can I run simultaneously on the same device?
  • I receive Error -200262 when trying to run the a Current Output On Demand Task with multiple channels on different devices. 

Solution

In a multifunction DAQ device, the total number of possible concurrent tasks depends on whether you are running tasks that use hardware timing or software (on demand) timing .
 

Hardware-Timed Tasks

Hardware-timed tasks require timing information from the System Timing Controller to use for sample clocks, reference clocks, triggers, etc. The following table illustrates the number of hardware-timed tasks available to the user.

 

Hardware-Timed Tasks
# of Tasks per Device
Analog Input1
Analog Output1
Counter InputN††
Counter OutputN††
Digital Input1
Digital Output1
 

Software-Timed Tasks

Most software-timed tasks do not require a signal from a System Timing Controller in order to run. Software-timed means the host computer is controlling how often a sample is read from or written to the module.

 
Software-Timed (On Demand) Tasks# of Tasks per Device
Analog Input1
Analog Output1 Task for each AO channel†††
Counter InputN††
Counter OutputN††
Digital Input1 Task for each digital line capable of Digital Input
Digital Output1 Task for each digital line capable of Digital Output

Note: Some digital output devices require reserving and starting each DAQmx task in a specific order. If DAQmx Start Task is producing error -201133, see Error -201133 in LabVIEW™ When Running Multiple Digital Output DAQmx Task .

It is possible to have Hardware and Software tasks running simultaneously, considering the maximum number of tasks for each timing mode.

††The number of counter tasks is always limited by the number of counters you have. Depending on whether you are using a counter task that uses multiple counters (like measuring frequency using the two counter method), you may be restricted to fewer counter tasks.

†††67xx cards have one DAC for every four channels, so for these cards you only use one task for every 4 AO channels. In LabVIEW, you will sum them up in a style like Dev1/ao0:3, Dev1/ao4:7, ... etc.

Additional Information

Multiple channels can be combined in one task using channel expansion. The options and methods available for doing so will vary slightly from device to device. Please refer to the "Related Links" section below to learn more.