![background image](http://html1.mh-extra.com/html/icp-das-usa/pci-fc16u-series/pci-fc16u-series_user-manual_614598043.webp)
16-ch Counter/Frequency Board
with 32-ch Programmable DIO
User Manual, Ver. 1.2, Apr. 2017, PMH-030-12 Page 43
PCIFC16_ReadDI
Reads the 16-bit data from specified I/O port
Syntax:
WORD
PCIFC16_ReadDI
(WORD
wBoardNO
,
WORD
wPortNo
,
WORD *
wValue
);
Parameters:
wBoardNo
[Input]
The Board number for PCI-FC16U board. (Start from 0)
wPortNo
[Input]
Port Number (Port A is 0, Port B is 1), as follow:
wPortNo
Port A
0
Port B
1
wValue
[Output]
16-bit data, receive from I/O port
Returns:
Refer to
Section 7.1 “Error Code Table”
.