EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 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 #416 background imageLoading...
Page #416 background image
© 2016 Thorlabs Scientific Imaging414
DCx Camera Functional Description and SDK Manual
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
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()

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals