ADLINK PCIe-2602 User Manual

Page 18

Advertising
background image

8

Function Library

DeviceOpen (ByVal Number As UInteger) As Inte-

ger

Parameter(s)

Number

The number of SDI channels to be opened, with allowed

value from 0 to 31.

Return Value

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

Other Functions for return code error information.

Device Close

Closes the channel and releases all allocated resources;

should be called before terminating the application.

Syntax

C/C++

int Sdi_DeviceClose (UINT Number)

C#

int DeviceClose (uint Number)

VB.Net

DeviceClose (ByVal Number As UInteger) As

Integer

Parameter(s)

Number

The number of the SDI channel to be closed with allowed

value from 0 to 31.

Return Value

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

Other Functions for return code error information.

Device Vendor Name

Returns the vendor name.

Advertising