CPU and memory usage

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! ;-)

Comentarios

Entradas populares de este blog

SNMP library for LabVIEW

Base64 Encoding

Retrieve CPU temperature