Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_GetActSeqBuf

uEye Camera Manual Version 3.80

is_GetActSeqBuf

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_GetActSeqBuf (HIDS hCam, INT* pnNum,
char** ppcMem, char** ppcMemLast);

Description

Using is_GetActSeqBuf(), you can determine the image memory which is currently used for capturing an image (ppcMem) or the image memory that was last used for capturing an image (ppcMemLast). This function is only available if you have enabled ring buffering.

Achtung

All input parameters of a function have to be initialized with valid values before the function is called; this also applies to parameters that are not used. Variables can be preset with '0', for example. For unused parameters, the NULL pointer has to be passed.

Hinweis

This number is not the ID of the image memory that was allocated using the is_AllocImageMem() function, but the running number from the order in which memory was allocated by the is_AddToSequence() function.

Input Parameters

hCam

Camera handle

pnNum

Contains the number of the image memory currently used for image capturing.

If image capturing is already in progress when is_GetActSeqBuf() is called, pnNum will return the value 0 until the sequence arrives at the first image memory again.

ppcMem

Contains the starting address of the image memory currently used for image capturing.

ppcMemLast

Contains the starting address of the image memory last used for image capturing.

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related Functions

is_AddToSequence()
is_GetImageMem()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com