Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is Error -200279?

Hi,

 

   I m trying to generate a signal ( A sound file with .wav extension) to NI ELVIS II DAQ card and recivieving the same sound signal via the same NI ELVIS II. I get the signal right but it is received only for a very few seconds and then the following error pops out. Can Some body help me out with this? Also Im keeping "Samples to read", "Samples to write" and "Rate" to 8kHz in DAQ Assistant.

 

" Error -200279 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:2

 

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<C> "

Regards
0 Kudos
Message 1 of 2
(3,007 Views)

Hi nolsqn!

 

I think the error is being generated cause you are not reading the samples fast enough, in this case if you are generating and reading at the same rate most likely you will end up losing samples and getting this overflow error. Try increasing the samples to read to double the amount of what you are writing and check if it solves the problem. Since you are using the DAQ Assistant, the buffer size cant be fixed directly so you need to check your rate to determine your buffer size. Im attaching a couple of links related to this issue that i hope can help you:

 

http://digital.ni.com/public.nsf/allkb/7AD4854943BF344186256D6500807935?OpenDocument

http://digital.ni.com/public.nsf/allkb/AB7D4CA85967804586257380006F0E62?OpenDocument

0 Kudos
Message 2 of 2
(2,941 Views)