Hello Guest it is September 28, 2023, 04:41:01 PM

Author Topic: IsMoving - VS2013  (Read 2736 times)

0 Members and 1 Guest are viewing this topic.

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)
Re: IsMoving - VS2013
« Reply #1 on: March 10, 2018, 04:00:55 PM »
Found my problem. I had a data conversion issue :)