NET iCube SERIES User Manual page 18

Hide thumbs Also See for iCube SERIES:
Table of Contents

Advertisement

iCube SERIES SDK API Manual
int
SetCallback (int nCamIndex,int nMode,long (CALLBACK
iCube SDK_
*CallbackFunc,void* pCBBContext)
Purpose:
sets the callback function.
Only necessary, if Callback-Flag in "iCubeSDK_Start" is true.
The structure of the callback-function has to be as follows:
long CALLBACK CallbackFunc(BYTE * pBuffer, long lBufferSize,PVOID pContext )
Parameters passed by the Callback-function:
BYTE * pBuffer: pointer to frame data.
long lBufferSize: size of the frame data buffer.
PVOID pContext: context parameter (see below).
description
parameters
int CamIndex,int nMode,long (CALLBACK* CallbackFunc), void* pCBContext
return value
int stat
return value:
int
stat:
IC_SUCCESS:
else:
parameters:
int
index of camera.
nCamIndex:
int
nMode:
defines the grabmode.
CALLBACK_RAW:
Data-format, passed to the callback function:
CALLBACK_RGB:
Data-format, passed to the callback function:
long*
CallbackFunc: pointer to the callback function.
void* pCBContext:
function.
N E T G m b H A l l R i g h t s R e s e r v e d
success
error
Color-
camera: 8bit/Pixel (Bayer-raw Data)
BW-camera: 8bit/Pixel (Raw Data)
Color- camera: 24bit/Pixel (RGB24 Data)
BW-camera: 24bit/Pixel (RGB24 Data)
pointer to user defined argument, which is passed by the callback

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the iCube SERIES and is the answer not in the manual?

Table of Contents