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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 314 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 794 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings