275
SDK (Software development Kit)
© 2010 Thorlabs
7.3.97
is_SetOptimalCameraTiming
USB 2.0
USB 2.0
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 (
). If the return value is ?
IS_SUCCESS
, no clock setting will be made.
The function should be executed in a separate thread and run in the background to allow for the
computational load caused by additional colour conversions, etc. Otherwise, it will not able to
return the optimum values.
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
[4000...20000]
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.
124
Summary of Contents for DCC1 45 Series
Page 5: ...Version Date 3 5 2 22 09 2010 2010 Thorlabs 2010 Thorlabs ...
Page 13: ......
Page 15: ......
Page 16: ...Introduction DCx camera Part I ...
Page 18: ...General Information DCx camera Part II ...
Page 21: ......
Page 22: ...Getting Started DCx camera Part III ...
Page 24: ...Installation DCx camera Part IV ...
Page 30: ...uc480 Camera Manager DCx camera Part V ...
Page 38: ...Camera viewer uc480Viewer DCx camera Part VI ...
Page 45: ...40 DCx camera 2010 Thorlabs Menu Help Figure 15 Info about Camera viewer uc480Viewer ...
Page 87: ......
Page 88: ...SDK Software development Kit DCx camera Part VII ...
Page 109: ...104 DCx camera 2010 Thorlabs Figure 52 Flowchart Handling events messages ...
Page 121: ...116 DCx camera 2010 Thorlabs Flowchart Digital output Figure 57 Flowchart Digital output ...
Page 161: ...156 DCx camera 2010 Thorlabs Related Functions is_GetCameraType is_CameraStatus 159 121 ...
Page 175: ...170 DCx camera 2010 Thorlabs is_GetExposureTime 167 ...
Page 238: ...233 SDK Software development Kit 2010 Thorlabs is_SetImagePos is_SetPixelClock 271 277 ...
Page 261: ...256 DCx camera 2010 Thorlabs is_SetTriggerDelay 289 ...
Page 271: ...266 DCx camera 2010 Thorlabs is_SetGainBoost is_SetAutoParameter 261 221 ...
Page 283: ...278 DCx camera 2010 Thorlabs is_SetSubSampling is_SetAOI 284 219 ...
Page 291: ...286 DCx camera 2010 Thorlabs is_SetAOI is_SetImagePos is_SetPixelClock 219 271 277 ...
Page 361: ......
Page 362: ...Maintenance and Service DCx camera Part VIII ...
Page 370: ...365 Maintenance and Service 2010 Thorlabs ...
Page 371: ......
Page 372: ...Camera Basics DCx camera Part IX ...
Page 389: ......
Page 390: ...Appendices DCx camera Part X ...
Page 397: ...392 DCx camera 2010 Thorlabs Figure 90 Securing the adjusting ring ...
Page 405: ...400 DCx camera 2010 Thorlabs Figure 106 Rev 2 0 Flash Strobe output as Open Emitter OE ...
Page 420: ......