![THORLABS DCC1 45 Series Скачать руководство пользователя страница 222](http://html.mh-extra.com/html/thorlabs/dcc1-45-series/dcc1-45-series_user-manual_1110803222.webp)
217
SDK (Software development Kit)
© 2010 Thorlabs
7.3.68
is_SetAllocatedImageMem
USB 2.0
GigE
USB 2.0
GigE
Syntax
INT is_SetAllocatedImageMem (HIDS hCam,
INT width, INT height, INT bitspixel,
char* pcImgMem, int* pid)
Description
Using
is_SetAllocatedImageMem()
, you can make a memory allocated by a user the active
memory for storing digitised images in it. The allocated memory must be large enough (
size >=
(width * height * bitspixel / 8)
) and must always be locked globally (see below). You can
call the
function to add a memory which was set using
is_SetAllocatedImageMem()
to a sequence.
Please make sure to proceed in the following order:
Allocate Memory:
HANDLE hgMem = GlobalAlloc (size);
Lock memory:
char* pcMem = (char*) GlobalLock (hgMem);
The address of this memory will be passed to the
DCx camera
driver. For this, you can use the
is_SetAllocatedImageMem()
function. In addition, you need to specify the image size, just as you
do when calling
. The returned memory ID is required by other functions for
memory access.
The memory area must be removed from the driver management again using the
function. Please note that this does not release the memory. You then need to make sure
that the memory will be released again:
Unlock memory:
GlobalUnlock (hgMem);
Release Memory:
is_FreeImageMem (hCam, pcMem, ID); GlobalFree (hgMem);
Input Parameters
hCam
Camera handle
width
Image width
height
Image height
bitspixel
Image colour depth (bits per pixel)
pcImgMem
Pointer to the starting address of the allocated memory
pid
Returns the ID of this memory.
Return Values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
118
119
147
Содержание DCC1 45 Series
Страница 5: ...Version Date 3 5 2 22 09 2010 2010 Thorlabs 2010 Thorlabs ...
Страница 13: ......
Страница 15: ......
Страница 16: ...Introduction DCx camera Part I ...
Страница 18: ...General Information DCx camera Part II ...
Страница 21: ......
Страница 22: ...Getting Started DCx camera Part III ...
Страница 24: ...Installation DCx camera Part IV ...
Страница 30: ...uc480 Camera Manager DCx camera Part V ...
Страница 38: ...Camera viewer uc480Viewer DCx camera Part VI ...
Страница 45: ...40 DCx camera 2010 Thorlabs Menu Help Figure 15 Info about Camera viewer uc480Viewer ...
Страница 53: ...48 DCx camera 2010 Thorlabs Default Click this button to reset all parameters to the model specific defaults ...
Страница 87: ......
Страница 88: ...SDK Software development Kit DCx camera Part VII ...
Страница 101: ...96 DCx camera 2010 Thorlabs Flowchart Single Capture Figure 44 Flowchart Capturing a single frame 1 of 2 ...
Страница 102: ...97 SDK Software development Kit 2010 Thorlabs Figure 45 Flowchart Capturing a single frame 2 of 2 ...
Страница 103: ...98 DCx camera 2010 Thorlabs Flowchart Sequence Capture Figure 46 Flowchart Capturing a frame sequence 1 of 2 ...
Страница 104: ...99 SDK Software development Kit 2010 Thorlabs Figure 47 Flowchart Capturing a frame sequence 2 of 2 ...
Страница 109: ...104 DCx camera 2010 Thorlabs Figure 52 Flowchart Handling events messages ...
Страница 113: ...108 DCx camera 2010 Thorlabs Flowchart AVI Capture Figure 53 Flowchart Capturing AVI using DCx cameras ...
Страница 120: ...115 SDK Software development Kit 2010 Thorlabs Flowchart Digital input Figure 56 Flowchart Digital input ...
Страница 121: ...116 DCx camera 2010 Thorlabs Flowchart Digital output Figure 57 Flowchart Digital output ...
Страница 161: ...156 DCx camera 2010 Thorlabs Related Functions is_GetCameraType is_CameraStatus 159 121 ...
Страница 175: ...170 DCx camera 2010 Thorlabs is_GetExposureTime 167 ...
Страница 238: ...233 SDK Software development Kit 2010 Thorlabs is_SetImagePos is_SetPixelClock 271 277 ...
Страница 243: ...238 DCx camera 2010 Thorlabs Related Functions is_GetColorConverter is_SetColorMode is_ConvertImage 163 241 127 ...
Страница 261: ...256 DCx camera 2010 Thorlabs is_SetTriggerDelay 289 ...
Страница 271: ...266 DCx camera 2010 Thorlabs is_SetGainBoost is_SetAutoParameter 261 221 ...
Страница 278: ...273 SDK Software development Kit 2010 Thorlabs Example Figure IMAGE Examples for is_SetImagePos ...
Страница 283: ...278 DCx camera 2010 Thorlabs is_SetSubSampling is_SetAOI 284 219 ...
Страница 291: ...286 DCx camera 2010 Thorlabs is_SetAOI is_SetImagePos is_SetPixelClock 219 271 277 ...
Страница 361: ......
Страница 362: ...Maintenance and Service DCx camera Part VIII ...
Страница 370: ...365 Maintenance and Service 2010 Thorlabs ...
Страница 371: ......
Страница 372: ...Camera Basics DCx camera Part IX ...
Страница 389: ......
Страница 390: ...Appendices DCx camera Part X ...
Страница 397: ...392 DCx camera 2010 Thorlabs Figure 90 Securing the adjusting ring ...
Страница 405: ...400 DCx camera 2010 Thorlabs Figure 106 Rev 2 0 Flash Strobe output as Open Emitter OE ...
Страница 408: ...403 Appendices 2010 Thorlabs Figure 108 Filter curve GL Figure 109 Filter curve BG 40 Figure 110 Filter curve HQ ...
Страница 420: ......