beautypg.com

ADLINK PCI-7256 User Manual

Page 40

background image

32

C/C++ DOS Libraries

5.5 _7256_DI

@ Description

This function is used to read data from digital input port. There are 16-bit
digital inputs on the PCI-7256. You can get all 16 input data by using this
function.

@ Syntax

U16 _7256_DI (U16 boardID, U16 *diData)

@ Argument

boardID : Board ID to the specific borad.
diData :
return 16-bit value from digital input port.

@ Return Code

ERR_NoError, ERR_BoardNoInit