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

Retrieving Parameters from ProgramInstructions through the API

we are using the API in order to create programs inside of RoboDK and fill them with Instructions. Later in the process we need to retrieve them again. With GetInstruction() it is already possible to retrieve them and get access to their type and name.
1. How can we differentiate between a LIN or a PTP instruction? As far as I can tell it is only possible to know for example if it is a "InstructionType.Move".
2. How can we retrieve additional Parameters such as the waiting time of a pause instruction and the program which is called by a program call?

Kind Regards
Hi Luis,

Take a look at this example, it shows how to retrieve the parameters dictionary:
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
Hey Sam,
thanks again for the fast answer :)
Kind Regards

Users browsing this thread:
1 Guest(s)