192 DCx camera
© 2010 Thorlabs
7.3.49
is_InitCamera
Syntax
INT is_InitCamera (HIDS* phf, HWND hWnd)
Description
is_InitCamera() starts the driver and establishes the connection to the camera. After successful
initialization, this function assigns the camera handle. All subsequent functions require this handle
as the first parameter.
When using Direct3D for image display, you can pass a handle to the output window (see also How
To Proceed: Image Display) .
Note on multi-camera environments:
When using multiple cameras in parallel operation on a single system, you should assign a unique
camera ID to each camera. To initialize or select a camera with is_InitCamera(), the phf handle
must previously have been set to the desired camera ID.
To initialize or select the next available camera without specifying a camera ID, phf has to be preset
with 0.
We recommend that you call the following functions exclusively from a single thread in order to
avoid unpredictable behavior of the application.
is_InitCamera()
is_SetDisplayMode()
is_ExitCamera()
See also General: Thread Programming .
90
192
246
143
342