uEye Camera Manual Version 4.92
![]() |
![]() |
USB 3 uEye XC |
USB 3 uEye XC |
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:
•USB 3 uEye XC: Activating noise suppression, see Opening the USB 3 uEye XC camera in uEye Cockpit
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. |
||||||
Status flags from DEVICE_FEATURE_MODE_CAPS
IS_DEVICE_FEATURE_CAP_NOISE_REDUCTION |
Noise suppression is supported. |
/* Get capabilities */
INT nRet = 0;
INT nSupported = 0;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_SUPPORTED_FEATURES, (void*)&nSupported, sizeof(nSupported));
if ((nRet == IS_SUCCESS) && (nSupported & IS_DEVICE_FEATURE_CAP_NOISE_REDUCTION) == IS_DEVICE_FEATURE_CAP_NOISE_REDUCTION)
{
…
}
/* Enable/disable mode */
INT nRet = 0;
INT nValue = IS_NOISE_REDUCTION_ADAPTIVE;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_NOISE_REDUCTION_MODE, (void*)&nValue, sizeof(nValue));
nValue = IS_NOISE_REDUCTION_OFF;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_SET_NOISE_REDUCTION_MODE, (void*)&nValue, sizeof(nValue));
/* Get current mode */
INT nRet = 0;
INT nValue;
nRet = is_DeviceFeature(hCam, IS_DEVICE_FEATURE_CMD_GET_NOISE_MODE, (void*)&nValue, sizeof(nValue));
Suggestion for improvement? Send us your short
Feedback on this chapter.
Thank you very much!
For technical questions please contact your local distributor or use the support form on our website.