Hello Guest it is March 28, 2024, 06:12:02 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.


Topics - warcomeb

Pages: 1
1
hi!
I am at the end of the development of my movement plugin, but i have some problem during jog motion: how can I update the coordinates on the GUI of the Mach when I'm jog motion? which variable should I update?

regards
Marco

2
Hi, sorry for my english!
I develop a plugin for an italian company that use Mach3.
I try to connect Mach3 with USB... before this I try to print in a console data inside Engine->Trajectories array after load a gcode, with this simple code:
Code: [Select]
void USBPlugin::update (void)
{
    if (Engine->TrajHead == Engine->TrajIndex)
    {
        PluginConsole::getInstance()->printMessage("Same positions...");
        return;
    }
    else
    {
        Engine->TrajIndex++;
        PluginConsole::getInstance()->printMessage("New positions...");
    }
}
this function is called by myUpdate().

When I run the application and stop with breakpoint the trajectory elements are all empty.

Can you hel me?

best regards
Marco Giammarini

Pages: 1