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

Why Do I Get Error -10010 with my NI 6533/6534 Board?

Primary Software: Driver Software>>NI-DAQ
Primary Software Version: 7.2
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Digital I/O (DIO)>>High-Speed>>PCI-6534, Digital I/O (DIO)>>High-Speed>>DAQPad-6533 for IEEE 1394, Digital I/O (DIO)>>High-Speed>>PCI-DIO-32HS-T, Digital I/O (DIO)>>High-Speed>>PXI-6533, Digital I/O (DIO)>>High-Speed>>PXI-6534, Digital I/O (DIO)>>High-Speed>>PCI-6533, Digital I/O (DIO)>>High-Speed>>AT-DIO-32HS

Problem:
If I configure the NI 6533/6534 for handshaking/pattern generation on one port and set the buffer size to an odd number of bytes, then I get error -10010.

Solution:
This board does 16-bit DMA transfers, so your buffer should be some multiple of 2 bytes (16 bits). A buffer size with an odd number of bytes is not a multiple of 2 bytes, so this will result in error -10010 (badCountError).

There are two solutions:
  1. Read/Write an even number of counts.
  2. Configure 2 ports in a Group and discard everything from the second port.
Another reason this error can occur is if you attempt to start a buffered output task before writing the digital values to the buffer. In a buffered output task, it is important to remember to write the values to the memory before starting the generation.

Related Links:
KnowledgeBase 1J6MCMIN: Error -10010 When Using Odd Buffer Sizes With Certain S Series and Analog Output DAQ Devices
NI 6533/6534 for NI-DAQmx Help
Product Manuals: 6533/6534 User Manual for Traditional NI-DAQ


Attachments:





Report Date: 11/04/1997
Last Updated: 11/07/2008
Document ID: 133F5FBS

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