Writing Your First Program; Libraries - ICP DAS USA I-7188XB Series User Manual

Hide thumbs Also See for I-7188XB Series:
Table of Contents

Advertisement

3. Writing Your First Program

3.1 Libraries

There are two function libraries for the I-7188XB(D) module as follows:
7188xbs.lib are programs for the small memory model.
7188xbl.lib are programs for the large memory model.
Both libraries are suitable for TC, BC++, MSC and MSVC++ compilers.
All declared functions are described in the header file, 7188xb.h.
The location of latest Library:
http://ftp.icpdas.com/pub/cd/8000cd/napdos/minios7/minios7_2.0/i-718
8xb/lib/
or CD: \Napdos\MiniOS7\MiniOS7_2.0\i-7188xb\lib
Hundreds of functions are supported in the 7188xbs.lib/7188xbl.lib files
as follows:
Function description
COM port
EEPROM
LED and 5-digit LED
Flash Memory
Timer and Watchdog
Timer
File
Connect to 7000 series
modules
Programmable I/O
Others
Note: For a more detailed description of the functions, please refer to
Appendix D: Library Function List.
I-7188XB Series User's Manual(Ver.1.0, Apr/2007, 7MH-020-10 ) --- 29
Example
InstallCOM0, InstallCOM1, InstallCOM2 ......
IsCOM0, IsCOM1, IsCOM2 ......
ToCOM0, ToCOM1, ToCOM2 ......
ReadCom0, ReadCom1, ReadCom2 ......
WriteEEP, ReadEEP, EnableEEP, ProtectEEP
LedOn, LedOff, Init5DigitLed, Show5DigitLedWithDot
FlashReadId, FlashErase, FlashRead,
FlashWrite ......
TimerOpen, TimeClose, TimerResetVlaue,
TimerReadValue, StopWatchReset,
StopWatchRead, StopWatchStop
GetFileNo, GetFileName, GetFilePositionByNo,
GetFilePositionByName
SendCmdTo7000, ReceiveResponseFrom7000
SetDio4Dir, SetDio4High, SetDio4Low, GetDio4
Kbhit, Getch, Putch, LineInput, Scanf ......

Advertisement

Table of Contents
loading

Table of Contents