What is the meaning of CvCaptureQueueFrame return value: 5

asked 2013-12-18 22:50:10 -0600

kaushal gravatar image

updated 2013-12-18 22:50:45 -0600

Hello Friends,

my maxframeCounter = 100,000;

my ErrCode = CvCaptureQueueFrame((myCamera.handle),&(myCamera.Frame),NULL);

The Return Value of ErrCode = 5;

What is the meaning of this return Value = 5, and what precaution should i take to overcome from this value from the document the return value of ErrCode Supposed to any one from:

  1. ePvErrSucess

2.ePvErrUnplugged

3.ePvErrBadSequence

4.ePvErrQueueFull

From The Document AVT/Prosilica PvAPI Manual

http://www.alliedvisiontec.com/fileadmin/content/PDF/Software/Prosilica_software/Prosilica_software_doc/PvAPI_SDK_Manual.pdf

PageNo. 51

Regards Kaushal

edit retag flag offensive close merge delete

Comments

Hello Friends,

my function PvCaptureQueueFrame(), now it start returning 0 mean Function successful as mantioned in AVT/Prosilica PvAPI Manula Page 51 return Value

i have do the following

while((errCode = PvCaptureWaitForFrameDone((myCamera.Handle,&(myCamera.Frame[i]),2000)) == ePvErrTimeOut)

cout<<"Waiting for Frame to return to HOST"<<endl

and the Code Output is always:

Waiting for Frame to return to HOST

Waiting for Frame to return to HOST

Waiting for Frame to return to HOST Waiting for Frame to return to HOST

Waiting for Frame to return to HOST

Waiting for Frame to return to HOST

Guide me in this case what should i do.

Regards

kaushal

kaushal gravatar imagekaushal ( 2013-12-19 00:34:25 -0600 )edit

Did you solve this already? I have the same thing

Taboen gravatar imageTaboen ( 2015-10-22 14:51:47 -0600 )edit