19431
General Mach Discussion / Re: Axis Home question
« on: April 24, 2009, 09:57:40 AM »
You could probably replace the Start button with a VB one and have something like this in the button.
If GetOemLED(807) Or GetOemLED(808) Or GetOemLED(809) Then
DoOemButton(1003)
Sleep (100)
MsgBox("Axis not referenced")
Else
DoOemButton(1000)
End If
If GetOemLED(807) Or GetOemLED(808) Or GetOemLED(809) Then
DoOemButton(1003)
Sleep (100)
MsgBox("Axis not referenced")
Else
DoOemButton(1000)
End If