07-24-2023, 05:24 PM
You should better use the port parameter available on the constructor. Example:
RDK = Robolink(port=20503)
This will make sure the Robolink instance also uses this port.
The port is also an environment variable set by RoboDK as ROBODK_API_PORT when a Python script is executed by RoboDK. This is handled automatically when this environment variable exists.
RDK = Robolink(port=20503)
This will make sure the Robolink instance also uses this port.
The port is also an environment variable set by RoboDK as ROBODK_API_PORT when a Python script is executed by RoboDK. This is handled automatically when this environment variable exists.