Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:41:25 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Declare Sub Sleep Lib "Kernel32" Command
Pages: 1   Go Down
Print
Author Topic: Declare Sub Sleep Lib "Kernel32" Command  (Read 703 times)
0 Members and 1 Guest are viewing this topic.
Darc
Active Member

Offline Offline

Posts: 150


View Profile
« on: May 16, 2008, 11:10:24 PM »

From what I understand this is meant to help to computer run more efficiently....I think.

Is this meant to be entered into the Macropump like this....

Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)

or am I meant to change the dwMilliseconds to a value??
Darc
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #1 on: May 17, 2008, 08:25:21 AM »

I think with the latest stable release, that you now just put in:

Sleep()

I think Art put it in the later versions of mach so that you could just call that function.

scott
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
BadAdam
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #2 on: May 21, 2008, 06:00:30 PM »

It's in the mach code now. Just been playing with buttons and having to wait for them to update before zeroing them again using a Sleep(500) line.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!