Fail to update context once in a while

8 views
Skip to first unread message

Christoph Heindl

unread,
May 4, 2012, 1:41:00 PM5/4/12
to openn...@googlegroups.com
Hi folks,

a couple of our users report that grabbing frames from the sensor (color and depth) fail once in a while (for example after two seconds). 

Grabbing a frame essentially means calling context.WaitAndUpdateAll() and checking the return code for XN_STATUS_OK. 

I currently don't know the actual error code returned and since I cannot reproduce the problem on my site here's my question: Is it allowed to treat a call to context.WaitAndUpdateAll() that fails as warning and retry? I'm tempted to think that on low powered usb ports, the data transfer cannot complete within a predefined timeout or something similar which causes the method to fail.

Best,
Christoph

Reply all
Reply to author
Forward
0 new messages