02-28-2007 08:45 AM
03-01-2007 02:34 AM - edited 03-01-2007 02:34 AM
Hello Sheetal,
Take a look at the .NET example: c:\Program Files\National Instruments\CVI80\samples\dotnet\SimpleTaskMonitor
I never looked at the code, but it seems to me that this kinda does what you are looking for.
Good luck
Message Edited by Wim S on 03-01-2007 09:35 AM
03-01-2007 07:35 AM
03-01-2007 02:42 PM
03-01-2007 02:53 PM
03-01-2007 09:17 PM
03-05-2007 09:18 AM
03-05-2007 09:32 AM
Thanks for the reply.
Yes. I see 0% CPU usuage and bar keep going from left to right.
No, Memory usuage does not change. (memory Usage tab)
No, it is not dual core machine.
I do see all applications listed in Process tab and memory Usage does change there after I click refresh button.
03-05-2007 09:37 AM
When following called both gCPUCounter = NULL and gCommittedBytesCounter=NULL.
System_Diagnostics_PerformanceCounter__Create_2(&gCPUCounter, "Processor",
"% Processor Time", "_Total", 0);
System_Diagnostics_PerformanceCounter__Create_4(&gCommittedBytesCounter,
"Memory", "Committed Bytes", 0);
03-05-2007 10:01 AM