版本:labview 8.0
作業系統:XP
硬體:USB-6229
問題:
Error -200279 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:5
Possible reason(s):
Measurements: Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value:
Task Name: _unnamedTask<6D>
原本將sample rate 取1kHZ ,sample to read 是100 ,但一下子就出現在上述的問題。
後來將 rate 取100HZ,也是出現上述的問題。
請問該如何解決呢?
已解決! 轉到解決方案。
所附的VI,其中DAQ Assistant的sample to read設為100,time為1k。
的話就不會有上述的情況,但是這樣的取樣數對我來說太少了,沒辦法看出他的輸出電壓變化??
還是該如何調配呢??
謝謝
在 10-26-2009 03:26 AM
試試下面
sample rate =1k
sample to read = 1k
若是把上述的兩個都取1k問題就解決了。
但是假設rate取10k;sample to read取1k. 就沒辦法了??
有看到DAQ裡有一個CLOCK的東西,不知道該如何設置呢??
我使用的是labview 8
DAQ:usb-6229
系統:XP