LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I was wondering if anyone would have tips to reduce the amount of CPU usage when using DAQmx? Thanks.

Are you talking about CPU usage while doing a particular operation, or just in general? There are definitely ways to reduce CPU usage for specific operations. For example, while performing buffered analog input: periodically check the points available with the read property node and don't call DAQmx Read until the number of points you want to read are available. Make sure you call the LabVIEW "Wait" primitive between calls to the property node, or you won't gain anything in terms of CPU efficiency.

If you're talking about other operations, I can probably help with them, too.

Joe
0 Kudos
Message 2 of 3
(2,523 Views)
Joe,

Thanks for the information. I actually dropped the data rate down to what I needed and that dropped the CPU usage to 3%. No problems since.
Thanks again.

Mike
0 Kudos
Message 3 of 3
(2,489 Views)