The text of a manual · part 13 of 17
Dolphin 7200 Handheld Computer and HomeBase User's Guide, pages 121 to 130
Pages 121 to 130 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 121
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
Compiling the Sample Programs Note: See the Development API Help file (DAPI.HLP) for complete information regarding the Dolphin Development Libraries, Samples and Compiling instructions. Microsoft
In order for an application to use Dolphin’s unique features, you must add a Dolphin library to the application’s project. There are four libraries located in c:\dolphin\lib\msvc named dolphinx.lib where x is s, m, c, or l, corresponding to the memory model. To add dolphinx.lib to an application’s project: •
Select the menus Project|Edit.
•
Change List Files of Type: to Library (*.lib). Browse into c:\dolphin\devtools\lib\msvc. Select dolphinx.lib corresponding to the memory model. Click the Add button.
•
The Include Files Path must be modified, so the compiler will search for include files in c:\dolphin\devtools\include.
Borland
For an application to use Dolphin’s unique features, you must add a Dolphin library must be added to the application’s project. There are five libraries are located in c:\dolphin\devtools\lib\ orland directory. They are named dolphinx.lib where x is t, s, m, c, or l, corresponding to the memory model. To add dolphinx.lib to an application’s project: •
Right click on the .exe file in the Project Window.
•
Select Add node from the pop-up menu.
•
When the Add to Project List dialog box is displayed, change Files to Type: to Libraries (*.lib).
•
Browse to c:\dolphin\devtools\lib\borland.
•
Select the dolphinx.lib library corresponding to the memory model. Click the Open button.
•
The Include Files Path must be modified, so the compiler will search for include files in c:\dolphin\devtools\include.
Rev. d 12/19/2001
121
Page 122
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
Transferring Files to or from Dolphin Transferring files between your Dolphin terminal and a desktop PC is easy with the YX.EXE utility or the Dolphin File Transfer program.
Using the YX.EXE Utility
N O T E
When using YX on the Dolphin 7200 with Ir Only terminal, only COM1 is available.
The YX.EXE utility, installed in the directory c:\dolphin\utils, performs RS-232 file transfers using Ymodem batch protocol. In addition, YX.EXE is preloaded on the Dolphin’s A drive. This program can be run by entering commands at the DOS prompt or by accessing a menu. YX.EXE supports the following options: Usage : yx [/b#] [/m] [filename] [com port] Where:
filename: /b#: /m: /c#:
refers to file name to send, if not specified YX will receive a file Specifies new BAUD rate, 300-57600 Run YX in menu driven mode Specifies COM ports 1-9 (1=Ir Port, 2=Micro DB-9)
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.
Using the Dolphin File Transfer Program
Open the Dolphin program group in Windows Explorer and copy the Dolphin File Transfer shortcut to your PC’s desktop. Putting the shortcut on your desktop simplifies the file transfer process.
Rev. d 12/19/2001
122
Page 123
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
Sending a File to the Dolphin 1.
Open the Dolphin File Transfer Program Configuration dialog box. Check to make sure the baud rate is set at 57600. This is the default for YX.EXE. Close the Configuration dialog box and exit the Dolphin File Transfer program. To change the baud rate, see the section on “Sending Files at a Higher Rate” on the next page.
2.
Open Windows Explorer. Resize and move the window so that you can see both Explorer and the Dolphin File Transfer shortcut on your desktop.
3.
In Windows Explorer, select the file to be transferred and, while holding down the left mouse button, drag and drop the file on the Dolphin File Transfer shortcut on the desktop. This opens the Dolphin File Transfer program.
4.
At the Dolphin’s C: prompt, enter <YX>.
5.
Press <ENTER> on the Dolphin terminal to begin the file transfer. The COMM LED on the Dolphin HomeBase will blink red and green during the transfer. You can also view the progress of the file transfer on the Dolphin screen and Dolphin File Transfer program window.
N O T E
The configuration switches are checked at power up. Changes in the switch settings will not be recognized until power is cycled.
Sending a File From Dolphin to Your PC 1.
Double-click on the Dolphin File Transfer shortcut to open the program.
2.
Open the Configuration dialog box. Check to make ensure the baud rate is set at 57600.
3.
At the Dolphin’s C: prompt, enter <YX> [Filename].
4.
Click on the Receive File button.
5.
Press <ENTER> on the Dolphin terminal to begin the file transfer. The COMM LED on the Dolphin HomeBase will blink red and green during the transfer. You can also view the progress of the file transfer on the Dolphin screen and in the Dolphin File Transfer program window.
Sending Files At A Higher Rate
A batch file containing command lines for sending and receiving files at higher baud rates is also loaded on the Dolphin terminal. To send at a higher rate, the Dolphin HomeBase must be programmed at the higher baud rate. Configuration Switch 2 should be in the down position. Refer to the section on Baud Rate Selection in Configuring a Single Dolphin HomeBase or Creating a HomeBase Network later in this chapter.
Rev. d 12/19/2001
123
Page 124
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
•
To send at 38400 baud rate, enter <YF> at the DOS prompt instead of <YX>.
•
To send at 57600 baud rate, enter <YFF> at the DOS prompt.
Using the Dolphin File Transfer Program and YX in Menu Mode
You can also use YX in menu mode to send and receive files from the Dolphin to your PC and vice versa with the Dolphin File Transfer program and YX.EXE on the PC. Sending Files to the Dolphin To use a menu for sending files to the Dolphin, follow these steps: 1.
Open the Configuration dialog box. Check to make sure the baud rate is set at 57600. This is the default for YX.EXE.
2.
Enter <YX /M> at the Dolphin terminal’s DOS prompt.
3.
Press <ENTER> and the menu below will appear on your Dolphin terminal’s screen:
Port = 1 Baud Rate = 9600 F1 – Send File F2 - Receive File F3 - Set Baud Rate F4 - Choose Port Q - Quit
N O T E
When using the menu, press <F3> to change to a higher baud rate. If you are using a HomeBase to transfer files, be sure to set Configuration Switch 2 on the HomeBase in the up position.
4.
In Windows Explorer, select the file to be transferred and, while holding down the left mouse button, drag and drop the file on the Dolphin File Transfer shortcut on the desktop. This opens the Dolphin File Transfer program.
5.
Press <F2> to begin the file transfer. If you are using a HomeBase to transfer files, the COMM LED will blink red and green during the transfer. You can also view the progress of the file transfer on the Dolphin screen and status bar in the Dolphin File Transfer program window.
Rev. d 12/19/2001
124
Page 125
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
Sending Files From the Dolphin To Your PC 1.
Double-click on the Dolphin File Transfer shortcut to open the program.
2.
Open the Configuration dialog box. Check to make sure the baud rate is set at 57600.
3.
Enter <YX /M> at the Dolphin terminal’s DOS prompt.
4.
Press <ENTER> and the menu below will appear on your Dolphin terminal’s screen:
5.
Click on the Receive File button.
6.
Press <F1> on your Dolphin terminal and then enter the name of the file. Press <ENTER>. If you are using a HomeBase to transfer files, the COMM LED on the Dolphin HomeBase will blink red and green during the transfer. You can also view the progress of the file transfer on the Dolphin screen and status bar in the Dolphin File Transfer program window.
Dolphin EVS Engine The EVS engine provides bit-mapped graphics support for the Dolphin LCD. EVS is the primary interface between an application and BIOS graphics functions. The EVS engine consists of three basic parts: 1.
A TSR (EVS.EXE) that traps standard video BIOS (INT 10H) calls, and overlays hardware specific support for the Dolphin LCD.
2.
A set of API routines that allow easy access to the EVS specific routines. These functions have been merged into the standard Dolphin Development API and are documented in the Dolphin API Help file (DAPI.HLP).
3.
Application and system level Status line support.
The EVS engine eliminates the need for an application to directly access the hardware layer. The EVS engine maintains an image of the display in memory (118 pixels wide by 73 pixels tall). All application screen access (read/write) is filtered so as to write to the display image rather to the hardware. The EVS engine then updates the hardware (e.g. writes to the display) as necessary. This process allows for support of a single display plane that combines graphics and text. For more on the Dolphin EVS Engine, see the Dolphin OS and Development System electronic help file.
Rev. d 12/19/2001
125
Page 126
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 ROM Image and Boot Loader Upgrading the Dolphin ROM Image Important Notice: Before installing the Dolphin OS and Development System, you must remove all previous installations. To do this, delete the C:\DOLPHIN directory and all files contained within as well as the Dolphin Group or Folder. Only install the most recent release of the Dolphin ROM IMAGE and Boot Loader. Loading an old version of the ROM IMAGE or Boot Loader can make the Dolphin unstable or inoperable, and requiring you to return the unit to HHP for repair. The Dolphin terminal has a Boot Loader incorporated that allows the developer to upgrade or reload the ROM IMAGE. Follow these steps to manually reload the ROM IMAGE and Operating System from DOS: 1.
Verify that Configuration Switch 2 on the back of the Dolphin HomeBase is set to “Fixed BPS” and Switch 1 is set to “Single”. Power must be turned off and then on to accept the new dip switch settings.
2.
Make sure the serial cable is properly installed and power is properly connected to the HomeBase. Make sure no other communications programs are running on the PC.
3.
Start the Dolphin Boot Loader. Hold down the “7” and “9” keys with one hand. With your other hand, press and release the “ON/SCAN”, “SHIFT” and “BKSP” keys. Release the “7” and “9” keys. You should see the screen below. If not, repeat step three.
SYS Utilities X.XX 1) 2) 3)
Download Launch Bios Set Baud Rate
Baud: 57600
4.
Press “3” to select Baud rate. Press “1” to set baud rate to 57600.
Rev. d 12/19/2001
126
Page 127
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
SYS Utilities X.XX 1) 9600 2) 19200 3) 38400 4) 57600 Baud: 9600
5.
Press 1 to download.
Upgrading the Dolphin Boot Loader
W A R N I N G
Only install the most recent release of the Dolphin ROM IMAGE and Boot Loader. DO NOT load an old version of the ROM IMAGE or Bootloader. The Dolphin may become unstable or inoperable requiring you to return the unit to HHP for repair.
Note: We recommend that you use the Dolphin Upgrade WIZARD to update the Dolphin Boot Loader, ROM image and Demo application. Simply run DWIZARD and follow the instructions provided. While it is unlikely that you will ever need to reload the Dolphin Boot Loader, an image of the Dolphin Boot Loader is included with the Dolphin OS and Development System just in case. The Boot Loader image is installed in the c:\dolphin\BOOTLDR directory on your PC. To load or reload Dolphin’s Boot Loader: 1.
Transfer BURN.EXE and BOOTLDR.BIN to 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
127
Page 128
Chapter 10 Troubleshooting and Warranty Information Dolphin® 7200 Terminal Describes troubleshooting tips, solutions for problems you may encounter with the Dolphin 7200 terminal or HomeBase and warranty information.
128
Page 129
C H A P T E R 1 0 T R O U B L E S H O O T I N G A N D W A R R A N T Y I N F O R M A T I O N F O R D O L P H I N 7 2 0 0 T E R M I N A L
Just In Case The Dolphin 7200 terminal and Dolphin HomeBase are both designed to provide years of trouble-free use. Both products are covered by a one-year limited warranty. This chapter includes troubleshooting tips, warranty information, describes how to obtain technical support.
Before Calling For Application Support If you have problems with either the Dolphin terminal or HomeBase, review the list of symptoms and solutions included in this chapter. If the problem isn’t listed in this chapter, contact your Reseller or Hand Held Products’ Application Support Department for assistance.
Troubleshooting the Dolphin Terminal and HomeBase This table describes some of the common problems/symptoms and solutions that you could encounter while using your Dolphin terminal or Dolphin HomeBase. If you need further assistance with troubleshooting your terminal, contact your HHP Authorized Reseller. If You Have This Problem/Symptom The display is blank, the Dolphin terminal will not turn on.
Try This: Is the battery is low? Recharge or replace it with a known good battery. Reset the Dolphin terminal.
When booting up the Dolphin, I see the message ‘CMOS MEM size wrong’ for a second or two and the unit continues to boot. Is there something wrong with my unit?
Rev. d 12/19/2001
When the Dolphin’s internal NiMH battery is not charged or run down, this message will display and the terminal’s settings are reset to their default values. This includes the date and time which is reset to January 1, 1980 and 12:00 AM. The terminal is fine. You simply need to recharge the internal battery and reset the Dolphin’s date and time. To do this, insert a fully charged battery in the Dolphin and then use the DOS Date and Time function to set the correct date and time. The internal back-up battery requires a minimum of 5 hours of charging time in order to perform and maintain the system as described in Chapter 2 of this manual.
129
Page 130
C H A P T E R 1 0 T R O U B L E S H O O T I N G A N D W A R R A N T Y I N F O R M A T I O N F O R D O L P H I N 7 2 0 0 T E R M I N A L
If You Have This Problem/Symptom The Dolphin terminal will not scan a bar code.
Try This: The bar code may be out of spec. Try reading some of the bar code examples in Appendix C, or locate a bar code sample that you know can be read by another Dolphin terminal. Is the exit window dirty? Clean it with a soft dry cloth. If the exit window is badly scratched, the Dolphin terminal should be returned to HHP for repair. Consult your software developer to ensure the correct bar code symbology is being used.
The battery in the Dolphin terminal keeps failing.
If the battery has been stored for a long period of time, it may take three charge/discharge cycles before the battery reaches its full storage capacity. The capacity of NiMH batteries decreases as the number of charge/discharge cycles increases. So, if you are experiencing low run times, a new battery may be required. To increase the run time of the Dolphin terminal, try to limit the use of the speaker, scan engine and backlight.
The Dolphin terminal is not communicating with the host computer.
Make sure the HomeBase is connected to a power source. Make sure the Dolphin terminal is inserted properly into the HomeBase. The CHARGING MAINBATT LED should be solid green. If not, remove the Dolphin terminal and reinsert it into the HomeBase. Ensure the communications baud rate is set correctly. Set communications for 57600, N, 8, 1. Make sure that Configuration Switch 2 on the back of the HomeBase is set to “Fixed BPS”.
I can not enter a “:” to change to Drive B: at the DOS prompt. The ‘CHARGING AUXBATT’ LED does not come on when I insert a battery pack into the Dolphin HomeBase.
Rev. d 12/19/2001
Make sure the RS-232 cable is properly attached to the HomeBase and host computer. Also, check to ensure that the cable is configured properly. The “:” is a special character that can be entered by typing “SHIFT” “Z”. See reference to special characters in “Using the Alphanumeric Keypad” or “Using the Numeric Keypad” section for additional information. Check the power connections on the Dolphin HomeBase. Also check to ensure the battery pack is properly seated.
130