LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

More CPU usage when the UIR file gets open

Hi all,

 

When I open cvi workspace file without uir the CPU usage is around 30%. As soon as the uir file is opened the CPU usage goes to 90% even though I am not running the code. My system has Pentium 4 processor and ram of 2 GB. I am using CVI 2009. Can anyone tell me what is causing the more CPU usage? 

 

Thanks

0 Kudos
Message 1 of 5
(3,178 Views)

Does the usage increase when the editor is in operate mode, or also in edit mode?

Does the usage increase when any .uir is open (with the CVI example programs, for example), or only with this particular .uir?

Does your .uir have timer controls?

 

Luis

0 Kudos
Message 2 of 5
(3,166 Views)

The editor is in edit mode.

 

I have a timer control in uir with an interval 0f 25 milli seconds. The cpu usage came down when I removed the timer. So timer may be causing the more cpu usage?.

0 Kudos
Message 3 of 5
(3,161 Views)
Yes, it may. Although I'm a bit surprised that a single timer would cause that large of a difference. Does the effect vary with the timer interval?
0 Kudos
Message 4 of 5
(3,150 Views)

Hi,

 

This should help Smiley Happy

 

http://digital.ni.com/public.nsf/allkb/7F7C673F921B9099862564C60061E2EC

-Avichal (C.L.A.D)
(AE, NI India)
0 Kudos
Message 5 of 5
(3,143 Views)