为什么我在使用6533/6534板卡时会得到错误-10010
主要软件: Driver Software>>NI-DAQ
主要软件版本: 7.2
主要软件修正版本: N/A
次要软件: N/A
硬件: Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>PCI-6534, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>DAQPad-6533 for IEEE 1394, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>PCI-DIO-32HS-T, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>PXI-6533, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>PXI-6534, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>PCI-6533, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Analog Output>>NB-AO-6>>High-Speed Digital I/O>>AT-DIO-32HS, Reconfigurable I/O (RIO)>>R Series>>USB-7855R>>Digital I/O>>AT-DIO-32HS
问题: 如果配置NI6533/6534为握手模式或I/O模式在一个端口中生成,然后设置缓冲区大小为奇数字节,我就会得到错误-10010
解答: 这块板子是16-bitDMA传输,所以你的缓冲区应该是两个字节的倍数。如果设置缓冲区大小为奇数字节,就会得到错误-10010
两种解决方案:
1. 读取/写入偶数的数量计数
2. 配置2个端口为一组,并且放弃使用第二个端口
还有一个原因会导致这个错误就是你试图在数据未写入缓冲区之前开始输出任务。在开始缓冲任务输出中,有很重要的一点需要知道,在开始生成任务前先写入数据。
相关链接: 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 Tranditional NI-DAQ
附件:
报告日期: 11/04/1997
最近更新: 07/29/2015
文档编号: 133F5FBS
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.