Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: lethang85 on November 03, 2015, 03:13:30 AM

Title: What is best value in function SLEEP?
Post by: lethang85 on November 03, 2015, 03:13:30 AM
Hello,

I use function Sleep in my Macro. Bellow function sleep:

My Macro:
Code: [Select]
While <Wait Input from Sensor>

Sleep 20

WEnd

If try value sleep: 2; 3;  5; or 10; 15, but Macro seem slower than I put value 20 in Sleep. What is best value in function SLEEP?

Rgs
Title: Re: What is best value in function SLEEP?
Post by: BR549 on November 03, 2015, 07:21:36 PM
There is NO perfect value you use as Much or little as it takes to make teh process work on YOUR machine. Each machine can vary as to teh exact amount required.

(;-) TP