Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: dandumit on April 12, 2007, 08:13:49 AM
-
Hi,
Please tell me if there is a way to integrate Mach3 with an external program like is Dinamic Data Exchange ?
I would like to be able to open another program on same machine and to send movement commands to Mach using a protocol like DDE.
I have multiple applications for this functionality. One of them would be an advanced optical edge finder for example...
Regards,
Daniel
-
I know if a few guys that say they have done this but I have no idea how they did it!
I will talk to them and ask them how they did it
thanks
Brian
-
Here is how they are doing it in VB
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ProcId As String
ProcId = Shell("C:\Mach3\Mach3.exe /p Mach3Mill", AppWinStyle.NormalFocus)
Me.TopMost = True
End Sub
(thank you Dave)
The just send the key commands to Mach3... Or if you are good you could write a DLL that you could talk to that is part of machs SDK...