Frank,

Yes I have seen this too on my 300Mhz Pentium II.  If you think about it carefully then it does make sense.  The internal workings of the On cycle object are running VERY fast and only output a trigger after 1 second.  The routine to keep the timer is still looping round which is why the CPU is hogged.  The same thing happens with Until Break Objects.  I am not aying that I like this situation, this is an explanation why this occurs.  The only way round this is to look at your program and see if you really need to do this.  

-------------------------------------------------------------------------------------------------------------
Adam Kohler           Unix Mail:adamk@hpsqf.sqf.hp.com
Quality Assurance     Phone (UK):  0131 335 7680
Queensferry Microwave Division   
Hewlett-Packard Ltd         Telnet: 313 5680
Station Road                Mail Stop: SQF5L5D
South Queensferry
West Lothian
EH30 9TG        
--------------------------------------------------------------------------------------------------------------

-----Original Message-----
From:	fcarey@schafercorp.com [SMTP:fcarey@schafercorp.com]
Sent:	03 July 1998 01:32
To:	hpvxd_xc@hpislsup.lvld.hp.com
Subject:	VRf-CPU Usage Question

Dear Members of the VRf:

I was running a very simple program in HP-VEE 5 when I noticed that the CPU
usage indicator was pegged at 100%.  The program was just an On-Cycle loop
object connected to a Counter and set for 1 second cycle time.  I checked
further and HP-VEE was indeed using over 97% of the CPU while running this
simple program.  I also found that HP-VEE 4 acted the same way.  I checked
this on two other computers and found the same indication that HP-VEE is a
CPU hog . All computers are running Windows NT4 Service Pack 3, all have 64
MB RAM, with one computer being a 200MHz MMX Pentium, one a 266 MHz Pentium
II and the third a 333 MHz Pentium-II.  In all cases, HP-VEE is set at
normal priority.

Has anyone else noticed this, and more importantly, can anyone suggest why
this is occurring?

Frank Carey
Computer Application Scientist
Schafer Corporation
Energy & Environment Division
303 Lindbergh Avenue
Livermore, CA 94550
fcarey@schafercorp.com <mailto:fcarey@schafercorp.com>  

(925) 447-0555 x212       (925) 447-0579 /fax