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: Does anyone know if there is a fix or workaround for this? 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.
Little bit more info. The error appears when I put the second while loop inside the first one. And I also tried to put a third one inside the second one and that shuts down the VC software.
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