© 2013 Thorlabs GmbH
4 Programming (SDK)
191
4.3.14 is_CopyImageMemLines
Syntax
INT is_CopyImageMemLines (HIDS hCam, char* pcSource,
INT nID, INT nLines, char* pcDest)
Description
is_CopyImageMemLines() copies the contents of the image memory described by pcSource and nID to the
memory area to whose starting address pcDest points. The function only copies the number of lines indicated by
nLines.
Attention
The allocated memory must be large enough to accommodate the in nLines given number of image lines
considering the image width and format (Bits per Pixel).
Input parameters
Pointer to the image memory
Number of lines to be copied
Pointer to the destination memory to copy the image to
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
IS_INVALID_MEMORY_POINTER
Invalid pointer or invalid memory ID
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
Function executed successfully
Related functions
is_AllocImageMem()
is_SetAllocatedImageMem()
157
301