I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
31
3. Writing Your First Program
3.1 Libraries
There are two function libraries for the I-7188XA(D) module as follows:
7188xas.lib
is for programs of the small memory model.
7188xal.lib
is for programs of the large memory model.
Both libraries are suitable for TC, BC++, MSC and MSVC++ compilers.
All declared functions are described in the header file,
7188xa.h
.
The location of latest Library:
http://ftp.icpdas.com/pub/cd/8000cd/napdos/minios7/minios7_2.0/i-718
8xa/lib/
or CD:\Napdos\MiniOS7\MiniOS7_2.0\i-7188xa\lib
Hundreds of functions are supported in the 7188xas.lib/7188xal.lib files
as follows:
Function description
Example
COM port
InstallCOM1, InstallCOM2, InstallCOM3 ……
IsCOM1, IsCOM2, IsCOM3 ……
ToCOM1, ToCOM2, ToCOM3 ……
ReadCom1, ReadCom2, ReadCom3 ……
EEPROM
WriteEEP, ReadEEP, EnableEEP, ProtectEEP
LED and 5-digit LED
LedOn, LedOff, Init5DigitLed, Show5DigitLedWithDot
Flash Memory
FlashReadId, FlashErase, FlashRead,
FlashWrite ……
Timer and Watchdog
Timer
TimerOpen, TimeClose, TimerResetVlaue,
TimerReadValue, StopWatchReset,
StopWatchRead, StopWatchStop
File
GetFileNo, GetFileName, GetFilePositionByNo,
GetFilePositionByName
Connect to 7000 series
modules
SendCmdTo7000, ReceiveResponseFrom7000
Programmable I/O
SetDio4Dir, SetDio4High, SetDio4Low, GetDio4
Others
Kbhit, Getch, Putch, LineInput, Scanf ……
Note:
For a more detailed description of the functions, please refer to
Appendix D: Library Function List.
Содержание I-7188XA
Страница 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Страница 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Страница 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Страница 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Страница 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Страница 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Страница 161: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 161 Below snap shots are steps for install TC 3 0...
Страница 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Страница 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...