Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 4.66 out of 5     Rate this Document

Error -10010 When Using Odd Buffer Sizes With Certain S Series and Analog Output DAQ Devices

Primary Software: Driver Software>>NI-DAQ
Primary Software Version: 7.3
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PCI-6733, Multifunction DAQ (MIO)>>S Series>>PCI-6115, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PCI-6713, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PXI-6733, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PXI-6713, Multifunction DAQ (MIO)>>S Series>>PXI-6120, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PCI-6711, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PXI-6711, Multifunction DAQ (MIO)>>S Series>>PCI-6120, Multifunction DAQ (MIO)>>S Series>>PXI-6115

Problem:
My data acquisition (DAQ) device returns error -10010 when I specify an odd number of samples to acquire or updates to generate. Why?

Solution:
The FIFOs used on some DAQ devices require that data is transferred in 32-bit increments. A single 16-bit sample cannot be transferred to/from the FIFO. For that reason, the number of samples to acquire or the number of updates to generate must be a multiple of 2. If the specified buffer size is not a multiple of 2, the Traditional DAQ driver returns error -10010. This requirement affects the following devices:
  • NI 6120 Simultaneous-Sampling Multifunction DAQ
  • NI 611x Simultaneous-Sampling Multifunction DAQ
  • NI 6711/13/15 Analog Output
  • NI 6731/33 Analog Output

Note: Using DAQmx instead of Traditional DAQ, this error is avoided. See the KnowledgeBase 3NRBDARM linked below.



Related Links:
KnowledgeBase 3NRBDARM: Why Does My 12- or 16-bit NI-DAQ Board Only Return Even Numbers of Samples When Using Continuous Analog Input Operations?
Developer Zone Definition: What Is a FIFO?
Developer Zone Example: FIFO vs. Non-FIFO Mode Analog Output
KnowledgeBase 133F5FBS: Why Do I Get Error -10010 with My DIO-32HS Board?
Product Manuals: Analog Output Series Manual
Product Manuals: S Series User Manaul


Attachments:





Report Date: 03/07/1999
Last Updated: 11/06/2008
Document ID: 1J6MCMIN

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