|
variables krishna Ramineni from India [1 posts] |
8 year
|
Hi,
I am using the following code to get some values in mach3 cnc application ,but not getting the values and giving error like not defined variable .
i would like to get the values of COG_X and COG_Y from roborealm API to mach3 software.
Please advise me .
Thank You
Kris
Option Explicit
Set rr = CreateObject("Roborealm.API.1")
If Not rr.connect("localhost",6060) Then
MsgBox("Could not connect to RoboRealm Server")
rr.Close
End
Else
MsgBox("Connected")
End If
rr.cogx1 = getvariable (COG_X)
MsgBox("Image x Value" & COG_X)
|
|
|
Steven Gentner from United States [1446 posts] |
8 year
|
|