44 lines
833 B
Plaintext
44 lines
833 B
Plaintext
AxDIO for SBC87891+AX96712
|
|
==========================
|
|
DIO library for SBC87891+AX96712
|
|
|
|
Directory:
|
|
==========
|
|
"Demo"
|
|
- Contains demo binary files.
|
|
|
|
"LIB"
|
|
- Contains AxDIO library files.( .h, .lib, .dll)
|
|
|
|
"SRC"
|
|
- Contains C# demo source code.
|
|
|
|
API:
|
|
====
|
|
BOOL __stdcall AxInit()
|
|
- Initialize AxDIO library.
|
|
|
|
BOOL __stdcall AxDIOInit()
|
|
- Initialize DIO device.
|
|
|
|
BOOL __stdcall AxGetDO(unsigned short *data)
|
|
- Get DO current status. (16 bit)
|
|
- 0: Low voltage
|
|
- 1: High voltage
|
|
|
|
BOOL __stdcall AxGetDI(unsigned short *data)
|
|
- Get DI current status. (16 bit)
|
|
- 0: Low voltage
|
|
- 1: High voltage
|
|
|
|
BOOL __stdcall AxSetDO(unsigned short data)
|
|
- Set DO status
|
|
- 0: Low voltage
|
|
- 1: High voltage
|
|
|
|
void __stdcall AxShutdown()
|
|
- Release AxDIO resource.
|
|
|
|
Note:
|
|
=====
|
|
1. Please run application as administrator. (AxDIO needs administrator privilege) |