I’ve run into a really annoying problem with the General Robot programming language.
If I addeven a simple WHILE loopto a robot program —while the simulation is STOPPED— Visual Components immediately throws:
Error: While loop goes through over 1000 times
And in some cases itcrashes the entire software. After this happens, I can’t even open or edit the robot program anymore because the same error pops up every time I click the program. The layout basically becomes unusable.
This happens even if:
The simulation is not running
The program is not started
The WHILE loop is empty or unfinished
It looks like VC starts executing/validating the robot program automatically the moment I add the WHILE loop, and if the condition is true, it instantly loops 1000+ times and kills itself.
My question: 有谁知道这个问题是否有修复方法或临时解决方案?或者有没有办法在编辑机器人程序时禁用自动执行/验证?目前我甚至无法完成编写一个正确的传感器循环,因为程序在完成之前就崩溃了。如果有什么技巧或我漏掉的设置,我将非常感激。谢谢。
**BAD**
2025年11月21日,凌晨1:21
**2**
嗨,
这听起来很奇怪,我无法重现这个问题(在VC 4.10 OLP中)。如果可以的话,你能提供你的模拟环境吗?
**PyhiS**
2026年1月9日,下午12:13
**3**
你好,
你解决这个问题了吗?我使用的是OLP 4.9版本,与学院视频中使用的版本相同。我遇到了类似的情况。每当我尝试放置超过一个while循环时,就会出现错误:
While循环超过1000次。
我尝试用变量限制循环,但每次在程序中添加第二个循环时,错误就会出现。
有什么建议吗??
**PyhiS**
2026年1月9日,下午12:13
**4** Or is there a way todisable automatic execution / validationwhile editing a robot program?
Right now it’s impossible to build a proper sensor loop because the program crashes before I can even finish writing it.
Any tips or settings I’ve missed would be greatly appreciated.
did you solve this? I´ve got OLP 4.9 version which is the same as is used in Academy videos. I´ve got similar kind of situation. When ever I try to put more than one while loops the error appears:While loop goes over 1000 times.I have tried to restrict the loops with variables but always when I put the second loop to the program, the error appears.
I run this error when I was doing the Palletizing robot programming in Academy videos. Time in video is 12:50 when he creates three while loops. And also one is made before and the hole main program is inside this. In this attached file I made the second while loop and instantly the error appears. And if I now make one more and move it inside the previous one, the program crashes.
This also appears if I just add Generic Articulated Robot in blank project and then add three While-loops to its program