EasyManuals Logo

THORLABS DCC1645C User Manual

THORLABS DCC1645C
420 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 #163 background imageLoading...
Page #163 background image
158 DCx camera
© 2010 Thorlabs
Return Values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
IS_ACCESS_VIOLATION
Not enough memory allocated for the
_UC480_CAMERA_LIST structure
IS_CANT_OPEN_DEVICE
Camera cannot be selected or initialised.
IS_IO_REQUEST_FAILED
Driver communication failed.
Related Functions
is_GetNumberOfCameras()
Code Sample
// At least one camera must be available
INT nNumCam;
if( is_GetNumberOfCameras( &nNumCam ) == IS_SUCCESS)
{
if( nNumCam >= 1 )
{
// Create new list with suitable size
UC480_CAMERA_LIST* pucl;
pucl = (UC480_CAMERA_LIST*) new char [sizeof
(DWORD)
+ nNumCam
* sizeof
(UC480_CAMERA_IN
FO)];
pucl->dwCount = nNumCam;
//Retrieve camera info
if (is_GetCameraList(pucl) == IS_SUCCESS)
{
int iCamera;
for (iCamera = 0; iCamera < (int)pucl-
>dwCount; iCamera++)
{
//Test output of camera info on the
screen
printf("Camera %i Id: %d", iCamera,
pucl->uci[iCamera].dwCameraID);
}
}
}
}
179

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