A.2 di/o functions, A.1.1 di_readline, Di/o functions – ADLINK EOS-1200 User Manual

Page 60: A.1.1, Di_readline

Advertising
background image

48

Function Library

C#

short GetLCRAddr(ushort CardNumber, uint []
LcrAddr)

Parameter(s)

CardNumber

ID of the card for release.

LcrAddr

Returns the LCR base address.

Return Code(s)

NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport

A.2 DI/O Functions

A.1.1

DI_ReadLine

Description

Reads the digital logic state of the digital line in the specified
port.

Syntax

C/C++

I16 DI_ReadLine (U16 CardNumber, U16 Port, U16
Line, U16 *State)

Visual Basic

DI_ReadLine (ByVal CardNumber As Integer,
ByVal Port As Integer, ByVal Line As Integer,
State As Integer) As Integer

VB.Net

Advertising