Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 11 of 17

Apex III / Apex IV Technical Reference Manual, Second Edition, pages 101 to 110

Pages 101 to 110 of 168

The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Compsee Apex III and Compsee Apex IV

Page 101

Apex PDT Technical Reference Manual

6 Utility Programs

Font Loading Utility [loadfont.exe] The [loadfont.exe] utility allows the user to change the font character set from the default installed font. Syntax: loadfont [drive:][path][filename] Option Drive: Path Filename Defaults: Notes: Example:

Description drive letter location of font to be loaded directory path to font on specified drive name of the font to be loaded IBM Extended character set Also see Display under the Hardware Configuration Section of this manual. loadfont latin1.fnt Loads the Latin-1 font

COAM30002

Rev. 2.00

8/13/02

6-29

Page 102

Apex PDT Technical Reference Manual

6 Utility Programs

File Transfer Utility [dx.exe] [dx.exe] is a file transfer utility that can be used to transfer files to and from the Apex PDT (to a PC or other serial device). The [dx.exe] utility program uses the YMODEM transfer protocol. The program will work with other PC communication programs such as HyperTerminal and PROCOMMP LUS to support file transfers. The program can be run from the command line using the following syntax and options. The program can also be started without entering any command line parameters by typing dx (refer to the Communications section of this manual for additional details). Syntax (Command Line): dx /[option] [filename] Option # bn i l q r s v w x ? Filename Defaults:

Description use COM#, where # equals 1 – 4. Default = 1. change baud rate, where n is new baud rate. Acceptable rates include 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200. Default = 115200. specifies IR port usage (Apex PDT default) gets file names from a text file listing (allows multiple file transfers) enables quiet mode (disables video output) receive file(s) send file(s) verbose mode use wired RS-232 connection (i.e. Serial End Cap use) exit after transfer displays help The filename to be transferred (can include wildcard characters). See above.

Notes:

The [dx.exe] utility implementation of the YMODEM protocol includes the file time and date parameter. Like all YMODEM utilities that implement the time/date parameter, the time/date is sent as Greenwich Mean Time (GMT). Transmitting or receiving a file from a system utilizing a different time zone will result in a received file time different than the original transmitted file time.

6-30

COAM30002

Rev. 2.00

8/13/02

Page 103

Apex PDT Technical Reference Manual

Notes: continued

Examples:

6 Utility Programs e.g. The Apex PDT will receive a file from a PC set for the Eastern Standard Time zone with a time stamp of the original EST + 5 hours. Sending a file from the Apex PDT to the PC will result in a time stamp of the original EST - 5 hours. Note that if you are in a different time zone, the difference will vary by the amount of time difference between your time zone and GMT. dx /b19200 /s apex3_r2.rom Sends the file apex3_r2.rom at 19200 dx /b19200 /r Receives a file at 19200 and places it in the local directory dx /b19200 /s *.rom Sends files with the .rom extension at 19200

Windows Transfer Utility (WXU) A Windows Transfer Utility (WXU) for performing file transfers to and from the Apex PDT is included on the Compsee Product Support CD supplied with your unit and also available from our website at www.compsee.com. Refer to the detailed Windows based Help Files incorporated with the Utility for information on how to utilize the utilities features. System Requirements Windows® 95/98/NT operating system 100 MHz Pentium® or better 16 MB RAM for Windows® 95/98, 32 MB RAM for Windows® NT 2 MB of free Hard Disk space A CD-ROM drive

COAM30002

Rev. 2.00

8/13/02

6-31

Page 104

Apex PDT Technical Reference Manual

6 Utility Programs

Upgrade Utility [flashit.exe] [flashit.exe] is a utility used to upgrade the Apex PDT BIOS, operating system, and A: drive contents (simultaneously). The program itself resides in 27.8K of memory and requires 300K of RAM for proper operation. Syntax: flashit [options] [drive:][path][filename] Option -v -y -s -? Drive: Path Filename Defaults: Disable option:

Description verbose mode auto answer y to user safe mode help drive letter location of upgrade file to be loaded directory path to the upgrade file on specified drive update/upgrade filename both verbose and safe modes default true. place a hyphen (–) after the option; flashit -v(disables verbose mode).

Examples:

flashit apex3_r2.rom Upgrades unit to the new version apex3_r2.rom. flashit -? Displays the flashit help screen.

Upgrade Procedure 1. Load the new version of the file or program into the Apex PDT using the method of your choice (e.g. serial, PC Card, etc.). 2. Using the approved flashit syntax (displayed above) perform the upgrade. 3. Reboot the unit to initialize the upgrade.

6-32

COAM30002

Rev. 2.00

8/13/02

Page 105

Apex PDT Technical Reference Manual

6 Utility Programs

Compsee BIOS Extender [cbe.exe] [cbe.exe] provides several useful extensions to BIOS functions in the Compsee Apex device. These are focused in two main areas: q Keyboard enhancements specific to the Apex PDT design q Advanced Power Management (APM) enhancements CBE is provided as a DOS TSR (Terminate and Stay Resident) program. Once loaded, its functions are available until unloaded. It can only be unloaded if it is the last TSR loaded. In most environments this will not be the case. It presently requires about 15K of memory. This may change in future releases. CBE is usually loaded from the autoexec.bat file as a part of system startup. It may also be run at the DOS command line prompt. It must be loaded after the [power.exe] APM driver is loaded. CBE will provide reduced functionality if [power.exe] is not loaded prior to loading [cbe.exe].

Function Keys: Battery % Charge: When <Fn> + <B> (“function B”) is pressed, the current state of the battery pack is displayed as a percentage of full charge. First pressing the green <FN> key and then simultaneously pressing the <B> key activate this function. The function is not case sensitive, either “b” or “B” will work the same manner. The percent of charge remaining is displayed as long as the key combination is held down. Note:

Not all Apex PDT Battery Packs are capable of can providing this information to the software. If a Battery Pack is incapable of supplying this information, the message “Device error” will be displayed.

Date and Time When <Fn> +<T> (pronounced “function T”) is pressed, the current date and time as indicated by the Apex’s internal real-time clock (RTC) is displayed. Pressing first the green <FN> key and then simultaneously pressing the <T> key activate this function. This function is not case sensitive, either “t” or “T” work the same way. The date and time are displayed as long as the key combination is held down. Other <Fn> key combinations are handled internally by the BIOS and will operate with or without the CBE program loaded.

COAM30002

Rev. 2.00

8/13/02

6-33

Page 106

Apex PDT Technical Reference Manual

6 Utility Programs

APM enhancements: Low Battery warning. CBE provides low battery warnings to the user. It displays a message “Change battery” in a window on-screen for 2 seconds when the battery reaches a pre-determined threshold. After displaying the message and sounding a warning tone, the Apex PDT is placed in a Suspend state with the current program state and memory preserved for a limited period of time. Sufficient charge is available to maintain the internal memory for a few minutes. Only the memory is preserved, other internal I/O systems are shut down, and the CPU is placed in a Suspend state as well. The battery should be changed as soon as possible after receiving this warning to prevent program or data loss. Note:

If the battery is allowed to get too low, the Apex PDT will enter a “Critical Suspend” state suddenly and without warning. This normally would only occur after the low battery warning above is repeatedly ignored. The Apex PDT will not turn back on once in this state until a fully charged battery is installed. This is designed to minimize the chance of data loss. After replacing the battery,utilize the red <POWER> button to turn the Apex PDT back on. The unit will resume operations where it left off. The principal difference between the “Suspend” and “Critical Suspend” states is that the user is prevented from turning the unit back on in the “Critical” state until a fully charged Battery Pack has been installed. It is important to install a fully charged Battery pack AS SOON AS POSSIBLE in this state as Battery Pack reserves will be low!

After exchanging the battery for a fresh or fully charged one, the unit is turned back on by pressing the red power button. The Apex will resume where it left off. The low battery warning is only available if the [power.exe] APM driver is loaded before [cbe.exe].

6-34

COAM30002

Rev. 2.00

8/13/02

Page 107

Apex PDT Technical Reference Manual

6 Utility Programs

Syntax: Cbe

[options]

Option /e /i

/u Notes:

Description use European date format dd/mm/yy instead of default USA format mm/dd/yy use an alternate TSR ID value. This must be a unique number between 192 and 207, inclusive. The default value is 205. uninstalls the TSR if possible q

CBE permanently hooks interrupts 08, 09, 13, 28, 2F.

q

CBE transiently hooks interrupts 1B, 23, 24 at activation. CBE communicates with the APM driver using the standard INT2F interface, and directly with the APM BIOS using the INT15 interface. Portions of the INT15 interface are proprietary to the Apex design. See the Datalight ROM-DOS Developers Guide for further information regarding the INT2F power interface and applications. CBE maintains a separate stack space and does not borrow from the interrupted application. CBE is compatible with both the APM 1.1 and 1.2 protocols, however the Datalight APM driver power.exe uses the V1.1 interface CBE releases its’ environment space back to DOS when it goes resident. CBE is written in C and assembly language q q q q q

COAM30002

Rev. 2.00

8/13/02

6-35

Page 108

Apex PDT Technical Reference Manual

6-36

COAM30002

Rev. 2.00

6 Utility Programs

8/13/02

Page 109

Apex PDT Technical Reference Manual

7

7 Apex Programming Resource

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: Input:

Returns: Notes:

CALL apisScanSetup(Options(), OptionCount) 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(). None Used to setup the Bar Code Driver and calls apiBCSetOption(), OptionCount times.

Battery Status apifBatteryStatus Syntax: Input: Returns: Notes:

Rslt = apifBatteryStatus() None The remaining Battery Pack capacity. 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. COAM30002

Rev. 2.00

8/13/02

7-1

Page 110

Apex PDT Technical Reference Manual

7 Apex Programming Resource

Set Screen Size apisSetScreen Syntax:

CALL apisSetScreen(Rows, Cols)

Input:

Rows = Number of Rows to be set on the screen. Cols = Number of columns to be set on the screen. None

Returns: Notes:

Four available screen sizes may be utilized (15 × 10, 15 × 20, 30 × 10, and 30 × 20). Understanding the relationship between the font size and the display screen size is critical for correct use of this function. Refer to the Display section of this manual (p. 3-6) for a detailed description of these features.

Paint Text apisPaintText Syntax:

CALL apisPaintText(Text, Row, Col, Video Mode)

Input:

Returns:

Text = Text to be displayed Row = Row to start displaying text. Col = Column to start displaying text. Video Mode = %NORMAL or %REVERSE video mode. None

Notes:

None

Save Screen apisSaveScreen Syntax:

apisSaveScreen(FileName$)

Input: Returns: Notes:

FileName$ = Filename to store current screen. None Saves the current screen to the designated file. Only one screen may be saved at a time.

7-2

COAM30002

Rev. 2.00

8/13/02