The text of a manual · part 12 of 17
Dolphin 7200 Handheld Computer and HomeBase User's Guide, pages 111 to 120
Pages 111 to 120 of 170
The original document is the PDF (3.1 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 HHP 7200
Page 111
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
F3 –HHP DEMO
Press F3 to load the HHP Inventory Control sample program. This application uses a lookup table to validate item numbers and display part descriptions. The data entered is written to a file, and can be transferred via Xmodem to a computer.
Inventory Control F1 - Enter Data F2 - Transfer Data F3 - Receive Lookup F4 - Scan Set-up ESC for Main
HHP Demo Main Screen F1 – Enter Data
Press F1 to display enter or scan data. If the item number is found, the item description is displayed. If the item number is not found, the program will ask the user if the item should be added. The date is automatically entered.
Inventory Control Item: Qty: Date: Desc: ESC for Previous
F1 Enter Data Screen F2– Transfer Data
Press F2 to transfer the collected data to a desktop computer. The data is transferred using standard Xmodem protocol. F3– Receive Lookup
Press F3 to initiate Xmodem receive. A new Lookup table can be transferred to the terminal.
Rev. d 12/19/2001
111
Page 112
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
F4- Scan Set-up F4 – Utility Menu
Press F4 to load the Utility Menu. The Utilities Menu has four options as described below:
HHP Utility menu F1 - COM Menu F2 - System Menu F3 - DOS Prompt F4 - RF Menu ESC to Main
HHP Utility Menu F1 –COM Menu
Press F1 to Send File from the Dolphin terminal to a host system (PC) via the Ymodem protocol at 57600 baud rate. Press F2 to Receive File sent from a host system via the Ymodem protocol at 57600 baud rate. F2 – System Menu
Gives version of operating system, serial number of your Dolphin and access to miscellaneous utilities F3 – DOS Prompt
Press F3 to exit the HHP demo and return to the DOS prompt. F4 RF Menu (For Dolphin RF only)
Press F4 to access the RF menu. Press F1 for RF Setup and F2 for Ping.
Rev. d 12/19/2001
112
Page 113
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
Scanning A Barcode
The Dolphin Terminal comes with demonstration software that allows you to scan barcodes immediately. A sample barcode is illustrated below for you to use for practice.
Hold the Dolphin terminal approximately 2 inches away from the sample barcode. Press the ON/SCAN key to begin scanning. Move the Dolphin terminal back and forward until the unit gets a good read. The Dolphin terminal will “beep,” and the laser will turn off when a good read is obtained. The decode LED will turn green The Dolphin terminal will show a translation of the sample barcode on the LCD window, which should appear similar to the following illustration.
HHP SCAN TEST Press F1 for setup ESC to quit Label: DOLPHIN Type:
Rev. d 12/19/2001
113
Page 114
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
Dolphin Utilities N O T E
See the Development API electronic Help file (dolphapi.hlp) for additional information regarding the Dolphin Development Libraries, samples and compiling instructions.
A number of utilities are provided with your Dolphin terminal. The Utility programs are installed in the c:\dolphin\utils directory on your computer. BMP2LCD.EXE
BMP2LCD.EXE is a Windows tool that allows developers to create a bitmap data structure from a standard Windows™ bitmap. The bitmap can then be displayed using a Dolphin Developers API function such as evDrawUserBitMap().
BURN.EXE W A R N I N G
Only install the most recent release of the Dolphin Boot Loader, loading an old version of the Boot loader can result in Dolphin becoming inoperable, and requiring the unit to be returned to HHP for repair.
BURN.EXE is a Dolphin utility, which will load or reload the Dolphin’s Boot Loader. The Boot Loader is an Xmodem communications utility used by the Dolphin OS to load or update the BIOS and Operating System (ROM image). To load or reload the Dolphin’s Boot Loader: 1.
Transfer BURN.EXE and BOOTLDR.BIN to the Dolphin’s FLASH Drive C:. 2. Execute BURN.EXE. The OS Boot Loader is updated and the files BURN.EXE and BOOTLDR.BIN are deleted.
Rev. d 12/19/2001
114
Page 115
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
DCOMM2.EXE (Dolphin File Transfer Utility)
DCOMM2.EXE is a Windows communication utility. It supports drag-and-drop file transfer using both Ymodem and Xmodem. Usage : dcomm2 [/c#] [/b#] [/y] [/x] [filename1…n] Where:
/c# /b# /x /y /a filename
Specifies COM port, where #=1-4 Specifies Baud Rate, where #=9600, 19200, 38400 or 57600 Specifies Xmodem protocol Specifies Ymodem protocol Automatic mode, waits and receives all files that are sent Filename to transfer, supports multiple file names and wildcards (*.dat).
Example: Dcomm2 /c1 /b57600 /y filename.dat
If you do not specify command line arguments, DCOMM2.EXE will open a dialog that allows you to receive files or configure the default serial communications port, baud rate, communications protocol and download path.
An ‘Auto Execute’ command line can also be specified in the configuration screen. The specified command line will be executed when a file is received. DWIZARD.EXE (Dolphin Upgrade Wizard)
DWIZARD.EXE is a Windows utility that steps you through the process of upgrading Dolphin’s Boot Loader, ROM image and Demo application. Simply run DWIZARD and follow the instructions provided to:
• Upgrade the terminal Boot Loader • Upgrade the terminal ROM Image (BIOS, A Drive Image)
Rev. d 12/19/2001
115
Page 116
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
• Reinstall/Upgrade the HHP Demo
HBCFG.EXE (HomeBase Configuration Utility)
HBCFG.EXE is a Windows utility that allows the user to change the baud rate setting for the Dolphin HomeBase. HBCFG.EXE supports the following command line arguments: Usage: hbcfg [/c#] [/I] [/b#] Where:
/c#: Specifies COM port, where #=1-4 /b#: Specifies Baud Rate, where #=9600, 19200, 38400 or 57600 /I: Forces HBCFG.EXE to display ‘Please wait Dialog’ Example: hbcfg /c1 /b57600 /I
If no command line arguments are specified or an error is detected, HBCFG.EXE will open a dialog that allows the user to select the serial communications port, baud rate, or run a diagnostic.
Rev. d 12/19/2001
116
Page 117
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
Note: Dip Switch 2 located on the back of the HomeBase must be set in the Up (PROGRAM) position for the baud rate to be programmed. The HomeBase power must be cycled (turned off and on) for the new dip switch settings to be recognized.
STL.EXE
STL.EXE is a DOS command line utility for Dolphin that turns the 9th line status indicators on or off. Usage: STL [1] [0] Where:
1: 0:
Turns the status line on turns the status line off
Example: STL 1 If no command line is specified, STL.EXE will toggle the status line off, if it was on, and on if it was off.
YX.EXE
YX.EXE is a DOS command line Ymodem communication tool for the Dolphin terminal or a PC. YX.EXE supports the following options: N O T E
When using YX on the Dolphin 7200 terminal, only COM1 is available.
Usage: Where:
yx {/c#] [/b#] [/m] [filename] filename: /c#: /b#: /m:
Rev. d 12/19/2001 refers to file name to send, if not specified YX will receive a file Specifies COM ports 1-4 (1=Ir Port, 2=Micro DB-9) Specifies new BAUD rate, 300-57600 Run YX in menu driven mode
117
Page 118
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
Examples: yx /b57600 autoexec.bat yx yx /m yx /c2
The default baud rate for the YX.EXE utility is 57600. For your convenience, batch files are included on the Dolphin terminal to make sending data at a higher baud rate easier. To send at 38400, enter <YF> instead of YX/b38400. To send at 57600, enter <YFF> instead of YX/b57600. ZZZ.EXE
ZZZ.EXE is a DOS command line utility for Dolphin that places the terminal into sleep mode. Note – The terminal can not be placed in sleep mode while it is in the HomeBase. While in a HomeBase, the terminal must be on so it can monitor the battery status.
Rev. d 12/19/2001
118
Page 119
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
The following Utilities are included in the Dolphin ROM image and are automatically loaded when the terminal boots. They are NOT included on the Dolphin OS and Development System Disk. Utility
Description
EVS.EXE
Enhanced Video System (EVS) is a TSR that traps standard video BIOS (INT 10H) calls, and overlays hardware-specific support for the Dolphin’s LCD. In addition, EVS provides application and system level Status line support.
POWERMON.EXE
POWERMON.EXE is a TSR that monitors battery status and power usage. POWERMON.EXE is automatically loaded when the terminal boots.
Dolphin Application Development Compiling Applications for the Dolphin
Dolphin application development is straightforward. Since Dolphin is DOScompatible, most of the application can be tested on a desktop computer. Although Dolphin is DOS-compatible, it provides many unique features that are not built into most PCs. For example, it has an integrated bar code scanner. The Dolphin libraries provide an API that allows an application to use these features. There are four libraries provided for linking into applications:
• dolphins.lib for small memory models • dolphinm.lib for medium memory models • dolphinc.lib for compact memory models • dolphinl.lib for large memory models The header file, dolphin.h, in the c:\dolphin\devtools\ directory contains useful declarations for using these libraries.
Rev. d 12/19/2001
119
Page 120
C H A P T E R
9
D O L P H I N
O S
A N D
D E V E L O P M E N T
S Y S T E M
Sample Applications
A number of sample programs with source code have been provided with your Dolphin terminal. The sample programs are installed in the c:\dolphin\devtools\samples directory on your desktop computer.
Application
Description
GRAPH
Draws various patterns on the Dolphin’s LCD display.
KBSTATUS
Displays keystrokes. If the keystroke is non-printable, the hex value of the keystroke is displayed.
LED
Allows the red and green LEDs to be toggled
ONBHIT
Displays status of the ON key.
SCAN
Allows bar code scanning.
SIO
Performs serial I/O. Displays characters received and sends key strokes.
SOUND
Runs through the frequency range of the Dolphin’s speaker.
NI
Sample programs for the Numeric Dolphin. This sample is located in the C:\DOLPHIN\DEVTOOLS\NUMERIC\BORLAND or C:\DOLPHIN\DEVTOOLS\NUMERIC\MSVC.
EVSDEMO
Demonstrates graphics, changing fonts, turning the status line on and off, adding new icons to the status line, and changing the system cursor.
INV5
Sample inventory application with source code.
Building the Samples
There is one Microsoft Visual C\C++ version 1.52 project file, .mak, for each sample application. There is also a Borland C++ version 5.0 project file, samples.ide. This project file will rebuild all sample applications. Consult the documentation for your compiler for information on the use of project files.
Rev. d 12/19/2001
120