LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AI Buffer problem

I 've 2 AO with a buffer size of 16 384 and a update rate of 16384 S/s ( 1 cycle per buffer). I 've also 10 AI with a buffer size of 256 and a Sacn rate of 256 S /s ( 1 period by buffer and we want 256 point per cycle to save on a file). When i run the VI i had a problem with AI buffer; The program said that it haven't got ythe time to retrieve the data on the buffer .So the VI crash . This happen with or without graphics!! So we want to know why this problem and how to solve it because we use Labview RT v 7.0 with a RT engine PXI 8175 and it's capacities are greater than that !!!
0 Kudos
Message 1 of 2
(2,560 Views)
Hi Romain,

I understand that you are overwriting data in your buffer before the system has a chance to retrieve the data. Increasing the size of your buffer should alleviate this error. If you are using interrupts (IRQ) rather than dynamic memory accesses (DMA) to transfer data from acquisition to system buffers, you could also switch to using DMA since it is faster than IRQ. Note that some data acquisition devices only work with IRQ, not DMA.
Please let us know if these suggestions do not help resolve your issue.

Best regards,
Marcus G.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,560 Views)