Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How can robot machine learning be realized with RoboDK API?

#14
(07-24-2023, 05:25 PM)Albert Wrote:You should better use the port parameter available on the constructor. Example:

Code:
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.
I thought I could start multiple RoboDKs by specifying the port. However, it seems that ports are assigned in the order RoboDK is started. By changing the starting number of "Port range" from '20500' to '20501' as attached, multiple RoboDKs were assigned ports '20501 to 20503'.


Attached Files Thumbnail(s)



Messages In This Thread
RE: How can robot machine learning be realized with RoboDK API? - bySAT0001- 07-25-2023, 06:33 AM



Users browsing this thread:
1 Guest(s)