1201
General Mach Discussion / Re: Newbie with a few questions
« on: June 27, 2019, 02:35:36 PM »I also purchased the system set-up to use Mach3 USB Controller
USB Controller makes me a Little "nervious",
the rest Looks ok.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I also purchased the system set-up to use Mach3 USB Controller
Open "C:\Mach3\Lasterrors.txt" For Input As #2 ' Open to read file.
Do While Not EOF(2)
Line Input #2, FileData ' Read a line of data.
LineN_1 = LineN
LineN = FileData
Loop
Close #2
SetUserLabel(151,LineN_1)
SetUserLabel(150,LineN)
Open "C:\Mach3\Lasterrors.txt" For Input As #2 ' Open to read file.
Do While Not EOF(2)
Line Input #2, FileData ' Read a line of data.
LineN_1 = GetUserlabel(150)
LineN = FileData
Loop
Close #2
SetUserLabel(151,LineN_1)
SetUserLabel(150,LineN)
Open "C:\Mach3\Lasterrors.txt" For Input As #2 ' Open to read file.
Do While Not EOF(2)
Line Input #2, FileData ' Read a line of data.
SetUserLabel(151,GetUserlabel(150)) ' save message N-1 to userlabel151
SetUserLabel(150,FileData) ' save message N to userlabel150
Loop
Close #2