Hello Guest it is March 28, 2024, 04:25:32 AM

Author Topic: Load G-code program externally  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.

Load G-code program externally
« 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

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Load G-code program externally
« Reply #1 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.
PEACE
Re: Load G-code program externally
« Reply #2 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.