Hello Guest it is March 29, 2024, 11:17:55 AM

Show Posts

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.


Messages - Raedle905

Pages: 1
1
Mach SDK plugin questions and answers. / Re: IsMoving - VS2013
« on: March 10, 2018, 04:00:55 PM »
Found my problem. I had a data conversion issue :)

2
Mach SDK plugin questions and answers. / IsMoving - VS2013
« on: March 10, 2018, 01:14:47 PM »
I'm using C# with VS2013 Express to communicate with Mach3. Thank you Brian for excellent instructions. https://www.briandorey.com/post/mach3-control-via-c-sharp-winform-application

The program is fine. However, I cannot figure our how to implement "IsMoving". I tried all kind of ways to capture the result of "IsMoving", but my code just runs pass it without stopping/waiting for motion command to complete. Please help! Thank you

               script.Code("G0 x1y2z3");
               
               while (script.IsMoving() != 0)
                {
                    Thread.Sleep(10);
                }

Pages: 1