RoboDK Forum
API: How to kill the RoboDK host from API可打印版本

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: API: How to kill the RoboDK host from API (/Thread-API-How-to-kill-the-RoboDK-host-from-API)



API: How to kill the RoboDK host from API-mFarzanehkaloorazi-07-12-2019

Hi,

I start a RoboDK session Using API by
Code:
RL = Robolink(args='/NOUI, /NOSPLASH /HIDDEN')

So I can interact with RL in the background. But How can I shut it down?
Right now I only do it through task manager.
Is there any argument I can pass into Robolink to quit RoboDK?


RE: API: How to kill the RoboDK host from API-Albert-07-15-2019

You can call RDK.CloseRoboDK()

//www.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Robolink.CloseRoboDK