
error handler timeout 41773 in event log

NickCan
✭
hello!
is there a way to turn off the logging of this warning in the event log? :
41773: Timeout
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 :
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
0
Comments
-
Add "SkipWarn" instruction to your Error Handler. It will not add the error to the Event Log.
0 -
thanks jmf!!0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings