Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10845 Error occured at AI buffer

I use NI-DAQ 6062E for continuous data acquisition ( laptop 1.6 Intel core 2 duo, 1.49 RAM). 2 analog channels are sampled simultaneously at 200 kHz rate. Input range is -10 + 10 V. VI converts data into .wav files. Got error -10845 right away and was not able to record anything. LabView student version 7.0. VI records both channels continuosly at specified time chunks, i.e. 30 seconds, 60 seconds, etc
0 Kudos
Message 1 of 4
(3,348 Views)

Hi kodzaks,

You are experiencing this error because PCMCIA DAQ devices do not support DMA transfers, they are interrupt-driven. More information on how to correct this error can be found in KnowledgeBase 13JCCRVK: Error -18045 or -10843 Using DAQCard-AI-16E-4.

Post back if you have any questions. Have a great day!

Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 2 of 4
(3,316 Views)
But I thought that my laptop is kinda fast, is 1.6 G RAM not fast enough?
0 Kudos
Message 3 of 4
(3,313 Views)

Hi kodzaks,

At the top of page 6 of the 6062E Specifications the FIFO buffer size is listed at 2048 Samples. If you are sampling at 200 kHz on two channels, that’s 400 kSamples/second total, you will generate 800 kB of data every second. Your computer will have to perform nearly 196 interrupts every second to clear the FIFO buffer. I agree that this doesn’t seem like it could be the problem, especially considering that the PCMCIA bus has a bandwidth of 20 MB/s, but if your operating system decides that it would rather refresh the screen or check your email for new messages, you might overflow your buffer. So make sure that when you run your acquisition that you aren’t running any other programs and that you aren’t performing any unnecessary processes in your program during that time. For example, don’t convert your data into .wav format until after you’ve completely finished your acquisition.

Try running one of the shipping examples with the same timing parameters. They can be found in the Example Finder in LabVIEW (Help » Find Examples…). If you’re using DAQmx browse by Task to Hardware Input and Output » Analog Measurements » Voltage or if you’re using Traditional DAQ browse by Directory Structure to daq » analog_io » anlogio.llb to find relevant examples.

Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 4 of 4
(3,296 Views)