ICube SDK API Manual V2.x 1011 - NET GmbH
ICube SDK API Manual V2.x 1011 - NET GmbH
ICube SDK API Manual V2.x 1011 - NET GmbH
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
iCube SERIES <strong>SDK</strong> <strong>API</strong> <strong>Manual</strong><br />
int iCube <strong>SDK</strong>_SetMode(int nCamIndex,int nMode)<br />
Purpose: set the basic format (e.g. 640x480).<br />
This function has to be called before “iCube<strong>SDK</strong>_Start”.<br />
If iCube<strong>SDK</strong>_SetMode is not used, the camera will start with the default<br />
mode (highest resolution.<br />
description<br />
parameters int CamIndex, int nMode<br />
return value int stat<br />
return value:<br />
int stat: I C_SUCCESS: success<br />
else: error<br />
parameters:<br />
int nCamIndex: index of camera.<br />
int nMode: this value sets the basis format (see table below)<br />
int iCube <strong>SDK</strong>_GetMode(int nCamIndex,int* pMode)<br />
Purpose: get the basic format.<br />
description<br />
parameters int CamIndex, int Mode<br />
return value int stat<br />
return value:<br />
int stat: IC_SUCCESS: success<br />
else: error<br />
parameters:<br />
int nCamIndex: index of camera.<br />
int* pMode: current format.<br />
<strong>NET</strong> <strong>GmbH</strong> All R ig hts Reser v ed<br />
Mode resolution<br />
0 320x240 QVGA<br />
1 640x480 VGA<br />
2 752x480 WVGA<br />
3 800x600 SVGA<br />
4 1024x768 XGA<br />
5 1280x1024 SXGA<br />
6 1600x1200 UXGA<br />
7 2048x1536 QXGA<br />
8 2592x1944 QSXGA<br />
<strong>ICube</strong> Series <strong>SDK</strong> <strong>API</strong> <strong>Manual</strong>