LabVIEW数据采集时buffer size是否一定要不小于采集的点数?
时间:12-13
整理:3721RD
点击:
利用LabVIEW控制NI的数据采集卡进行数据采集,通过AI Config.vi设置buffer size
的大小,通过AI Start.vi设置number of scans to acquire的大小。当
number of scans to acquire大于0时(采集固定的数据点数),是否buffer size
必须大于number of scans to acquire?
我的程序当中,如果buffer size小于number of scans to acquire,会出现错误提示,
提示信息如下:
Error -10089 occurred at an AI Control.vi.
Possible reasons:
NI-DAQ LV: The total count is inconsistent with the buffer size and pretrigge
r scan count or with the board type.
.139
re,当total number of scans to acquire >0的时候是一个前触发采集,labview要用buffer size 减去 number of scans to acquire 来获得触发后采集点数,所以buffer size 要
>=number of scans to acquire
.10
多谢!
可是我在采集程序中没有设置为触发模式,进行no trigger的采集,程序执行
AI Start.vi之后就开始采集了,您所说的“触发后采集点数”是指什么时刻之后
采集的点数呢?
.139