12-02-2021, 08:04 AM
Hello RoboDK Team,
I am trying to get the current TCP values of the Real robot in my python script. I have done the exact procedure as in RobotsMonitor.py.
I connect to the robot (via the RoboDK userinterface), then I start my python script on the robot. After that I see the current TCP value because I print it to the status bar. As soon as I start my actual Program (Routine) that was created using the C++ API, the values from the Python script suddenly change to the Simulation values. I have tried different approaches as listed in the python examples but nothing works.
I am not going to move the robot in the Python script. I just want to simultaneously monitor the XYZ values of the Real Robot during the execution of another Program (Routine).
Am I doing something wrong?
I hope you can help me.
I am trying to get the current TCP values of the Real robot in my python script. I have done the exact procedure as in RobotsMonitor.py.
I connect to the robot (via the RoboDK userinterface), then I start my python script on the robot. After that I see the current TCP value because I print it to the status bar. As soon as I start my actual Program (Routine) that was created using the C++ API, the values from the Python script suddenly change to the Simulation values. I have tried different approaches as listed in the python examples but nothing works.
I am not going to move the robot in the Python script. I just want to simultaneously monitor the XYZ values of the Real Robot during the execution of another Program (Routine).
Am I doing something wrong?
I hope you can help me.