iCube SERIES SDK API Manual
int
SetMode(int nCamIndex,int nMode)
iCube SDK_
Purpose:
set the basic format (e.g. 640x480).
This function has to be called before "iCubeSDK_Start".
If iCubeSDK_SetMode is not used, the camera will start with the
mode (highest resolution.
description
parameters
int CamIndex, int nMode
return value
int stat
return value:
int
stat:
I
else:
parameters:
int
nCamIndex:
int
nMode:
this value sets the basis format (see table below)
int
GetMode(int nCamIndex,int* pMode)
iCube SDK_
Purpose:
get the basic format.
description
parameters
int CamIndex, int Mode
return value
int stat
return value:
int
stat:
IC_SUCCESS: success
else:
parameters:
int
nCamIndex:
int*
pMode:
N E T G m b H A l l R i g h t s R e s e r v e d
C_SUCCESS: success
error
index of camera.
Mode
0
320x240
1
640x480
2
752x480
3
800x600
4
1024x768
5
1280x1024
6
1600x1200
7
2048x1536
8
2592x1944 QSXGA
error
index of camera.
current format.
resolution
QVGA
VGA
WVGA
SVGA
XGA
SXGA
UXGA
QXGA
default
Need help?
Do you have a question about the iCube SERIES and is the answer not in the manual?