Hi,

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.

Thanks.

Hy,
This sounds weird, I didn’t succeed in reproducing the problem (in VC 4.10 OLP), if so, can you provide your simulation environment?

Hello,

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.

Any advices??

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.

Just gave up and coded the movements with python API:sweat_smile:

Could you provide an example simulation file where this happens?

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

Palletizing robot programming.vcmx(400.5 KB)

.

Thanks for the additional details. This seems to be an issue with the OLP product, as the problem does not occur in the non-OLP version.

I will report the issue to the developers, and hopefully we get it fixed in future versions.