Machsupport Forum
		Mach Discussion => VB and the development of wizards => Topic started by: BR549 on July 13, 2011, 10:55:35 PM
		
			
			- 
				Has anyone figured out a way to Suspend a macro so you can do a Jog move in mach then press a KEY to return to the macro ??
 
 I think it is time to ask for a
 
 Sus WhileDo()
 Susend
 
 How about it Mathew???
 
 (;-) TP
- 
				I won't ask why....
 
 how about...
 
 setVar(1000,0)
 while getVar(1000)=0
 sleep (100)
 wend
 
 and then in a button
 
 setVar(1000,1)
 
 Ian
- 
				OK that is a common hold state(;-) will it allow one to do other things such as JOG while it is active?
 
 Trying to only use 1 button(;-). There are ONLY so many buttons on the hand pendant and 20 buttons on a useable pendant does not work(;-) Might as well have the keyboard in my hand. LOLOLOL
 
 Just a thought(;-)TP
- 
				OK that is a common hold state(;-) a what?
 
 will it allow one to do other things such as JOG while it is active?
 
 That it will sir...
 
 Trying to only use 1 button(;-). There are ONLY so many buttons on the hand pendant and 20 buttons on a useable pendant does not work(;-) Might as well have the keyboard in my hand. LOLOLOL It only uses one button...
 
 You just can't please all of the people all of the time... ;D
- 
				I have used that hold state inside of macros but never from an outside prespective.
 
 YEP testing shows it certainly will allow outside movement while in the hold state (;-)
 
 SO as long as I don't have any other macros running concurrently that use that approach then 1 button it is (;-)
 
 Now the plasma G68 part rotation is a 1 button option.
 
 Thanks Ian, I learn something new almost every day, (;-)
- 
				Thanks Ian, I learn something new almost every day, (;-) 
 Everyone should. ;)
- 
				Would still be nice to have the Sus WhileDo() function With the hotkey declared inside the () as in Sus WhileDo(^F4)
 
 Just a thought(;-) TP