© 2016 Thorlabs Scientific Imaging202
DCx Camera Functional Description and SDK Manual
Related functions
is_SetFrameRate()
is_PixelClock()
is_SetOptimalCameraTiming()
is_SetAutoParameter()
is_AutoParameter()
is_SetHardwareGain()
Example
UINT nCaps = 0;
INT nRet = is_Exposure(m_hCam, IS_EXPOSURE_CMD_GET_CAPS, (void*)&nCaps, sizeof(nCaps));
if (nRet == IS_SUCCESS)
{
if (nCaps & IS_EXPOSURE_CAP_FINE_INCREMENT)
{
// Fine increment supported
}
}
4.3.26.1 Setting the Exposure Time
Syntax
INT is_Exposure (HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
Using is_Exposure() you can query the exposure time 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.
Applying new settings
In freerun mode (is_CaptureVideo()), any modification of the exposure time will only become
effective when image after next is captured. In trigger mode (is_SetExternalTrigger()), the