Jump to content

Getting Processor Usage from LabVIEW


Recommended Posts

QUOTE(chrisdavis @ Sep 11 2007, 08:45 PM)

I was contemplating adding a processor usage display to one of my CPU hungry programs. At NI week 2007, one of the demo's, specifically one on Tuesday demonstrating the new multi-core parts of the timed loop had such a display. Does anyone know how they did it, or how I might add such a display to my program?

My best bet is .Net although I think the WinAPI will also give you this information on a somewhat lower level and probably not exactly trivial to access. Possibly LabVIEW has some private hooks itself. Would make sense to have this info in LabVIEW somehow to make it platform independant.

Rolf Kalbermatter

Link to comment

QUOTE(rolfk @ Sep 12 2007, 08:12 AM)

My best bet is .Net although I think the WinAPI will also give you this information on a somewhat lower level and probably not exactly trivial to access. Possibly LabVIEW has some private hooks itself. Would make sense to have this info in LabVIEW somehow to make it platform independant.

Rolf Kalbermatter

There is a LabVIEW example "SimpleTaskMonitor" that uses the .NET interface to get information from the performance counters in the system assembly.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.