10 digital input – ADLINK PCI-8124-C User Manual

Page 91

Advertising
background image

Function Library

81

6.10 Digital Input

@ Name

@ Description

_8124_get_di_sts:

This function is used to get the status of digital inputs. The digi-
tal inputs include TTL-IN, LTC and EZ. The parameters are
showed as bit format. The former four bits of parameters repre-
sent 4 channels of each digital input.

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_get_di_sts( I16 CardId, I16

*TtlStsInBit, I16 *LtcStsInBit, I16

*EzStsInBit );

Visual Basic (Windows 2000/XP)

B_8124_get_di_sts (ByVal CardId As Integer,

TtlStsInBit As Integer, LtcStsInBit As

Integer, EzStsInBit As Integer) As Integer

@ Argument

I16 CardId

: The PCI-8124-C card’s ID number.

I16 *TtlStsInBit

: The TTL-IN status in bit format.

I16 *LtcStsInBit

: The LTC status in bit format.

I16 *EzStsInBit

: The EZ status in bit format.

_8124_get_di_sts

Get the digital input signal’s status

Advertising