Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

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

OpenMP (Open Multi-Processing) is a programming interface that supports distributed computing on multi-core processors. If the uEye driver recognizes a multi-core system during installation OpenMP is activated by default so that intensive computing operations, such as the Bayer conversion, are distributed across several processor cores to accelerate execution. The use of OpenMP, however, increases the CPU load.

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_OPEN_MP_CAP_SUPPORTED

Function parameters to configure OpenMP are supported.

Contents of the CONFIGURATION_SEL structure

INT

IS_CONFIG_OPEN_MP_DISABLE

OpenMP support disabled

INT

IS_CONFIG_OPEN_MP_ENABLE

OpenMP support enabled

Example

UINT nEnabled = 0;
INT nRet = is_Configuration(IS_CONFIG_OPEN_MP_CMD_GET_ENABLE, (void*)&nEnabled, sizeof(nEnabled));
if (nRet == IS_SUCCESS)
{
  if (nEnabled == IS_CONFIG_OPEN_MP_ENABLE)
  {
      // OpenMP enabled
  }
}
 
nEnabled = 0;
nRet = is_Configuration(IS_CONFIG_OPEN_MP_CMD_GET_ENABLE_DEFAULT, (void*)&nEnabled, sizeof(nEnabled));
if (nRet == IS_SUCCESS)
{
  nRet = is_Configuration(IS_CONFIG_OPEN_MP_CMD_SET_ENABLE, (void*)&nEnabled, sizeof(nEnabled));
  if (nRet == IS_SUCCESS)
  {
      // Default value set
  }
}

© 2022 IDS Imaging Development Systems GmbH