Apex PDT Technical Reference Manual
7 Apex Programming Resource
COAM30002
Rev. 2.00
8/13/02
7-1
7
APEX PROGRAMMING RESOURCE
To facilitate Apex PDT programming, the Apex PDT is shipped
with an Apex Programming Resource (APR). The APR contains a
set of ready-to-use customized functions for fast and efficient
performance of common programming tasks. The APR supplies
enhanced functionality not provided by PowerBASIC
,
Borland
C, or Microsoft
C. Routines are included for various I/O
functions, System Status and Control functions, and Display Screen
functions.
The following sections describe the various functions available
within the PowerBASIC
and C Libraries. Refer to the
BCDRIVER section (p. 6-3) of this manual for detailed information
on the Bar Code Driver.
PowerBASIC
Library
The PowerBASIC
Library (APR-PB) file
[apexiii.pbl]
along with
the associated include file
[apidef.inc]
can be found on the
Compsee Product Support CD supplied with the unit. The
PowerBASIC
Library contains the following functions:
Scanner Setup
apisScanSetup
Syntax:
CALL apisScanSetup(Options(), OptionCount)
Input:
Options()
= Refer to the BCDRIVER High-Level API
(PowerBASIC) section of this manual (p. 6-16) for a
complete list of options and option format information.
OptionCount
= Number of elements in
Options()
.
Returns:
None
Notes:
Used to setup the Bar Code Driver and calls
apiBCSetOption()
,
OptionCount
times.
Battery Status
apifBatteryStatus
Syntax:
Rslt = apifBatteryStatus()
Input:
None
Returns:
The remaining Battery Pack capacity.
Notes:
Used to monitor the battery status. When testing the
battery level you should not prompt the user to change the
Battery Pack until the Battery Pack has been drained. Not
allowing the Battery Pack level to drain will alter the
consistency of the function.
Summary of Contents for Apex III
Page 2: ...This Page Intentionally Left Blank...
Page 12: ...Apex PDT Technical Reference Manual Table Of Contents COAM30002 Rev 2 00 8 13 02 viii...
Page 108: ...Apex PDT Technical Reference Manual 6 Utility Programs COAM30002 Rev 2 00 8 13 02 6 36...
Page 152: ...Apex PDT Technical Reference Manual 10 Power Management COAM30002 Rev 2 00 8 13 02 10 8...
Page 166: ...Apex III Technical Reference Manual Appendix A COAM30002 Rev 1 03 08 13 02 A 6...
Page 167: ...This Page Intentionally Left Blank...