LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I tap into "CPU" usage for a FP indicator

I have built a realy effective database cruncher...With exeptionally easy graphing functionality. The problem is the opperators will not let the dbase read / filter before they start doing the elevator button thing. I currently have the clocks set to use aprox 60~75% CPU during the read and/or filter. How do I tap into the pc cpu usage for an indicator. I think it will lower there pain if they can see that the pc is working hard.

Message Edited by MHarrington on 04-30-2007 10:12 PM

0 Kudos
Message 1 of 7
(3,142 Views)
Open your example finder and look for the example "SimpleTaskMonitor.vi". 🙂 (search for .NET)
Message 2 of 7
(3,126 Views)
You can also use the ActiveX control, as discussed in this thread: http://forums.ni.com/ni/board/message?board.id=170&message.id=182535
Message 3 of 7
(3,080 Views)

Hi Altenbach,

You ve taught me a good lesson.

- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 7
(3,058 Views)

Altenbach,

I tried to go thro' the example you had mentioned...

I cant select the .NET Constructor Node category. My system doesnt show up all those stuff.

Do I need to install .NET first to see all those Constructor categories ?

Please explain me in more detail. I cant understand this. Smiley Sad

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 7
(3,057 Views)
Parthabe,
   Yes .net is required & 1.* does not support the cpu performance function...I pulled in 3.0 but have not had a chance to test it for the cpu performance yet.
0 Kudos
Message 6 of 7
(3,051 Views)
You may want to consider the following:
  1. Disable buttons/front panel while numbers are crunching to prevent operators from doing something they shouldn't.  You may want to leave an abort button active.
  2. Use the cursor VIs to show a busy cursor.
  3. Pop up a dialog telling the user there is work going on.  A progress bar would be great, if you have the information available.  This does not have to be modal.
0 Kudos
Message 7 of 7
(3,022 Views)