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