11-18-2007 06:23 PM
11-19-2007 11:42 AM
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!
11-19-2007 12:04 PM
11-20-2007 05:12 PM
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.