Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
5 ratings:
 2.79 out of 5   

Simultaneous Analog Output Tasks on the Same Device



Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Multifunction DAQ (MIO)>>E Series, Multifunction DAQ (MIO)>>S Series, Multifunction DAQ (MIO)>>M Series

Problem:
When I try to do more than one analog output task at the same time for one device, I receive Error -50103 - specified resource is reserved. How can I perform multiple analog output tasks at the same time with one device?



Solution:
When using E, M, S, X, or AO Series DAQ devices, you can do one hardware-timed analog output task. However, most devices also support performing one or more software-timed tasks simultaneously with one hardware-timed task. This functionality allows the device to generate different signals with different timing characteristics at the same time on the same device. See the NI Developer Zone Example linked below for an example of running a hardware-timed task and a software-timed task simultaneously.

Inside of a hardware-timed task you can include multiple AO channels. These channels will share the same timing information because they will share the AO sample clock. However, different signals can be output on each channel. See the NI Community Example linked below for an example of running multiple hardware-timed tasks simultaneously.

Note: NI 672X devices do not support performing a hardware-timed task simultaneously with one or more software-timed tasks.



Related Links:
KnowledgeBase 4T6CQKBP: Causes of NI-DAQmx Error -50103 "The Specified Resource is Reserved"
Example Program: NI-DAQmx: Multiple Analog Output Tasks Simultaneously
NI Community: Multiple Channel Analog Output with Dynamically Updated Waveform Attributes
KnowledgeBase 5QJHRL2P: Easily Synchronize and Trigger NI-DAQmx with Channel Expansion
KnowledgeBase 63SB51HI: How Many Different Tasks Can I Concurrently Run on a Gen II CompactDAQ Chassis?
KnowledgeBase 6HFCRH4S: How Many Tasks Can I Concurrently Run on a NI cDAQ-9172?




Attachments:





Report Date: 12/30/2005
Last Updated: 09/29/2017
Document ID: 3STFMI46

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit