PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 70
PCI82X_ReadDI
This function is used to data from a specific I/O port on a specified board in 16-bit integer format.
Syntax:
WORD
PCI82X_ReadDI
(WORD wBoardNo,
WORD wPortNo,
WORD *wValue);
Parameters:
wBoardNo
[Input]
The board number (Base 0)
wPortNo
[Input]
The Port number to be read, where 0 denotes Port A, and 1 denotes Port B
*wValue
[Output]
The data received from the I/O port in 16-bit integer format
Returns:
Appendix A1-1 Error Code Definitions