Home > C: Programming > Function Descriptions > | History back Previous chapter Next chapter Print |
is_SetOptimalCameraTiming |
uEye Camera Manual Version 3.80
is_SetOptimalCameraTiming
USB 2.0 GigE |
– |
Syntax
INT is_SetOptimalCameraTiming (HIDS hCam,
INT Mode, INT Timeout, INT* pMaxPxlClk,
double* pMaxFrameRate)
Description
Using is_SetOptimalCameraTiming(), you can determine the highest possible pixel clock frequency for the current configuration. This function sets the pixel clock for which no transfer errors will occur during the Timeout period. Moreover, it returns the highest frame rate available for this pixel clock frequency. is_SetOptimalCameraTiming() can only be executed in free-run mode (is_CaptureVideo()). If the return value is ≠ IS_SUCCESS, no clock setting will be made.
|
|
|
Input Parameters
hCam |
Camera handle |
Mode |
|
IS_BEST_PCLK_RUN_ONCE |
The function makes one attempt to determine the optimum pixel clock and returns immediately. |
Timeout |
Sets the period (in milliseconds) during which no transfer error may occur. The adjustable range is between 4 and 20 seconds. The higher the value you set for this parameter, the more stable the determined pixel clock value will be. This, in turn, increases the runtime of the function correspondingly. |
pMaxPxlClk |
Returns the maximum pixel clock frequency (in MHz). |
pMaxFrameRate |
Returns the maximum frame rate (in fps). |
Return Values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
IS_AUTO_EXPOSURE_RUNNING |
Automatic exposure is active. |
IS_INVALID_PARAMETER |
The Timeout input parameter is not correct. |
IS_TRIGGER_ACTIVATED |
The camera is operating in trigger mode. |
Related Functions