1
General Mach Discussion / Mach3: Expose APIs from Mach4.Document
« on: April 09, 2019, 12:27:42 PM »
Hi,
I want to get eg. XYZ coord from Mach3; upload G code to Mach3, run G code ... etc., using C++. I found a example called "MachRemote" which can connect to Mach3 via an ActiveObject called "Mach4.Document".
I can run MachRemote now, but I don't know which APIs or commands I can use ?? From source code of MachRemote, I can find
scripter.ActivateSignal()
scripter.GetOEMLed()
scripter.DoOEMButton()
Is there something like ... scripter.CycleStart() or scripter.Reset() ?
where can I get the complete list of exposed APIs from Mach4.Document ?
Thanks a lot.
Regards,
KC
I want to get eg. XYZ coord from Mach3; upload G code to Mach3, run G code ... etc., using C++. I found a example called "MachRemote" which can connect to Mach3 via an ActiveObject called "Mach4.Document".
I can run MachRemote now, but I don't know which APIs or commands I can use ?? From source code of MachRemote, I can find
scripter.ActivateSignal()
scripter.GetOEMLed()
scripter.DoOEMButton()
Is there something like ... scripter.CycleStart() or scripter.Reset() ?
where can I get the complete list of exposed APIs from Mach4.Document ?
Thanks a lot.
Regards,
KC