beautypg.com

ADLINK PCIe-2602 User Manual

Page 51

background image

Function Library

41

PCIe-2602-FLR

int GetSensorStatus (uint Number, out uint

Locked)

VB.Net

GetSensorStatus (ByVal Number as UInteger,

ByRef Locked as UInterger) As Integer

Parameter(s)

Number

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

to 31.

Locked

In determining whether the input signal is locked, estab-

lishes connection of a compatible sensor, from among:

0: No proper signal is detected

1: A proper signal is detected

This function detects whether the input signal is suitable,

and GetDetectedSensorFormat must be called to ascertain
whether the PCIe-2602 supports the signal.

Return Value

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

Save Image

Saves contents of the most recent image buffer as an image

file or a raw data file, depending on file extension.

Syntax

C/C++

int Sdi_SaveImage (UINT Number, LPTSTR File-

Namet)

C#

int SaveImage (uint Number, string FileNamet)

VB.Net