|
|
USB 2.0
USB 3.x
GigE
|
USB 2.0
USB 3.x
GigE
|
Syntax
INT is_CaptureConfiguration(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
The is_CaptureConfiguration() function is used to define the settings of the internal image memory queue. You can configure the queue size (in MB) and the number of image memories.
The nCommand input parameter is used to select the function mode. The pParam input parameter depends on the selected function mode. If you select functions for setting or returning a value, pParam contains a pointer to a variable of the UINT type. The size of the memory area to which pParam refers is specified in the cbSizeOfParam input parameter.
Input parameters
hCam
|
Camera handle
|
IS_CAPTURE_CONFIGURATION_CMD_SET_QUEUE_BUFFER_COUNT
|
Limits the size of the internal image memory queue. The queue corresponds to the number of internal image memories. Default is 0, i.e. with 0 the queue size is unlimited.
•pParam: Pointer to a variable of the type UINT in which the size is passed.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_GET_QUEUE_BUFFER_COUNT
|
Returns the current setting of the queue.
•pParam: Pointer to a variable of the type UINT with the current settings.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_SET_INTERNAL_BUFFER_SIZE
|
Sets the current size of the total image memory (in MB).
•pParam: Pointer to a variable of the type UINT with the size to be set.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_GET_INTERNAL_BUFFER_SIZE
|
Returns the current size of the total image memory (in MB).
•pParam: Pointer to a variable of the type UINT with the size.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_GET_INTERNAL_BUFFER_SIZE_DEFAULT
|
Returns the default size of the total image memory (Default: 16 MB).
•pParam: Pointer to a variable of the type UINT with the default size.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_SET_INTERNAL_BUFFER_COUNT
|
Sets the minimum number of image memories (range: 5 … 256).
•pParam: Pointer to a variable of the type UINT with the size to be set.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_GET_INTERNAL_BUFFER_COUNT
|
Returns the minimum number of image memories.
•pParam: Pointer to a variable of the type UINT with the size.
•cbSizeOfParam: Multiple of sizeof(UINT). |
IS_CAPTURE_CONFIGURATION_CMD_GET_INTERNAL_BUFFER_COUNT_DEFAULT
|
Returns the default value (Default: 5).
•pParam: Pointer to a variable of the type UINT with the default size.
•cbSizeOfParam: Multiple of sizeof(UINT). |
|
pParam
|
Pointer to a function parameter, whose function depends on nCommand.
|
cbSizeOfParam
|
Size (in bytes) of the memory area to which pParam refers.
|
Return values
IS_CAPTURE_RUNNING
|
A capturing operation is in progress and must be terminated first.
|
IS_INVALID_CAMERA_HANDLE
|
Invalid camera handle
|
IS_INVALID_PARAMETER
|
One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode.
|
IS_NULL_POINTER
|
Invalid array
|
IS_SUCCESS
|
Function executed successfully
|
Related functions
•is_ImageQueue()