Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

error -10846

I am trying to do two different tasks simultaneously using a PCI-6371 and a NI-4472. I am using the cont acq to spreadsheet file vi to contiuously monitor five channels at 30ks/Sec. At the same time, I am changing the output voltage on one channel of the NI-4472 every 15 seconds with a separate vi.

The example cont acq to spreadsheet file vi runs fine by itself, but gives me the error in my application.

Any suggestions?
0 Kudos
Message 1 of 2
(2,970 Views)
The error you are getting (10846) is a buffer overwrite error. This is a software buffer overflow. The only reason you would get this error when you try to run both VI's simultaneously is because the software cannot keep up with your data aquisition.

This is probably caused by the amount of computing power that your second VI is using and the wait statement.

Experiment with different values for scan rate, buffer size and number of scans to read at a time for the AI program. The best combination will result in little or no scan backlog. A good rule of thumb to start with is: make your buffer size 2 - 4 times as large as the number of scans to read.

Check out KB:
http://digital.ni.com/public.nsf/websearch/75BF35EB4AFB834F862566210065FA61?Op
enDocument

-Sal
0 Kudos
Message 2 of 2
(2,968 Views)