![ADLINK Technology PCIe-GIE7 Series Reference Manual Download Page 42](http://html.mh-extra.com/html/adlink-technology/pcie-gie7-series/pcie-gie7-series_reference-manual_2852825042.webp)
36
Function Library
Leading
EDGE COMPUTING
Return Code
No error occurs if return value >= 0, and if negative value, as
follows
-2
An invalid wCardNumber parameter,
wCardNumber is less than 32
-5
The function is not supported by this card.
GIE_SetTriggerType
Sets Trigger type, where 4 to 4 mode indicates that each pin
of the DI performs corresponding port action command to
active, and 1 to 4 mode indicates that DI_0 performs all port
action commands to active.
Syntax
C/C++
short GIE_SetTriggerType(U16 wCardNumber, U16
Type);;
Parameter(s)
wCardNumber:
Retrieved from the return value of
SmartPoE_Register_Card.
Type:
0: 4 to 4 mode
1: 1 to 4 mode
Return Code
No error occurs if return value >= 0, and if negative value, as
follows
-2
An invalid wCardNumber parameter,
wCardNumber is less than 32
-5
The function is not supported by this card.
-11) An invalid state parameter.