Entradas

Mostrando entradas de noviembre, 2019

CPU and memory usage

Imagen
Along the lines of the last post , I'd like to show you a simple .NET way to check CPU and memory usage percentage, a nice asset in resource-consuming applications. Here you have an application example with these VIs: Both are based in performance counters, so use the correct init VI and just ask periodically for the current value, as shown. If any error arises, it usually comes from the constructor, so check the System.PerformanceCounter options and look online for updated values. Download (LLB for LabVIEW 2016) See ya! ;-)