error handler timeout 41773 in event log

hello!

is there a way to turn off the logging of this warning in the event log? :

41773: Timeout
Description
Task: T_Camera.
A timeout interrupted the execution of instruction using camera Cam1.
Program ref: /mCamera/pCamTriggerGroup6/CamGetResult/1002.

every second I get this warning so my event log is full of it… totally useless for me.

that error came from this part :

!REquest image until one Pattern is found
While Cam1Result1.val1=0 DO
CamReqImage cam1;
WaitTime 0.5;
CamGetResult cam1,Cam1Result1\MaxTime:=0.2;
ENDWHILE
______

and this is the error handler

! Error handler for Camera get Result TimeOut
ERROR
IF ERRNo=ERR_CAM_MAXTIME THEN
TRYNEXT;
ENDIF
ENDPROC

Add “SkipWarn” instruction to your Error Handler. It will not add the error to the Event Log.

thanks jmf!! :smile: