Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 3.x

GigE

USB 3.x

GigE

Syntax

INT is_Exposure (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)

Description

Using is_Exposure() you can set for the models UI-336x/UI-536x and UI-337x/UI-537x the dual exposure time.

hint_info

Dual exposure and AOI

If you want to use dual exposure and AOI simultaneously, you must take care that both the Y position and the AOI height are a multiple of 4. If this is not the case, the dual exposure cannot be activated. If the dual exposure is activated, you must observe the changed step width.

hint_info

Note on dependencies on other settings

The use of the following functions will affect the exposure time:

is_PixelClock()

is_SetOptimalCameraTiming()

is_SetFrameRate()

is_AOI() (if the image size is changed)

is_SetSubSampling()

is_SetBinning()

Changes made to the image size, the frame rate or the pixel clock frequency also affect the exposure time. For this reason, you need to call is_Exposure() again after such changes.

hint_info

Note on new driver versions

Newer driver versions sometimes allow an extended value range for the exposure time setting. We recommend querying the value range every time and set the exposure time explicitly.

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.

Example

UINT nRatio = 50;
INT nRet = is_Exposure(m_hCam, IS_EXPOSURE_CMD_SET_DUAL_EXPOSURE_RATIO, (void*)&nRatio, sizeof(nRatio));

© 2022 IDS Imaging Development Systems GmbH