Forum Migration Notice
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Suggestion: Add MaxTime to CamReqImage

veritas
veritas
edited February 2019 in UpFeed
I have been experiencing trouble when adding the switch argument "AwaitComplete" to the instruction CamReqImage. From time to time, when requesting an image, the camera seems to get stuck in an endless loop. The instruction never finishes and I need to move PP to main to restart the program and reloading the job in the camera. I have solved this by setting a boolean to TRUE before the instruction and then back to FALSE when it is done. A background task is clocking the time and triggers an interrupt if the time limit is reached to restart the program with "ExitCycle". This is a far more complicated solution then it needs to be, in my opinion. By adding a MaxTime switch to the instruction I could just use the error handler instead.