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);
}