You can connect to the internal dashboard server from within the robot program. This should allow you to close the popup.
I made a quick example of closing a popup. Make sure the robot is in remote mode, if you’re using an e-series robot.
Thanks. It works well. and we use it without an extra Thread or event. We include it in the main program (we want to refresh a Popup so we close it befor open)
you could also consider just using textmsg() instead of popups.
It will put a message in the log, so you have a nice overview that shows what was finished at what time.