ADLINK PCIe-2602 User Manual

Page 52

Advertising
background image

42

Function Library

SaveImage (ByVal Number as UInteger, ByVal

FileNamet as String) As Integer

Parameter(s)

Number

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

to 31.

FileName

The library supports:

BMP: if FileName is *.bmp

JPEG: if FileName is *.jpg or *.jpeg

JIFF: if FileName is *.tif

PNG: if FileName is *.png

Raw data: other file type

Return Value

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

Audio Stream

Acquires audio data pointer and size; normally called in call-

back routine after receiving an audio data event.

Syntax

C/C++

int Sdi_GetAudioStream (UINT Number,

AUDIO_STREAM_INFO& StreamInfo)

C#

int GetAudioStream (uint Number, out

AUDIO_STREAM_INFO StreamInfo)

VB.Net

GetAudioStream (ByVal Number as UInteger,

ByRef StreamInfo as AUDIO_STREAM_INFO) As

Integer

Advertising