1
Brains Development / Re: screen4 to brain button on/off vacuum table
« on: February 06, 2009, 03:39:04 AM »
Hi Poppabear,
Thanks for the help.
I did not end up using the script you sent me but it did send me down the right road of VB.
I found hot topic 4208.
I did not know that I had to edit the button from within Mach3 itself.
and ended up writing this:
If (GetUserLed( 2010 )) Then
SetUserLed( 2010,0 )
Else
SetUserLed( 2010,1 )
End If
End
I then look at LED2010 with A brain.
Every thing looks like it is going to work well so thanks again and I hope to help
someone ealse some time.
Regards
David.
Thanks for the help.
I did not end up using the script you sent me but it did send me down the right road of VB.
I found hot topic 4208.
I did not know that I had to edit the button from within Mach3 itself.
and ended up writing this:
If (GetUserLed( 2010 )) Then
SetUserLed( 2010,0 )
Else
SetUserLed( 2010,1 )
End If
End
I then look at LED2010 with A brain.
Every thing looks like it is going to work well so thanks again and I hope to help
someone ealse some time.
Regards
David.