4 api functions, 1 device control functions, Api functions – ADLINK PCIe-2602 User Manual

Page 17: Device control functions

Advertising
background image

Function Library

7

PCIe-2602-FLR

2.4

API Functions

2.4.1

Device Control Functions

Device Count

Returns the total number of supported devices in the sys-

tem, with a maximum of 32 channels detectable.

Syntax

C/C++

int Sdi_GetDeviceCount(UINT &Count)

C#

int GetDeviceCount(out uint Count)

VB.Net

GetDeviceCount (ByRef Count as UInteger) As

Integer

Parameter(s)

Count

The total number of supported input channels installed.

Return Value

No error occurs if return value >= 0; if negative, refer to

Other Functions for return code error information.

Device Open

Initializes a specified SDI channel, and should be called

before other functions except those with no Number parameter.

Syntax

C/C++

int Sdi_DeviceOpen (UINT Number)

C#

int DeviceOpen (uint Number)

VB.Net

Advertising