Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rrc1962 on November 04, 2010, 10:54:50 PM

Title: Load G-code program externally
Post by: rrc1962 on November 04, 2010, 10:54:50 PM
Hi All...

Is there a way to load a g-code program from another program.  I have an app written in VB.net that writes g-code to a file.  I'd like to have that file load automatically into mach after it is generated.  Is there a way to do this without using the Mach API? 

Thanks
Title: Re: Load G-code program externally
Post by: Tweakie.CNC on November 05, 2010, 03:13:22 AM
Quote
Is there a way to do this without using the Mach API? 


I don't know how to do it but obviously there is a way because LazyCam does just that.

Tweakie.
Title: Re: Load G-code program externally
Post by: rrc1962 on November 05, 2010, 08:37:39 AM
I'd guess that LazyCam, being a mach plug-in, uses the mach SDK.  I can't use the SDK.  I don't have the right version of visual Studio.  I've tried the VS2008 plug-in a number of times but can't get anything beyond the sample apps that it creates automatically to run.  I'm wondering is using a COM connection to Mach would work and if so, how to go about doing it.