EasyManuals Logo

THORLABS DCC1645C User Manual

THORLABS DCC1645C
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #379 background imageLoading...
Page #379 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
377
Example
// Query image buffer geometry
int nWidth, nWidth, nBits, nPitch;
is_InquireImageMem ( hCam, pLast, nImageID,
&nWidth, &nHeight,
&nBits, &nPitch);
INT nOffsetX = is_SetImagePos ( hCam, IS_GET_IMAGE_POS_X_ABS, 0);
INT nOffsetY = is_SetImagePos ( hCam, IS_GET_IMAGE_POS_Y_ABS, 0);
// Derive pixel pitch from buffer byte pitch
INT nPitchPx=0;
nPitchPx = (nPitch * 8 ) / nBits;
INT nAviWidth = nWidth /8 * 8; // Width must be multiple of 8
INT LineOffsetPx = nPitchPx - nAviWidth ;
isavi_SetImageSize( nAviId, m_cMode,
nAviWidth, nHeight,
nOffsetX, nOffsetY,
LineOffsetPx);
4.4.20 isavi_StartAVI
USB 2.0
USB 3.0
-
Syntax
INT isavi_StartAVI (INT nAviID)
Description
isavi_StartAVI() starts the image capture thread.
Input parameters
nAviID
Instance ID set by the isavi_InitAVI() function.
Return values
IS_AVI_NO_ERR
Function executed successfully.
IS_AVI_ERR_INVALID_ID
The indicated AVI instance could not be found. Either the
AVI ID is invalid or the instance has already been deleted
using isavi_ExitAVI() .
IS_AVI_ERR_INVALID_FILE
The file has no valid AVI format.
IS_AVI_ERR_PLAY_RUNNING
A playback is already running.
Related functions
isavi_StopAVI()
isavi_InitEvent()
isavi_ExitAVI()
369
362
378
370
362

Table of Contents

Other manuals for THORLABS DCC1645C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCC1645C and is the answer not in the manual?

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals