my name is Pierre and I wrote a plugin for my manual 3D-probe from Tschorn to calculate the center of a circle. I probe 3 points and then my plugin calculates the midpoint. Then I want to run several G-Code commands in a row. But C# is too fast in processing. How can I run one command completely before the next one starts?
e.g.:
- Code: Select all
private void button7_Click(object sender, EventArgs e)
{
UC.Callbutton(109); // Homing Z
UC.Callbutton(108); // Homing Y
UC.Callbutton(107); // Homing X
}
When I click on the button, it shows a strange behaviour and do random homing...
Thank you for your help.
Kindly regards,
Pierre