90
©Vecow VCM-1000 User Manual
Appendix B
B
APPENDIX B : Software Functions
B.1 Driver API Guide
In Header folder, Vecow.h and VecowLinux.h contain usabled API for Windows/Linux.
BOOL initial_SIO(BYTE Isolate_Type, BYTE DIO_NPN)
Initial machine for IO and watch dogtimer.
Isolate_Type : DIO type.
1 : Isolated DIO;
0 : Non-Isolated DIO(GPIO).
DIO_NPN : DI/DO type.
1 : PNP (Source) mode for European rule;
0 : NPN (Sink) mode for Japanese rule.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Driver not exists, or version is too old, or machine not
match).
BOOL get_IO1_configuration_other(BYTE *Iso, BYTE *DI_mode, BYTE
*DO_mode, DWORD *Mask)
Get DIO configuration (by variable)
Isolate_Type : DIO type.
1 : Isolated DIO;
0: Non-Isolated DIO(GPIO).
DI_mode ([3:0]) : DI type, pin setting by hexadecimal bitmask only for
Isolated DIO.
0xFF : PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule.
DO_mode ([23:0]): DO type only for Isolated DIO.
1 : PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule.
Mask ([27:0]) : In / Out, pin setting by hexadecimal bitmask only for Non-
Isolated DIO(GPIO).
1 : Output;
0 : Input
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem).
Summary of Contents for VCM-1000
Page 56: ...48 Vecow VCM 1000 User Manual SYSTEM SETUP Step 3 CPU slot Step 4 Remove CPU mylar...
Page 59: ...51 Vecow VCM 1000 User Manual SYSTEM SETUP Step 3 CPU slot Step 4 Remove CPU mylar...
Page 64: ...56 Vecow VCM 1000 User Manual SYSTEM SETUP Step 3 Close the cover...
Page 75: ...67 Vecow VCM 1000 User Manual SYSTEM SETUP Step 3 Fasten washer on the antenna cable connector...
Page 97: ...89 Vecow VCM 1000 User Manual Appendix A Vecow_DIO_VCM Vecow_POE_VCM Vecow_WDT...