4 acquisition control functions, Acquisition control functions – ADLINK PCIe-2602 User Manual

Page 45

Advertising
background image

Function Library

35

PCIe-2602-FLR

Fun

Pointer for callback routine, in which a callback function

must be declared and set as the parameter. In the callback
function, call:

Return Value

No error occurs if return value ≥ 0; if a negative value, please refer
to Other Functions for return code error information.

2.4.4

Acquisition Control Functions

Acquisition Frame Count

Sets or retrieves the total number of frames to be simultane-

ously captured. Call:

Syntax

C/C++

int Sdi_SetAcquisitionFrameCount (UINT Number,

UINT Count)

int Sdi_GetAcquisitionFrameCount (UINT Number,

UINT & Count)

C#

int SetAcquisitionFrameCount (uint Number,

uint Count)

int GetAcquisitionFrameCount (uint Number, out

uint Count)

VB.Net

SetAcquisitionFrameCount (ByVal Number as UIn-

teger, ByVal Count as UInteger) As Integer

GetImageStream

to acquire the pointer of frame buffer

GetAudioStream

to acquire audio data pointer and size.

AcquisitionStart

to initiate capture

GetAcquisitionStatus

to retrieve acquisition state

AcquisitionStop

to terminate capture if the
acquisition state is stopped

Advertising