Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: Tomas on January 28, 2015, 06:32:45 PM
-
Hi,
Can someone point me to which variable/s would be the equivalent of the vbscript function IsMoving?
Thanks,
Tomas
-
Hi Tomas,
I have the same problem. Had you found a solution
BR
Gerhard
-
IMach4.GetScriptDispatch() returns an
IMyScriptObject interface which contains
Function IsMoving() As Integer
-
Hi,
This is what I did.
int MachIdle (void)
{
if ((Engine->TrajHead == Engine->TrajIndex) && MainPlanner->ExternalStill == TRUE)
{
Engine->Sync = true; // Update posistions with Mach3
return 1;
}
return 0;
}
-Tomas
-
Hi
and this Engine->sync handles the ismoving() on Mach3 side ?
Thanks
Gerhard