Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RoboDK API Register Event Handler
#1
Hello RoboDK,

I am looking to see if it is possible to have an external application register an event handler for actions in RoboDK? For example, when the user selects an object in RoboDK, is there any event that gets fired that the API could detect? My preference is to avoid sending constant messages to RoboDK checking what is currently selected by the user.

Kind Regards,

Joseph
#2
It is possible to have a Robolink instance that listens to events. This example shows a proof of concept:
https://github.com/RoboDK/RoboDK-API/blo...nt_Loop.py

There is an example with C# code as well.

This instance of Robolink should only be used for events. You can still create other Robolink instances to have normal access to the API.
  




Users browsing this thread:
1 Guest(s)