About the "RunScript" command in TCP-IP-CR-Python.


#1

image
I downloaded TCP-IP-CR-Python from github and use it.

Now that I have run main.py and verified that it works, I am trying to add the RunScript command as the next step.
I have modified the ui.py file and added a button for RunScript.

The example in the documentation says “RunScript(demo)”.
but where can we load this demo script from?
Where do I save scripts created in DobotStudioPro?

CR3, win10, python 3.8.4.

Thanks.


#2

Dear mat
Nice to See u here,
Could u give me the link of this page?
Thx u
Best wishes


#3

Sorry for the late reply.
I have resolved the issue myself.
https://www.trossenrobotics.com/docs/dobot_cr_cobots/tcpip_protocol/functions.html#runscript
I worked with the above page.
It worked fine when I wrote “RunScript(“demo”)” instead of “RunScript(demo)”. It was because I was not familiar with python and did not put “”.