USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_Configuration (UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Use the function parameters IS_CONFIG_INITIAL_PARAMETERSET… to indicate whether to apply the parameters stored on the camera automatically when opening the camera. You must first store the camera parameters on the camera using the is_ParameterSet() function or via the corresponding function in the uEye Cockpit. This setting applies to all connected cameras. If no parameters are stored on the camera, the standard parameters of this camera model are applied.
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 |
pParam |
Pointer to a function parameter, whose function depends on nCommand. |
cbSizeOfParam |
Size (in bytes) of the memory area to which pParam refers. |
Contents of the CONFIGURATION_CAPS structure
INT |
IS_CONFIG_INITIAL_PARAMETERSET_CAP_SUPPORTED |
Function parameters to load camera parameters during initialization are supported. |
Contents of the CONFIGURATION_SEL structure
INT |
IS_CONFIG_INITIAL_PARAMETERSET_NONE |
Load camera parameters during initialization disabled |
INT |
IS_CONFIG_INITIAL_PARAMETERSET_1 |
Load camera parameter set 1 during initialization |
Related functions
UINT nNumber = 0;
INT nRet = is_Configuration(IS_CONFIG_INITIAL_PARAMETERSET_CMD_GET, (void*)&nNumber, sizeof(nNumber));
if (nRet == IS_SUCCESS)
{
if (nNumber == IS_CONFIG_INITIAL_PARAMETERSET_NONE)
{
// No parameter set specified
}
else if (nNumber == IS_CONFIG_INITIAL_PARAMETERSET_1)
{
// Parameter set 1
}
}
nNumber = IS_CONFIG_INITIAL_PARAMETERSET_1;
nRet = is_Configuration(IS_CONFIG_INITIAL_PARAMETERSET_CMD_SET, (void*)&nNumber, sizeof(nNumber));
if (nRet == IS_SUCCESS)
{
// Set to parameter set 1
}