ADLINK PCIe-2602 User Manual

Page 36

Advertising
background image

26

Function Library

Return Value

No error occurs if return value ≥ 0; if a negative value,

please refer to Other Functions for return code error informa-
tion.

Detected Sensor Format

Acquires the sensor format of the currently selected video

channel, reading back resolution from the source input.

Syntax

C/C++

int Sdi_GetDetectedSensorFormat(UINT Number,

int& Format)

C#

int GetDetectedSensorFormat (uint Number, out

int Format)

VB.Net

GetDetectedSensorFormat (ByVal Number as UIn-

teger, ByRef Format As Integer) As Integer

Parameter(s)

Number

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

to 31.

Format

Read-back format of video sensor as defined in Sensor For-

mat, with format is set as -1 if no sensor is detected or sensor
format is not supported. Please see Specification section in
PCIe-2602 User’s Manual for a list of supported sensors.

Return Value

No error occurs if return value ≥ 0; if a negative value,

please refer to Other Functions for return code error informa-
tion.

Advertising