
7
◆
Function Library
‧
The user program of data collector can use the PT-10/12 Function
Library provided by the manufactur to complete the data collection
jobs. PT-10/12 Function Library provides variety of services, and
accomplish special functions according to specifical demands.
‧
When using the PT-10/12 Function Library, please add the import
command (#include
“
UserLib.h
"
, “DBMS.h”, “LIB_CL.h”) into the
user program file (*.c) and the function can be imported. In this case,
the PT-10/12 Function Library file SDKLib.alf is needed. The path
should be:
SDK\UserProg\Library\SDKLib.alf
(Refer to User Program Directory)
‧
The PT-10/12 Function Library file SDKLib.alf has always the revision
control issue. For most updated version, please ask helps from your
vendor or the manufactur. If your function library has errors or
requirements for new features, this file needs to be updated.
‧
In order to complete generating the UserProg.bin file, the PT-10/12
Function Library file SDKLib.alf will be needed when compiling and
linking.
‧
The libraries offered at present has:
:
1.UserLib.h: General Functions. Please refer
General Library
of this
document.
2.LIB_CL.h: CL Functions. Please refer
CL Library
of this document.
3.DBMS.h: Database Manage System. Please refer
DBMS Library
of
this document.
‧
If want to use the examples of CL and DBMS libraries, please copy
LIB_CL and DBMS examples to UserProg.c in SDK\UserProg\SRC.
Executes the UserProg.apj file in SDK\UserProg\SDT. After compiling,
You must download the binary file to PT-10 and use the example file in
collector.
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...