Archived: 对于某些S系列和模拟输出DAQ设备使用奇数的缓冲大小时,会发生错误-10010

This document has been archived and is no longer updated by National Instruments



主要软件: Driver Software>>NI-DAQ
主要软件版本: 7.3
主要软件修正版本: N/A
次要软件: N/A
硬件: Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PCI-6733, CompactRIO>>Analog Input Modules>>NI 9218>>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, CompactRIO>>Analog Input Modules>>NI 9218>>PXI-6120, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PCI-6711, Signal Sources (AWG/FG/AO)>>Analog Output Devices>>PXI-6711, CompactRIO>>Analog Input Modules>>NI 9218>>PCI-6120, CompactRIO>>Analog Input Modules>>NI 9218>>PXI-6115

问题:

当我指定一个奇数位的采样点去进行采集或者生产的时候,我的数据采集设备(DAQ)会出现错误-10010。为什么?



解答:

一些DAQ设备采用的FIFOs要求数据是以32位增长的。一个单精度的16位采样点无法传进或者传出FIFO。基于这个原因,采集的采样点或者更新的用来生成的采样点的个数都必须是2的倍数,传统的DAQ驱动会返回错误-10010。这个要求影响下列设备:

注意:使用DAQmx来代替Traditional DAQ,这个错误可以避免。见下面的KnowledgeBase 3NRBDARM链接。



相关链接: 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


附件:





报告日期: 03/07/1999
最近更新: 07/27/2015
文档编号: 1J6MCMIN