The text of a manual · part 14 of 33
502X Data Collection PC System Manual: Chapter 5: Developing and Installing Applications, pages 113 to 120
Pages 113 to 120 of 310, from 502X Data Collection PC System Manual
The original document is the PDF (2.7 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 Intermec 5020
Page 113
Developing and Installing Applications
5
5. Open the Start menu and choose Settings. Choose Control Panel, and then choose Systems. Click the Port Settings tab. The Port Settings information box appears.
Make sure the settings are as follows: Data Bits
8
Parity
None
Stop bits
1
Flow control
Hardware
6. Click the Advanced button. The Advanced Port Settings dialog box appears.
Make sure the Transmit Buffer slider is set to Low. 7. Click OK twice to close the message boxes, and then reboot the desktop PC.
5-21
Page 114
502X Data Collection PC System Manual
&
8. On the 502X, open the Start menu and select Programs. Choose PC Connection and press . The 502X should shortly be communicating with your desktop PC. Follow the onscreen instructions for establishing a partnership. When the partnership has been established, the device name of your 502X appears in the ActiveSync window on your desktop:
&
9. To disconnect the 502X from your desktop PC this first time, open the Start menu and select Programs. Then select PC Connection and press . A message box appears. Press to close the message box. The connection will be broken in a few moments.
&
Now that the partnership has been established, all future connects and disconnects will be handled through ActiveSync. Note: On the 502X, PC Connection sets a baud rate of 19,200 when first establishing an ActiveSync partnership. If you change the 502X baud rate setting after a partnership has been established, it may take several connection attempts before ActiveSync can automatically match the desktop PC to the new baud rate. After the connection is made at the new baud rate, this becomes the default ActiveSync baud rate.
5-22
Page 115
Developing and Installing Applications
5
Reconnecting To Your Desktop PC After you have created a partnership using ActiveSync, use it to re-establish the connection between the 502X and your desktop PC. To reconnect a 502X to a desktop PC using ActiveSync
1. If you are using a batch 5020, connect it to your desktop PC through the IrDA port, a D5020 dock, an L5020 adapter, or a serial I/O card. If you are using an RF 502X, be sure it is within range of an access point.
&
2. Open the Start menu and select Programs. 3. Select ActiveSync and press . The ActiveSync dialog box appears.
4. Press
3 to select the Method field, and use or
!
to select a connection method.
•
Choose IrDA Port if you are using the IrDA port, a D5020, or an L5020.
•
Choose Network Connection if you are using a radio.
•
(Batch 5020s only) Choose the connection you made using REMNET.
3 3
!
5. Press to select the Connect To field. Use or to select your host PC or another device with which you want to establish the connection. 6. Press to select the Connect button and press Enter. The Connecting to Desktop message box appears. When ActiveSync has established the connection, the Connection Status dialog box appears.
5-23
Page 116
502X Data Collection PC System Manual
3
&
To disconnect an ActiveSync connection
•
Press to select Disconnect in the Connection Status dialog box and then press . The 502X will disconnect itself from the host computer and close the Connection Status dialog box.
Using ActiveSync With a Serial I/O Card (Batch 5020s only) After you have configured your batch 5020 to communicate through a serial I/O card, you can use ActiveSync to establish a partnership between the 5020 and your host PC. To establish a partnership using ActiveSync with a serial I/O card
1. Install a serial I/O card in the 5020. For help, see “Using PC and Compact Flash Memory Cards” in Chapter 1 of the 5020 user’s manual. 2. Configure your 5020 to communicate through the serial I/O card. For help, see “Connecting With a Serial I/O Card” in Chapter 3 of the 5020 user’s manual. 3. Set the baud rates for the COM ports on your desktop PC to 19,200. 4. Download ActiveSync from the Microsoft Web site and follow the onscreen instructions for installing it on your desktop PC. When this process is complete, the Get Connected dialog box appears.
&
5. Open the Start menu and select Programs. Select PC Connection and press .
5-24
Page 117
Developing and Installing Applications
5
6. When the Connecting to Serial message appears on the 5020, immediately select the Next button on the host PC. The 5020 should shortly be communicating with your desktop PC, and the Device Connected icon appears in the Notification Tray. Follow the onscreen instructions for establishing a partnership. When the partnership has been established, the device name of your 5020 appears in the Microsoft ActiveSync window on your desktop:
&
7. To disconnect the 5020 from your desktop PC this first time, open the Start menu and select Programs. Then select PC Connection and press . A message box appears. Press to close the message box. The connection will be broken in a few moments.
&
Now that the partnership has been established, all future connects and disconnects will be handled through ActiveSync. For help, see “Reconnecting To Your Desktop PC” earlier in this chapter.
Setting Up eMbedded Visual Tools 3.0 for Remote Access Setting up eMbedded Visual Tools 3.0 for remote access allows you to test programs on the 502X while you are developing them on your desktop PC. Remote debugging allows you to single step a program, to set break points, and to examine variables. ActiveSync is the preferred method for connecting the 502X to your desktop PC. You need to have the following components installed to use the remote debugging feature: •
Microsoft eMbedded Visual Tools 3.0 installed on your desktop PC.
•
The Intermec 502X SDK installed on your desktop PC. The 502X SDK, sample code, and examples are provided on the Windows CE/Pocket PC Developer’s Kit CD-ROM (Part No. 069511).
You should also use ActiveSync to establish a partnership between your desktop PC and your 502X before using eMbedded Visual Tools. For help with ActiveSync, see “Using ActiveSync” earlier in this chapter.
5-25
Page 118
502X Data Collection PC System Manual
To set up the eMbedded Visual Tools for ActiveSync
1. Start the eMbedded Visual Tools Integrated Development Environment. 2. Select Configure Platform Manager from the Tools menu. The Windows CE Platform Manager Configuration dialog box appears.
3. Click the Intermec 502X icon (5020 shown here), and then click on the plus sign to expand the selection. Select the Default Device icon and click Properties. The Device Properties dialog box appears.
5-26
Page 119
Developing and Installing Applications
5
4. In the Available Transport Components box, select Microsoft ActiveSync. Click Advanced. The second Device Properties dialog box appears.
5. In the Available Server Components dialog box, select Microsoft ActiveSync. Click OK. The first Device Properties dialog box appears. 6. Click OK three times to exit. Microsoft eMbedded Visual Tools is now configured to connect to your 502X through ActiveSync. For help with remote debugging, see the eMVT documentation.
Problems Establishing a Connection If you are unable to establish a connection between eMbedded Visual Tools and the 502X, follow these steps: 1. Make sure the WINS or DNS network configuration is correct and that you have access to a WINS or DNS server. 2. Exit eMbedded Visual Tools. Use Task Manager to verify that the CEMGR process is not running. End the process if it is running. 3. Set up the eMbedded Visual Tools for remote debugging.
5-27
Page 120
502X Data Collection PC System Manual
Installing and Removing Commercial Off-the-Shelf Software Commercial off-the-shelf software products use an installation program that installs the software differently than the 502X SETUP.EXE program. After installing the application, you need to run IMECSYNC.EXE to make the installation compatible with the 502X by reinstalling the application shortcuts as 502X shortcuts. IMECSYNC is installed in the WINDOWS directory on your 502X. When you install off-the-shelf applications on a 502X, the registry entries are not set to have these applications appear on the Start Menu, Desktop, Startup, or Programs Menu. IMECSYNC.EXE compares the contents of the \WINDOWS\DESKTOP, \WINDOWS\STARTUP, \WINDOWS\STARTMENU, and \WINDOWS\PROGRAMS directories with the contents of the registry. The registry is modified when any programs are found in these directories that are not currently defined in the appropriate registry entries. Some assumptions have to be made since the installation process has no way of indicating whether the program is accessible for administrators or end users. By default, the program name becomes the description; the working directory is the directory that the program was found in; there are no command line arguments; and the program is accessible to both administrators and end users. The program also understands shortcut files and follows the path to the resultant program to which it points. If IMECSYNC detects any programs that are defined in the registry but are no longer on the 502X, the registry entries are removed. IMECSYNC displays an activity log in a list box. You can also use IMECSYNC after you remove the application. IMECSYNC acts as a cleanup program and removes any residual information about an uninstalled application. Note: Commercial off-the-shelf applications are not guaranteed to be fully compatible with the 502X.
5-28