USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_DeviceFeature (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Using is_DeviceFeature() you can configure special camera functions provided by specific uEye models:
•Query and set if the camera LUT can be used in combination with RAW formats.
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. |
UINT u32AllowRawWithLut = 0;
/* Get current setting of "AllowRawWithLut" */
INT nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_ALLOW_RAW_WITH_LUT,
(void*)&u32AllowRawWithLut, sizeof(u32AllowRawWithLut));
/* Allow raw with LUT */
u32AllowRawWithLut = 1;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_ALLOW_RAW_WITH_LUT,
(void*)&u32AllowRawWithLut, sizeof(u32AllowRawWithLut));