04-15-2022, 09:32 AM
A quick answer to your first question is that yes, you can connect to an instance of RoboDK remotely by starting the Robolink object on your client PC and providing the IP.
Example:
Make sure RoboDK is running on the Raspberry Pi so you can connect from your Windows PC or any other remote client (you can start it manually or as a service).
RoboDK instances on linux/raspberry make the API available from external clients by default (this is not the case on Windows and you would need to make the API reachable from other computers in Tools-Options-Other). Make sure you are using a valid IP to connect.
在我看来,安装工作。你可以validate by starting RoboDK on the Raspberry Pi.
Example:
Code:
RDK = Robolink("raspberrypi")
# or any valid IP
RDK = Robolink("192.168.1.100")
RoboDK instances on linux/raspberry make the API available from external clients by default (this is not the case on Windows and you would need to make the API reachable from other computers in Tools-Options-Other). Make sure you are using a valid IP to connect.
在我看来,安装工作。你可以validate by starting RoboDK on the Raspberry Pi.