Is_Setframerate - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

4.3.84 is_SetFrameRate

USB 2.0
USB 3.0
Syntax
INT is_SetFrameRate (HIDS hCam, double FPS, double* newFPS)
Description
Using is_SetFrameRate(), you can set the sensor frame rate in freerun mode (live mode). Since this value
depends on the sensor timing, the exposure time actually used may slightly deviate from the value set here. After
you have called the function, the actual frame rate is returned through the newFPS parameter.
If the frame rate is set too high, it might not be possible to transfer every single frame. In this case, the effective
frame rate may vary from the set value.
For minimum and maximum frame rates as well as other sensor-based dependencies, please refer to
sensor data
chapter.
460
Note
Newer driver versions sometimes allow an extended value range for the frame rate setting. We recommend to
query the value range every time and set the frame rate explicitly.
Changes to the frame rate affect the value ranges of the exposure time. After executing is_SetFrameRate(),
calling the function
is_Exposure()
Attention
The use of the following functions will affect the frame rate:
is_PixelClock()
is_SetOptimalCameraTiming()
(if the image size is changed)
is_AOI()
159
is_SetSubSampling()
is_SetBinning()
Changes made to the window size or the read-out timing (pixel clock frequency) also affect the defined frame rate.
For this reason, you need to call is_SetFrameRate() again after such changes.
Attention
To be able to set the default frame rate, you have to set a pixel clock equal to or higher than the default pixel clock.
Input parameters
hCam
FPS
IS_GET_FRAMERATE
IS_GET_DEFAULT_FRAMERATE
newFPS
Return values
IS_INVALID_CAMERA_HANDLE
IS_INVALID_MODE
IS_INVALID_PARAMETER
IS_NO_SUCCESS
IS_SUCCESS
© 2013 Thorlabs GmbH
USB 2.0
USB 3.0
is recommended in order to keep the defined camera settings.
216
294
338
347
310
Invalid camera handle
Camera is in standby mode, function not allowed
One of the submitted parameters is outside the valid range or is not
supported for this sensor or is not available in this mode.
General error message
Function executed successfully
Camera handle
Desired frame rate in frames per second (fps)
Returns the set frame rate in the newFPS parameter. To
query the frame rate actually reached by the camera, use
is_GetFramesPerSecond()
Returns the default frame rate.
Returns the frame rate actually set.
4 Programming (SDK)
Camera and
.
240
329

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents