THORLABS DCU223x Operation Manual And Sdk page 297

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

Advertisement

Related functions
is_GetFramesPerSecond()
is_GetFrameTimeRange()
is_Exposure()
216
is_SetOptimalCameraTiming()
is_SetFrameRate()
is_SetAutoParameter()
is_SetBinning()
is_SetSubSampling()
is_AOI()
159
Example 1
UINT nNumberOfSupportedPixelClocks = 0;
INT nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_GET_NUMBER,
if
((nRet == IS_SUCCESS) && (m_nNumberOfSupportedPixelClocks > 0))
{
// No camera has more than 150 different pixel clocks.
// Of course, the list can be allocated dynamically
UINT nPixelClockList[150];
ZeroMemory(&nPixelClockList, sizeof(nPixelClockList));
nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_GET_LIST,
}
Example 2
UINT nRange[3];
ZeroMemory(nRange, sizeof(nRange));
// Get pixel clock range
INT nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_GET_RANGE, (void*)nRange, sizeof(nRange));
if
(nRet == IS_SUCCESS)
{
UINT nMin = nRange[0];
UINT nMax = nRange[1];
UINT nInc = nRange[2];
}
Example 3
UINT nPixelClock;
// Get current pixel clock
nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_GET, (void*)&nPixelClock, sizeof(nPixelClock));
Example 4
UINT nPixelClockDefault;
// Get default pixel clock
INT nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_GET_DEFAULT,
if
(nRet == IS_SUCCESS)
{
// Set this pixel clock
nRet = is_PixelClock(hCam, IS_PIXELCLOCK_CMD_SET,
}
© 2013 Thorlabs GmbH
240
241
338
329
303
310
347
(void*)&nNumberOfSupportedPixelClocks,
sizeof(nNumberOfSupportedPixelClocks));
(void*)nPixelClockList,
nNumberOfSupportedPixelClocks * sizeof(UINT));
(void*)&nPixelClockDefault, sizeof(nPixelClockDefault));
(void*)&nPixelClockDefault, sizeof(nPixelClockDefault));
4 Programming (SDK)
295

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents