
iCube
SERIES SDK API Manual
N E T G m b H A l l R i g h t s R e s e r v e d
IC
u
b
e
S
e
ri
e
s
S
D
K
A
P
I
M
a
n
u
a
l
int ICubeSDK_SaveAvi(int nCamIndex,char* Name,int nMode,int nTimeInSecs)
description
parameters
int
nCamIndex, char* Name, int nMode, int nTimeInSecs
return value
int
stat
Purpose:
saves an avi stream to the hard disk. If an avi stream is saved without the use of an
preview window, a window_handle has also being provided with ICubeSDK_Start().
ICubeSDK_GetCamParameter(IN INT nCamIndex,REG_AVI_STATE,OUT PULONG Value) get the avi
stream save status (ON||OFF
return value:
return value:
int
stat:
IC_SUCCESS: success
else:
error
parameters:
int
nCamIndex:
index of camera.
Char*
name:
path and name of the file, the extension must be avi
int
nMode:
currently, only AVI_DIB mode is supported
int
nTimeInSecs: length of the saved stream in secounds
int ICubeSDK_SetDisplayMode(int nCamIndex,int nMode, DISP_PROPERTY property)
description
parameters
int
nCamIndex, int nMode, DISP_PROPERTY property
return value
int
stat
Purpose:
sets the display mode. This function has to be called before ICubeSDK_Start().
return value:
int
stat:
IC_SUCCESS: success
else:
error
parameters:
int
nCamIndex:
index of camera.
int
nMode:
DISPLAY_NORMAL
displays the full frame
DISPLAY_FIT_TO_WINDOW
resizes the displayed frame to the size of
the preview window
DISPLAY_RECT
resizes the displayed frame to the size
given with DISP_PROPERTY
DISP_PROPERTY property:
defines height,width and position of the displayed window, only
used in DISPLAY_RECT-Mode
(left / top; right / bottom)