![background image](http://html1.mh-extra.com/html/icp-das-usa/pci-fc16u-series/pci-fc16u-series_user-manual_614598041.webp)
16-ch Counter/Frequency Board
with 32-ch Programmable DIO
User Manual, Ver. 1.2, Apr. 2017, PMH-030-12 Page 41
7.3
Digital I/O Function
PCIFC16_SetDIOMode32
Set the Digital Input/Output Port for the Port A and Port B.
Syntax:
WORD
PCIFC16_SetDIOMode32
(WORD
wBoardNO
,
WORD
wDirection
);
Parameters:
wBoardNo
[Input]
The Board number for PCI-FC16U board. (Start from 0)
wDirection
[Input]
Set the Digital Input/Output Port to DI or DO Port, as follow:
Bit 1 (Port B)
Bit 0 (Port A)
wDirection
Input
Input
0
Output
Output
1
Returns:
Refer to
Section 7.1 “Error Code Table”
.