ADLINK PCIe-2602 User Manual

Page 43

Advertising
background image

Function Library

33

PCIe-2602-FLR

GetImageStream to acquire the pointer of frame buffer

GetAudioStream to acquire audio data pointer and size.

Return Value

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

Callback Selector

Sets or retrieves callback function type.

Syntax

C/C++

int Sdi_SetCallbackSelector (UINT Number, UINT

Mode)

int Sdi_GetCallbackSelector (UINT Number, UINT

Mode)

C#

int SetCallbackSelector (uint Number, uint

Mode)

int GetCallbackSelector (uint Number, out uint

Mode)

VB.Net

SetCallbackSelector (ByVal Number as UInteger,

ByVal Mode as UInteger) As Integer

GetCallbackSelector (ByVal Number as UInteger,

ByRef Mode as UInteger) As Integer

Parameter(s)

Number

The number of the SDI channel, with allowed values from 0

to 31.

Mode

Callback type, in which the library calls the callback routine

when a frame is ready, or audio callback. SetCallback sets a
callback function. Mod can be:

0: Video frame callback

Advertising