Vecow RCS-9430F-GTX1080 User Manual page 124

Intel xeon/core i7 gpu computing system with nvidia geforce gtx1080 workstation-grade performance, expandable, independent graphics, rcs-9000f gtx1080 series
Table of Contents

Advertisement

BOOL SetDIO1Config(BYTE *Isolate_Type, BYTE *DI_NPN,
BYTE *DO_NPN, WORD *Mask)
BOOL SetDIO2Config(BYTE *Isolate_Type, BYTE *DI_NPN,
BYTE *DO_NPN, WORD *Mask)
Set DIO configuration
Isolate_Type: DIO type
1: Isolated DIO;
0: Non-Isolated DIO (DIO1 is the same as GPIO)
DI_NPN ([7:0]): DI type, pin setting by hexadecimal bitmask
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
DO_NPN: DO type
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
Mask ([15:0]): In / Out, pin setting by hexadecimal bitmask
1: Output;
0: Input
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or hardware problem)
BOOL GetDI1(BYTE *DI)
BOOL GetDI2(BYTE *DI)
Get isolated DIO input (DI)
DI ([7:0]): Input state, pin setting by hexadecimal bitmask
1: High;
0: Low
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware
problem)
BOOL GetDO1(BYTE *DO)
BOOL GetDO2(BYTE *DO)
Get isolated DIO output (DO)
DO ([7:0]): Output state, pin setting by hexadecimal bitmask
1: High;
0: Low
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware
problem)
BOOL SetDO1(BYTE DO)
BOOL SetDO2(BYTE *DO)
Set isolated DIO output (DO)
DO ([7:0]): Output state, pin setting by hexadecimal bitmask
1: High;
0: Low
©Vecow RCS-9000F GTX1080 User Manual
Appendix B
116

Advertisement

Table of Contents
loading

Table of Contents