© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
207
dblMin = dblRange[0];
dblMax = dblRange[1];
dblInc = dblRange[2];
}
4.3.26.3 Setting the Long Exposure
Syntax
INT is_Exposure (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Using is_Exposure() you can query the long exposure ranges available in your camera, and set
new exposure times.
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.
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