
45 / 58
Parameter functions:
int
iCube
SDK_
SetCamParameter(int nCamIndex,int Type,unsigned long Value)
Purpose: set parameter value
If ICubeSDK_SetCamParameter is used with multi roi applications,
the correct roi ID (2-4) has to set before this function with
ICubeSDK_SetCamParameter(nCamIndex,REG_ROI_ID, roi ID)
See 4133_MultiROI SDK Example.
Description
Parameters
int
nCamIndex,
int
Type
, unsigned long
Value
Return value
int
stat
Return value:
int
stat: IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex:
index of camera.
int
Type: type of parameter to set. (See Parameter Definitions in API Header)
unsigned long
Value: value to set.
int
iCube
SDK_
GetCamParameter(ini nCamIndex,int Type,unsigned long *Value)
Purpose: get parameter value.
If ICubeSDK_GetCamParameter is used with multi roi applications,
the correct roi ID (2-4) has to set before this function with
ICubeSDK_SetCamParameter(nCamIndex,REG_ROI_ID, roi ID)
See 4133_MultiROI SDK Example.
Description
Parameters
int
nCamIndex,
int
Type
, unsigned long*
Value
Return value
int
stat
Return value:
int
stat:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
int
Type: type of parameter to get. (See Parameter Definitions in API Header)
unsigned long*
Value: value to get.