Hej Hood,
Your code works fine, now I try to add next UserLED to probe button. My intension is to set my LED when a probe button was pressed, and turn them off when probing is finished. I add to macropump
If button34 = 1 Then
SetUserLED(1406,1)
Else
SetUserLED(1406,0)
End if
but It doesn't work.
It is a little strange for me, that all buttons with my different macros have the same number 34. Can I change a button number?
Amnon