LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check CPU usage and Paging using LabVIEW

Solved!
Go to solution

Hi Guys,

 

I have to build an application which is used to check the CPU usage and Paging using LabVIEW. How do i do it??

any help, suggestion or hints will be greatly appreciated..

 

Regards,

 

Prashant

0 Kudos
Message 1 of 4
(3,286 Views)
Solution
Accepted by topic author Prashant.C.S

Hi,

 

If you are planning to design your application for Windows you can use the .NET classes. (System.PerformanceCounter), there is a simple example shipped with LabVIEW :

 

C:\Program Files\National Instruments\LabVIEW 2010\examples\comm\dotnet\SimpleTaskMonitor.llb

 

exemple.PNG

 

Also you have several VIs that you can use to check infos about the processor.

 

exemple2.PNG

 

Regards,

Da Helmut
Voir le profil de Maxime M. sur LinkedIn - View Maxime M.'s profile on LinkedIn
0 Kudos
Message 2 of 4
(3,274 Views)

Hi Maxime,

 

Thanks for your help. Is there any other method so that i don't use .net classes and still achieve it?

0 Kudos
Message 3 of 4
(3,256 Views)

Hi,

 

Maybe you can use the Windows API too (system DLL, etc), but it will still depend on your OS. You can use the Conditional Disable Structure to make it usable with other OS if you know how to do it (Linux, MacOS, etc).

 

Regards,

Da Helmut
Voir le profil de Maxime M. sur LinkedIn - View Maxime M.'s profile on LinkedIn
0 Kudos
Message 4 of 4
(3,239 Views)