08-23-2021, 05:21 PM (This post was last modified: 08-24-2021, 03:14 PM by Albert.)
In some case, the ItemUserPick() method will make the whole application froze.
To reproduce using the existing C++ Sample application, simply:
- start the sample
- click on "Integrate RoboDK Window"
- add a first robot in the station, then a second, then a reference frame (like in the attached screenshot)
- click on the "Select Robot" button
The sample is frozen.
I have the same problem with our integration of RodoDK window inside a Qt application.
I think this issue is related to RoboDK's main loop being blocked when you use a Qt application. This issue will happen when you use embedded windows with RoboDK and you display a blocking dialog from RoboDK using the API.
You could create your own version of this popup box (ItemUserPick) by retrieving all the items and let the user choose one.