LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AO Buffer error on Laptop

I get errors on my lap-top but my desktop is OK.
DAQCard-6062E Laptop
PCI-MIO-16E-4 Desktop
If I run the example program "Display and Output Acq'd File (scaled)" it works fine on my desktop. If I run this on my Lap-top I get error on do not allow regeneration. I tryed to change the interupt and DMA settings with no luck. Once again it works fine on my desktop problem on laptop. Any suggestions.
0 Kudos
Message 1 of 2
(2,847 Views)
Hello;

One thing you can try is to disable the data regeneration on your VI.

When doing continuous analog output without regeneration, more data transfers occur than when regeneration is allowed, and these additional data transfers use CPU time. To reduce the amount of CPU time used, you can decrease the amount of data in each transfer.

I'm attaching an example VI that shows how to do that. This example program lowers the CPU usage by breaking the data buffer into sections and transferring smaller pieces of data. For example, with a buffer size of 10K and an update rate 10kS/s, the CPU usage was 100 percent, but after breaking the output into 10 sections, the CPU usage was reduced to less than 10 percent.

Hope this helps.
Filipe A.
Applications En
gineer
National Isntruments
0 Kudos
Message 2 of 2
(2,847 Views)