RoboDK Forum
CMD循环= 1功能不工作——打印中on

+- 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: CMD -Loop=1 function not working (/Thread-CMD-Loop-1-function-not-working)



CMD循环= 1功能不工作-JobdV-09-22-2021

Hi!

Could anyone explain me why this -loop=1 function is not working from CMD? The correct file is already running.

C:\Users\MyName>C:\RoboDK\BIN\RoboDK.exe -RunProg=DrillingPart -Loop=1

Initial command: C:\Users\MyName>C:\RoboDK\BIN\RoboDK.exe "C:\RoboDK\Library\Example-01.b-Robot Drilling - KUKA.rdk"


RE: CMD -Loop=1 function not working-Albert-09-23-2021

The Loop option is an item-specific action and it does not work as a normal RoboDK command.

If you save your project with the program set to run in a loop it will automatically run in a loop when you use the RunProg command.


RE: CMD -Loop=1 function not working-JobdV-09-23-2021

Thank you! Yes, I think that would be the best solution then.