IEI Technology IMK-571R Software And Programming Manual

Imk runtime demo user guide, xml merchandise manager user guide, and msr programming guide
Table of Contents

Advertisement

Quick Links

IMK-571R Software and Programming Guides
IEI Technology Corp.
IMK-571R Software and
Programming Guides
XML Merchandise Manager User Guide,
Rev. 1.00 – 29 September, 2009
IMK Runtime DEMO User Guide,
and MSR Programming Guide
User Manual
Page i

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IMK-571R and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IEI Technology IMK-571R

  • Page 1 IMK-571R Software and Programming Guides IEI Technology Corp. IMK-571R Software and Programming Guides IMK Runtime DEMO User Guide, XML Merchandise Manager User Guide, and MSR Programming Guide User Manual Page i Rev. 1.00 – 29 September, 2009...
  • Page 2 IMK-571R Software and Programming Guides Revision Date Version Changes 29 September, 2009 1.00 Initial release Page ii...
  • Page 3 IMK-571R Software and Programming Guides Copyright COPYRIGHT NOTICE The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
  • Page 4: Table Of Contents

    IMK-571R Software and Programming Guides Table of Contents 1 WINDOWS CE SETUP ....................1 1.1 S ..................2 TART UP AND HUT DOWN 1.1.1 Start up ....................... 2 1.1.2 Shut down......................3 1.2 L ....................4 IST OF UNCTIONS 1.2.1 List of Window CE applications and services............ 4 1.2.2 List of Control Panel..................
  • Page 5 IMK-571R Software and Programming Guides 1.6.2.2 IEI_RMTCE & CEVncSvr ............... 30 1.6.2.3 IEI_CEUTILITY..................30 1.6.2.4 RegEdit ..................... 30 1.6.2.5 REGSVR32 & REGSVRCE..............31 1.6.2.6 Save Registry .................... 32 1.7 C ....................32 ONFIGURATION 1.7.1 Overview ......................32 1.7.2 Offset 0x00: Load Registry From EEPROM............ 33 1.7.3 Offset 0x01: Erase Registry in EEPROM ............
  • Page 6 IMK-571R Software and Programming Guides 3.2 M ......................56 3.3 V ......................57 IDEO LAYER 3.4 B F1: B .................. 58 UTTON ARCODE 3.5 B F2: P ..................60 UTTON RINTER 3.6 B F3: MSR D ..................62 UTTON 3.7 B...
  • Page 7 7.2 A BARC HTML ............130 ONTROL BJECT IN 7.3 R )..............130 INT I 8 MSR PROGRAMMING GUIDE FOR IMK-571R-CE5/MSR ......131 8.1 A ................132 DDING EYBOARD UPPORT 8.1.1 *.h........................132 8.1.2 *.cpp....................... 132 9 FAQ ..........................134 9.1 W...
  • Page 8 IMK-571R Software and Programming Guides List of Figures Figure 1–1: Windows Splash Screen....................2 Figure 1–2: Desktop ........................3 Figure 1–3: Control Panel ......................8 Figure 1–4: Save Registry......................8 Figure 1–5: Touch Screen Calibration..................9 Figure 1–6: Control Panel ......................9 Figure 1–7: Touch Screen Calibration..................10 Figure 1–8: IP Address Selection....................10...
  • Page 9 IMK-571R Software and Programming Guides Figure 1–31: Remote Desktop Extended Interface..............19 Figure 1–32: Remote Desktop Programs Tab................20 Figure 1–33: Remote Desktop General Tab ................20 Figure 1–34: Remote Desktop Connection ................21 Figure 1–35: Windows Server 2003 Logon ................21 Figure 1–36: Software Keyboard Icon ..................22 Figure 1–37: Large Software Keyboard..................22...
  • Page 10 IMK-571R Software and Programming Guides Figure 2–8: Remote Management Set Subnet ................40 Figure 2–9: Remote Management Device Search ..............40 Figure 2–10: Remote Management ............. 錯誤! 尚未定義書籤。 Figure 2–11: Security check Dialog ............錯誤! 尚未定義書籤。 Figure 2–12: Remote Management Enable device toolbar....... 錯誤! 尚未定義書籤。...
  • Page 11 IMK-571R Software and Programming Guides Figure 2–42: Account Setting Dialog -> Add User、Modify User、Delete User錯誤! 尚未定義 書籤。 Add User ........錯誤! 尚未定義書籤。 Figure 2–43:Add New User Dialog Modify User........錯誤! 尚未定義書籤。 Figure 2–44: Add New User Dialog Figure 3–1: Main Screen ......................56 Figure 3–2: Play Video .........................57...
  • Page 12 IMK-571R Software and Programming Guides Figure 5–12: Factory Default (Barcode Settings Page) ............92 Figure 5–13: Version Information (Barcode Settings Page) ............93 Figure 6–1: SDK Installation File....................97 Figure 6–2: SDK Installation Welcome Screen................98 Figure 6–3: SDK License Agreement..................98 Figure 6–4: SDK Customer Information ..................99 Figure 6–5: SDK Setup Type Selection ..................99...
  • Page 13 IMK-571R Software and Programming Guides Figure 6–34: Platform Manager Configuration ............... 117 Figure 6–35: Platform Manager Configuration ............... 118 Figure 6–36: Platform Manager Device Properties ..............118 Figure 6–37: Platform Manager Example Program ..............119 Figure 6–38: Connect With ActiveSync................... 120 Figure 6–39: Connect With ActiveSync...................
  • Page 14 IMK-571R Software and Programming Guides List of Tables Table 6–1: Hardware Requirements....................96 Table 6–2: Software Requirements.....................96 Page xiv...
  • Page 15: Windows Ce Setup

    IMK-571R Software and Programming Guides Chapter Windows CE Setup Page 1...
  • Page 16: Start Up And Shut Down

    IMK-571R Software and Programming Guides 1.1 Start up and Shut down 1.1.1 Start up Windows CE starts automatically when the system is turned on. The initial screen shows for 30 seconds while loading Windows CE 5.0. The startup image can be changed by overwriting the default "logo.bmp" with a customized one. Ideal resolution is 640 x 480 pixels, with 65536 colors in bitmap format.
  • Page 17: Shut Down

    IMK-571R Software and Programming Guides Figure 1–2: Desktop If the progress bar stalls and the system does not boot, please check in the following order. Step 1: Check SD card is installed correctly Step 2: Check SD card is formatted with FAT16...
  • Page 18: List Of Functions

    IMK-571R Software and Programming Guides 1.2 List of Functions 1.2.1 List of Window CE applications and services There are a range of programs that can be included on a Windows CE installation. The fewer programs that are included, the faster Windows will run.
  • Page 19 IMK-571R Software and Programming Guides Services Descriptions Active Template Library A C++ template library for creating small, fast Microsoft® (ATL) ActiveX® servers. C Libraries and All C libraries and run-times for Windows CE Run-times Component Services An operating system-independent, object-oriented system for...
  • Page 20: List Of Control Panel

    IMK-571R Software and Programming Guides Services Descriptions WBT (Windows based Available on RDP client's terminal. Acts in the same manner as Terminal) password preservation and auto-logon. * Explorer shell cannot be used with this FTP Server Allows the device to become an FTP server...
  • Page 21: Control Panel Settings

    IMK-571R Software and Programming Guides Icons Details Save Registry Power reset after after execution execution Internet Option Set Internet options Required Required Keyboard Set up keyboard Required Required Mouse Set up mouse Required Required Network and Set up network environment...
  • Page 22: Figure 1-3: Control Panel

    IMK-571R Software and Programming Guides Step 2: From the Start menu, select Settings. Step 3: Then select Control Panel. Figure 1–3: Control Panel Step 4: Make any required changes. Step 5: Select "Start->Programs->Save Registry" to save any changes. If not saved to the registry, the changes will revert back after a system restart.
  • Page 23: Stylus

    IMK-571R Software and Programming Guides 1.3.1 Stylus Calibrate the touch screen to ensure that input using the stylus is correct. Step 1: Double click the Stylus icon on the Control Panel or [Start] -> [Programs] -> [Calibration] Figure 1–5: Touch Screen Calibration Step 2: Select the Stylus tab.
  • Page 24: Network

    IMK-571R Software and Programming Guides Figure 1–7: Touch Screen Calibration 1.3.2 Network To connect to a wired network through the Ethernet cable, do the following. Step 1: Double click the Network and Dial-up Connections icon on the Control Panel. Step 2: Double click the DM9CE1 icon.
  • Page 25: Figure 1-9: Name Server Selection

    IMK-571R Software and Programming Guides Figure 1–9: Name Server Selection Step 4: Before running Internet Explorer, make sure the network cables are attached and verify the network is connected. Figure 1–10: Network Not Ready Figure 1–11: Network Ready Step 5: If the network does not become ready, double-click the icon of the non-connected network.
  • Page 26: Volume & Sounds

    IMK-571R Software and Programming Guides Figure 1–13: Renew Network Status Step 7: If the system is unable to connect to a network, the following message is displayed. Click OK to close the message window. Figure 1–14: DHCP Warning Step 8: If the original IP has not been used for a while, it might not work any more.
  • Page 27: Keyboard

    IMK-571R Software and Programming Guides Step 2: Click the Volume tab. next, set the [Enable sounds for:] to either ON or OFF. S t e p 0 : Figure 1–15: Volume & Sounds Properties 1.3.4 Keyboard Set the properties of the keyboard.
  • Page 28: Figure 1-17: Control Panel

    IMK-571R Software and Programming Guides Step 1: Double click the System icon on the Control Panel or [Start] -> [Programs] -> [System]] Figure 1–17: Control Panel Step 2: General: shows the system information. Figure 1–18: System Properties Step 3: Memory: move the slider to the left for more memory to run programs. Move slider to the right for more storage.
  • Page 29: Built - In User Applications Of Windows Ce 5.0

    IMK-571R Software and Programming Guides Step 4: Device Name: These setting are used to identify your Windows CE device to other computers. Please type a name and a short description. Figure 1–20: Device Name Step 5: Copyrights: displays the copyrights for the operating system.S t e p 0 :...
  • Page 30: Internet Explorer

    IMK-571R Software and Programming Guides Figure 1–22: Desktop 1.4.1 Internet Explorer How to use Internet Explorer. Step 1: Open Internet Explorer. Figure 1–23: Internet Explorer Icon Step 2: Enter the website address (URL). Figure 1–24: Website URL Common functions on the toolbar.
  • Page 31: Figure 1-25: Internet Explorer File Menu

    IMK-571R Software and Programming Guides Step 3: File: [Open], [Save As…], [Print], [Page Setup…], [Work Offline] functions. Figure 1–25: Internet Explorer File Menu Step 4: Edit: [Cut], [Copy], [Paste], [Select All], [Find] functions to edit the context of the current page.
  • Page 32: Set Up A Remote Desktop Connection

    IMK-571R Software and Programming Guides Step 6: Favorites: keeps track of favorite sites and allows them to be retrieved easily. S t e p 0 : Figure 1–28: Internet Explorer Favorites Menu 1.4.2 Set up a Remote Desktop Connection Set up a connection to a host computer.
  • Page 33: Figure 1-31: Remote Desktop Extended Interface

    IMK-571R Software and Programming Guides Figure 1–31: Remote Desktop Extended Interface Step 4: Select Start Programs as the default application to start when you connect or specify an application name. If you select to specify an application, you can also specify a working directory.
  • Page 34: Figure 1-32: Remote Desktop Programs Tab

    IMK-571R Software and Programming Guides Figure 1–32: Remote Desktop Programs Tab Step 5: Click Save As to save the new connection. Figure 1–33: Remote Desktop General Tab Page 20...
  • Page 35: Software-Based Input Panel

    IMK-571R Software and Programming Guides Step 6: Select the connection you created in Step 2. Then click Connect. Figure 1–34: Remote Desktop Connection Step 7: Enter the [User name], [Password] and [Domain] of the computer to connect to, and click Connect.S t e p 0 :...
  • Page 36: Media Player

    IMK-571R Software and Programming Guides Figure 1–36: Software Keyboard Icon Step 2: Select LargeKB. Figure 1–37: Large Software Keyboard Step 3: Or select Keyboard.S t e p 0 : Figure 1–38: Normal Software Keyboard 1.4.4 Media Player Step 1: Double-click the Media Player icon.S t e p 0 :...
  • Page 37: File Viewer

    IMK-571R Software and Programming Guides Playback: To control the playing status of Media Player. Figure 1–40: Windows Media Player 1.4.5 File Viewer ® File View enables you to view files created for various Microsoft programs. You cannot edit these files.
  • Page 38: Setup System Time

    IMK-571R Software and Programming Guides Figure 1–42: Microsoft® WordPad Desktop Icon Microsoft® PowerPoint Viewer: View, print and copy PowerPoint documents. Figure 1–43: Microsoft® PowerPoint Viewer Desktop Icon Microsoft® Image Viewer: View, print and copy Image File. Figure 1–44: Microsoft®® Image Viewer Desktop Icon Microsoft®...
  • Page 39: Iei Ceutility 1.0

    IMK-571R Software and Programming Guides Figure 1–47: Date/Time Properties 1.5 IEI CEUTILITY 1.0 1.5.1 Launching IEI CEUTILITY 1.0 To launch the utility, select Start Programs IEI IEI CEUTILITY 1.0. (the target execution file is IEI_CEUTILITY.exe in “SYSTEM” directory in your default SD Memory Card file system).
  • Page 40: Registry Settings

    IMK-571R Software and Programming Guides Figure 1–48: IEI CE Utility 1.5.2.1 Registry Settings You can view your device registry keys and values by clicking the “View Registry” button. If you want to restore system registry to default factory settings, click “Recover to Factory Settings”, before you do this, make sure all custom applications are no longer associated...
  • Page 41: Auto Execution

    IMK-571R Software and Programming Guides Figure 1–49: Save Registry Saves all changes to non-volatile memory so they are not lost when the system is restarted. 1.5.3 Auto Execution Programs can be set to load when the device is turned on. The programs are loaded from the top of the list to the bottom.
  • Page 42: Figure 1-50: Auto Execution

    IMK-571R Software and Programming Guides Figure 1–50: Auto Execution To chose an application path from the file dialog box Figure 1–51: Auto Execution Choose Program Dialog Page 28...
  • Page 43: Contents Of Default Secure Digital Card Memory Card

    IMK-571R Software and Programming Guides Contents of Default Secure Digital Card memory card 1.6.1 OS Image, Logo File and Configuration File The Windows CE 5.0 OS Image file (NK.bin), the picture for boot up screen (LOGO.bmp) and the configure file (WINCE.TXT) should be located in root of file system of SD Memory Card.
  • Page 44: Screen Capture

    IMK-571R Software and Programming Guides 1.6.2.1 Screen Capture The screen capture software will take a picture of what is on the screen. Double-click “CAPTCE.exe” to start the application. It appears in the bottom right-hand corner. Figure 1–55: Screen Capture Icon Tap this icon to capture the screen to a bitmap file named “CAPT000n.bmp”...
  • Page 45: Regsvr32 & Regsvrce

    IMK-571R Software and Programming Guides Figure 1–57: Registry Editor 1.6.2.5 REGSVR32 & REGSVRCE Execute these at the DOS command prompt. REGSVR32: Function: Register or Unregister a DLL. Syntax: REGSVR32 [/U] [/S] [/C] [/I: [Command_Line]] DLL_Name REGSVR32 [/U] [/S] [/C] /N /I: [Command_Line] DLL_Name Switches: /u -Unregister Server.
  • Page 46: Save Registry

    IMK-571R Software and Programming Guides Syntax: REGSVRCE [/U] [/S]: [Command_Line]] DLL_Name Switches: /u -Unregister Server. /s -Silent; display no message boxes. 1.6.2.6 Save Registry Saves any settings made to the registry. If not saved, settings will return to their original values when the system is reset.
  • Page 47: Offset 0X00: Load Registry From Eeprom

    IMK-571R Software and Programming Guides ============================================================================ offset value ============================================================================ 0x00 0x00 // load registry from EEPROM 0x01 0x00 // erase registry in EEPROM 0x02 0x01 // display type: 0x01 = LTM04C380K (640 x 480) 0x0a = G104SN03 (800 x 600)
  • Page 48: Using The Remote Management Tool

    IMK-571R Software and Programming Guides Chapter Using the Remote Management Tool Page 34...
  • Page 49: About Iei Remote Management Tools

    IMK-571R Software and Programming Guides 2.1 About IEI Remote Management Tools 2.1.1 Overview IEI Remote Management Tools allow simple, centralized control of multiple Windows CE devices. These tools are developed specifically for IEI XScale PXA270 Windows CE 5.0 devices, IPXA270-DK01 development kits and IEI RMI Alchemy AU1250 Windows CE 5.0 devices.
  • Page 50: T Oinstall Iei Remote Management Tools

    IMK-571R Software and Programming Guides Step 2: IEI CE Agent: is installed in the SD Memory Card file system. This starts automatically when the system is started. S t e p 0 : Figure 2–1: Remote Management Tools Overview The following sections describe how to setup the remote management tool.
  • Page 51: Figure 2-2: Remote Management Setup Installation Options

    IMK-571R Software and Programming Guides Figure 2–2: Remote Management Setup Installation Options Step 2: Specify the destination folder that the program is installed to and click Install. (If unsure, leave the default) Figure 2–3: Remote Management Setup Installation Folder Step 3: When installation completes, click Close.S t e p 0 :...
  • Page 52: Remote Management Tools

    IMK-571R Software and Programming Guides Figure 2–4: Remote Management Setup Completed 2.3 Remote Management Tools IEI Windows CE devices online/ offline status Figure 2–5: Remote Management device is offline now device is online now Page 38...
  • Page 53: Figure 2-6: Remote Management

    IMK-571R Software and Programming Guides Step 1: After installing IEI Remote Management Tools run the program. The following window will be shown: Default Password: Admin Figure 2–6: Remote Management Step 2: Select Set Subnet from File on the toolbar. Figure 2–7: Remote Management Set Subnet...
  • Page 54: Wake Up/ Configure/ Update/ Connect An Iei Windows Ce Device

    IMK-571R Software and Programming Guides Step 3: Enter the subnet for monitoring IEI Windows CE devices. Figure 2–8: Remote Management Set Subnet Step 4: Click to search for all available IEI Windows CE devices in the subnet. Figure 2–9: Remote Management Device Search 2.4 Wake up/ Configure/ Update/ Connect an IEI Windows CE...
  • Page 55: Connect Remote Device

    IMK-571R Software and Programming Guides 2.4.1 Connect Remote Device Step 5: To connect to an IEI Windows CE device, run the IEI Remote Management Tools. Click to search for all available IEI Windows CE devices. Figure 2–10: Search for Devices...
  • Page 56: General

    IMK-571R Software and Programming Guides Figure 2–112: Terminal Properties 2.4.2.1 General You can view the general information of the device in this page. Figure 2–123: Terminal Properties General Tab 2.4.2.2 Control Panel Control Panel enables you to modify functions available for a device .
  • Page 57: Figure 2–15: Terminal Properties

    IMK-571R Software and Programming Guides Figure 2–15: Terminal Properties Control Panel Tab 2.4.2.2.1 Date & Time Set the time of the device. Figure 2–16: Set Device Time Page 43...
  • Page 58 IMK-571R Software and Programming Guides 2.4.2.2.2 System Property General This section displays device information. Figure 2–17: System Property General Tab 2.4.2.2.3 Device Name This section shows name of the device. You can enter a description here. Figure 2–18: System Property Device Name Tab 2.4.2.2.4 Copyright...
  • Page 59: Define Terminal Connection Of An Iei Windows Ce Device

    IMK-571R Software and Programming Guides Figure 2–19: System Property Copyright Tab 2.4.2.3 Define Terminal Connection of an IEI Windows CE Device Please follow the steps below to configure RDP connection of Thin Client via Remote Manager. Step 1: Select the device name on the left column and click (RDP).
  • Page 60 IMK-571R Software and Programming Guides Figure 2–21: Terminal Connection Manager Step 3: Click Add to add a new connection. Step 4: To edit an existing connection, select the item and click Edit. Step 5: To set the startup option for the connection, click Start. Select the startup option and click OK.
  • Page 61: Remote Desktop Display

    IMK-571R Software and Programming Guides Step 7: After completing the settings, click OK to confirm or Cancel to quit.S t e p 0 : 2.4.2.4 Remote Desktop Display You can use VNC to view a real time desktop display of any connected IEI Windows CE devices directly and control their mouse and keyboard just like being at the terminal.
  • Page 62: Configure Ftp Settings Of An Iei Windows Ce Device

    IMK-571R Software and Programming Guides Figure 2–24: Client PC VNC Viewer 2.4.2.5 Configure FTP Settings of an IEI Windows CE device Step 1: This option is used to configure FTP settings of devices. Select a device on the left and click (FTP) on the toolbar.
  • Page 63: Update An Iei Windows Ce Device

    IMK-571R Software and Programming Guides Step 2: The root directory of FTP service will be shown. Select the authentication method and click OK. Step 3: The Windows CE device will automatically reset so changes take effect.S t e p 0 : Figure 2–26: Set FTP Directory...
  • Page 64 IMK-571R Software and Programming Guides Figure 2–28: Device Update Dialog Figure 2–29: Browse for System Image Page 50...
  • Page 65: Record Logs For Wbt

    IMK-571R Software and Programming Guides 2.4.2.7 Record Logs for WBT Step 1: This function enables network administrator to download log records of the thin client and check against the logs in case of any device error. To download the log file, select a connected client and click (LOG) on the toolbar.
  • Page 66: Network Parameter Configuration

    IMK-571R Software and Programming Guides Figure 2–31: Log Download Dialog 2.4.2.8 Network Parameter Configuration Step 1: This function enables network administrator to set up the network parameter of indicate devices. To set up the parameter of indicate devices, select a connected client and click (NetConfig) on the toolbar.
  • Page 67: Account Management

    IMK-571R Software and Programming Guides Step 2: When the following screen appears, browse and set up the network parameter of indicate devices. Click Set Network to confirm.S t e p 0 : Figure 2–33:Net Config Dialog 2.4.2.9 Account management Step 1: This function enables network administrator to add or modify account information of indicate devices.
  • Page 68 IMK-571R Software and Programming Guides Figure 2–34: Account management Step 2: When the following screen appears, modify Administrator’s password. Click Apply to confirm. Figure 2–35:Account Setting Dialog -> change Admin password Page 54...
  • Page 69: Imk Runtime Demo

    IMK-571R Software and Programming Guides Chapter IMK Runtime Demo Page 55...
  • Page 70: Demo Path

    IMK-571R Software and Programming Guides 3.1 Demo Path Run the IMK demonstration from the path shown below: /Storage Card/Demo/IMK Runtime Demo.exe 3.2 Main Page Button Video Go to Video Demo Frame. Button F1 Go to Barcode Demo Frame. Button F2 Go to Printer Demo Frame.
  • Page 71: Video Player

    IMK-571R Software and Programming Guides 3.3 Video Player Figure 3–2: Play Video Page 57...
  • Page 72: Button F1: Barcode Demo

    IMK-571R Software and Programming Guides 3.4 Button F1: Barcode Demo. “Select” Data Base – Search barcode in data base(XML) and display in this screen. “Select” Test Mode – List barcode and compare with AIM ID data base. Figure 3–3: Barcode Demo...
  • Page 73: Figure 3-4: Barcode Demo - Test Mode

    IMK-571R Software and Programming Guides Figure 3–4: Barcode Demo - Test Mode Page 59...
  • Page 74: Button F2: Printer Demo

    IMK-571R Software and Programming Guides 3.5 Button F2: Printer Demo Figure 3–5: Main Screen Page 60...
  • Page 75: Figure 3-6: Main Screen

    IMK-571R Software and Programming Guides Print Result Figure 3–6: Main Screen Page 61...
  • Page 76: Button F3: Msr Demo

    IMK-571R Software and Programming Guides 3.6 Button F3: MSR Demo. Figure 3–7: MSR Demo Screen Page 62...
  • Page 77: Button F4: Exit

    IMK-571R Software and Programming Guides 3.7 Button F4: Exit “Select” Exit button - Exit to WinCE. ”Select” Cancel button - Go back to IMK Runtime Demo Main Frame. Figure 3–8: Exit Notice : If you confront trouble when compiling IMK Runtime Demo source...
  • Page 78: Xml Merchandise Manager

    IMK-571R Software and Programming Guides Chapter XML Merchandise Manager Page 64...
  • Page 79: Starting The Xml Merchandise Manager

    IMK-571R Software and Programming Guides 4.1 Starting the XML Merchandise Manager Double-click the XML Merchandise Manager.exe icon to start the program. Figure 4–1: XML Merchandise Manager Icon 4.2 Modifying the XML File Step 3: Click "Edit XML" to select the location of the XML file containing the product information.
  • Page 80 IMK-571R Software and Programming Guides Step 4: Click the "New" button to pick the location where the XML file will be created. Figure 4–3: Create a New XML File Page 66...
  • Page 81: Figure 4-3: Xml List Dialog

    IMK-571R Software and Programming Guides Step 5: Click the "Folder" button to pick the XML file. Figure 4–4: XML List Dialog Step 6: The location of the XML file is selected and the product information contained in the file is displayed in the space below.
  • Page 82: Figure 4-5: Save Local Xml Product File

    IMK-571R Software and Programming Guides Step 7: Click Save to save any changes. These changes are only saved to the local copy of the XML file. Figure 4–6: Save Local XML Product File Step 8: Double-click a product item, or select a product item and click "Edit" to change the information for that item.
  • Page 83: Figure 4-7: Update Product Information

    IMK-571R Software and Programming Guides Step 9: Edit the product information in the dialog box. Figure 4–8: Update Product Information Page 69...
  • Page 84: Figure 4-8: Add New Product

    IMK-571R Software and Programming Guides Step 10: Click the "Add" button to add new product information. Figure 4 –9: Add New Product Step 11: Enter the new product information and click OK to apply the settings. Figure 4–10: Add New Product Dialog...
  • Page 85: Figure 4-10: Delete Product From Xml File

    IMK-571R Software and Programming Guides Step 12: Click Delete to delete the selected product. If no product is selected, the first item in the list will be deleted. S t e p 0 : Figure 4–11: Delete Product from XML File...
  • Page 86: Scanning For Xml Files On The Network Subnet

    IMK-571R Software and Programming Guides 4.3 Scanning for XML Files on the Network Subnet Step 1: The subnet is automatically selected according to the current network settings. To select a different subnet, just change this value. Figure 4–12: Scan Subnet...
  • Page 87: Figure 4-12: Web Interface

    IMK-571R Software and Programming Guides Step 2: Double-click a list itemDouble-click any list item to get a popup of the target computer's IMK web browser-based configuration tool.S t e p 0 : Figure 4–13: Web Interface Page 73...
  • Page 88: Downloading Xml Files From Imk-571R

    IMK-571R Software and Programming Guides 4.4 Downloading XML Files from IMK-571R Step 1: Click the download button to start downloading the selected items. Step 2: Select the current Download location of the XML files Figure 4–14: Remote File List Page 74...
  • Page 89 IMK-571R Software and Programming Guides Step 3: Confirm the download of the XML files. Click Yes to download the files or No to go back. Figure 4–15: Download Confirmation Page 75...
  • Page 90 IMK-571R Software and Programming Guides Step 4: The download progress is shown in the progress column.S t e p 0 : Figure 4–16: Download Progress Page 76...
  • Page 91: Uploading Xml Files To Imk-571R

    IMK-571R Software and Programming Guides 4.5 Uploading XML Files to IMK-571R Step 1: Select the path of the XML file to upload. Figure 4–17: Local Product File Selection Page 77...
  • Page 92 IMK-571R Software and Programming Guides Step 2: Select the target computer to upload to. Step 3: Click the upload button to start uploading. Figure 4–18: Product File Upload Step 4: Click Yes to start uploading the file or No to cancel.S t e p 0 :...
  • Page 93 IMK-571R Software and Programming Guides Figure 4–20: Upload Progress Bar Page 79...
  • Page 94: Imk Web Interface

    IMK-571R Software and Programming Guides Chapter IMK Web Interface Page 80...
  • Page 95: Imk Web Interface Main Page

    IMK-571R Software and Programming Guides 5.1 IMK Web Interface Main Page Barcode System Settings Settings Website Figure 5–1: Main Screen Page 81...
  • Page 96: System Settings

    IMK-571R Software and Programming Guides 5.2 System Settings Pages Adjust the main settings of the IMK-571R. 5.2.1 Main Page The main system settings page. Go to barcode settings page Go to http://www.ieiworld.com Return to the main settings page. Figure 5–2: Main System Settings Page...
  • Page 97: Device Information

    IMK-571R Software and Programming Guides 5.2.2 Device Information Displays general system information. Figure 5–3: Device Information (System Settings Page) Page 83...
  • Page 98: Ethernet

    IMK-571R Software and Programming Guides 5.2.3 Ethernet Shows Ethernet settings. Figure 5–4: Ethernet (System Settings Page) Page 84...
  • Page 99: Wireless

    IMK-571R Software and Programming Guides 5.2.4 Wireless Show the target device’s Wireless information. Figure 5–5: Wireless (System Settings Page) Page 85...
  • Page 100: Restart Network

    IMK-571R Software and Programming Guides 5.2.5 Restart Network Reset the network connection on the connected IMK-571R. Figure 5–6: Restart Network (System Settings Page) Page 86...
  • Page 101: Reboot System

    IMK-571R Software and Programming Guides 5.2.6 Reboot System Restart the IMK-571R. Figure 5–7: Reboot System (System Settings Page) Page 87...
  • Page 102: Barcode Settings

    IMK-571R Software and Programming Guides 5.3 Barcode Settings Pages 5.3.1 Main Frame The main barcode settings page. Go to system settings page Go to http://www.ieiworld.com Return to the main settings page. Figure 5–8: Main Barcode Settings Page Page 88...
  • Page 103: Support Codetypes

    IMK-571R Software and Programming Guides 5.3.2 Support Codetypes Set the supporting codetypes for scanned barcodes. Figure 5–9: Supported Codetypes (Barcode Settings Page) Page 89...
  • Page 104: Beeper Option

    IMK-571R Software and Programming Guides 5.3.3 Beeper Option Sets the system beeper. Figure 5–10: Beeper Option (Barcode Setting Page) Page 90...
  • Page 105: Trigger Mode

    IMK-571R Software and Programming Guides 5.3.4 Trigger Mode Set the mode for the barcode scanner. Figure 5–11: Trigger Mode (Barcode Settings Page) Page 91...
  • Page 106: Factory Default

    IMK-571R Software and Programming Guides 5.3.5 Factory Default Sets the selected items to the system default. Figure 5–12: Factory Default (Barcode Settings Page) Page 92...
  • Page 107: Version Information

    IMK-571R Software and Programming Guides 5.3.6 Version Information View the barcode information from the last scanned item. Figure 5–13: Version Information (Barcode Settings Page) Page 93...
  • Page 108: General Software Development

    IMK-571R Software and Programming Guides Chapter General Software Development Page 94...
  • Page 109: Application Development Environment

    IMK-571R Software and Programming Guides 6.1 Application Development Environment This chapter describes the development environment required for developing applications to run on IEI ALCHEMY AU1250 Windows CE devices, as well as the software environment including the libraries, definition files, and the platform SDK (hereafter referred to as SDK).
  • Page 110: Software Environment

    IMK-571R Software and Programming Guides Item Requirements Communication Port Required: USB port (USB1.1 or higher) Optional: Second USB port, serial port, and LAN port (10BASE-T/100BASE-TX) Table 6–1: Hardware Requirements 6.1.2 Software Environment The following are the software environment requirements. Item Name...
  • Page 111: Installing The Iei Alchemy Windows Ce 5.0 Sdk

    IMK-571R Software and Programming Guides 2. Install any service packs and update the software 3. Install the IEI ALCHEMY AU1250 Windows CE 5.0 SDK. 4. Install ActiveSync If you use an emulator, install the component of Standard SDK for Windows CE. Select MIPSII of eMbedded Visual C++ 4.0.
  • Page 112: Figure 6-2: Sdk Installation Welcome Screen

    IMK-571R Software and Programming Guides Figure 6–2: SDK Installation Welcome Screen Step 2: Read the End-User License Agreement carefully. Select Accept and click Next. Figure 6–3: SDK License Agreement Step 3: Enter customer information. Then click Next. Page 98...
  • Page 113: Figure 6-4: Sdk Customer Information

    IMK-571R Software and Programming Guides Figure 6–4: SDK Customer Information Step 4: Choose setup type. User can choose development program language such as Embedded Virtual C++ 4.0 or .NET Compact Framework. Then click Next. Step 5: Select Complete to install the whole program, to just install specific parts, select Custom.
  • Page 114: Figure 6-6: Sdk Custom Setup Options

    IMK-571R Software and Programming Guides Step 6: If you selected Custom, set the components and the location. If you select Complete, set the component location only. Figure 6–6: SDK Custom Setup Options Step 7: Set destination folders to install SDK. Then click Next.
  • Page 115: Figure 6-8: Sdk Ready To Install

    IMK-571R Software and Programming Guides Figure 6–8: SDK Ready to Install Step 9: Install SDK. Figure 6–9: SDK Installation Progress Bar Step 10: Step 8: Click Finish to complete the SDK installation.S t e p 0 : Page 101...
  • Page 116: Installing Activesync

    IMK-571R Software and Programming Guides Figure 6–10: SDK Installation Complete 6.3 Installing ActiveSync To install the ActiveSync to the personal computer for developing applications, visit the Microsoft® Windows Mobile site http://www.microsoft.com/windowsmobile/downloads/activesync38.mspx. When message pops up to ask to connect, click Cancel.
  • Page 117: Figure 6-11: Network And Dial-Up Connections

    IMK-571R Software and Programming Guides Step 1: Turn on the IEI Windows CE device, and then connect the personal computer for developing applications with COM1 port of the IEI Windows CE device using a serial cable. Step 2: Go to "Start Menu -> Settings -> Control Panel".
  • Page 118: Figure 6-13: Make Direct Connection

    IMK-571R Software and Programming Guides Figure 6–13: Make Direct Connection Step 6: Select a device. In this example, select Serial Cable on COM1.Then click Configure. Figure 6–14: Select Device Connection Step 7: Set the values as shown below. Page 104...
  • Page 119: Figure 6-15: Port Settings

    IMK-571R Software and Programming Guides Figure 6–15: Port Settings Step 8: Go back to Control Panel and double click PC Connection to open the [PC Connection Properties] screen. Figure 6–16: PC Connection Step 9: Select the connection method to connect to the personal computer if necessary.
  • Page 120: Figure 6-18: Save Registry

    IMK-571R Software and Programming Guides Figure 6–18: Save Registry Step 12: On the Start menu, click Run. Enter repllog.exe. Step 13: Start up the ActiveSync on the personal computer for developing applications. Select Get Connected from the File menu, and then select the port to connect to the data transfer cable.
  • Page 121: Figure 6-20: Connect Device

    IMK-571R Software and Programming Guides Step 15: If the connection between the IEI Windows CE device and the personal computer for developing applications is not established, the following dialog will pop up. Please retry steps (10) and (11). Or run step (11) first and then run step (10).
  • Page 122: Figure 6-21: Searching For Device

    IMK-571R Software and Programming Guides Figure 6–21: Searching for Device Step 18: After the session is established, the following message will be shown. Select Yes or No on the Set Up a Partnership dialog. If you select No, the device will be set as a guest.
  • Page 123: Figure 6-22: Set Up A Partnership

    IMK-571R Software and Programming Guides Figure 6–22: Set Up a Partnership Step 19: Select the items to be synchronized. The settings can be changed after the partnership is created. Click Next to continue. Figure 6–23: Synchronization Settings Page 109...
  • Page 124: Figure 6-24: Device Setup Complete

    IMK-571R Software and Programming Guides Step 20: ActiveSync will display the Setup Complete screen with information of using ActiveSync. Click Finish. Figure 6–24: Device Setup Complete Step 21: Connected Screen Figure 6–25: Device Connected with ActiveSync Page 110...
  • Page 125: Application Development

    IMK-571R Software and Programming Guides Step 22: Using an Existing Partnership Once you have set up the partnership as above, it is ready to use. When the netpad and the PC are connected afterwards, it will automatically use the current partnership.
  • Page 126: Creating A Project

    IMK-571R Software and Programming Guides The following procedure shows how to display a window on the screen using the embedded Visual C++ 4.0. 6.4.1.1 Creating a Project Step 1: Start eMbedded Visual C++ 4.0 and select New from the File menu. In the Projects tab, select the type of program to create and input a project name.
  • Page 127: Figure 6-28: Select The Vce Emulator

    IMK-571R Software and Programming Guides Figure 6–28: Select the VCE Emulator Step 4: To create a program using a dialog-based interface, select Single based. Select the necessary items and click Next. Figure 6–29: Select Single Document Step 5: To select the functions what you need, and click Next.
  • Page 128: Figure 6-30: Select Required Functions

    IMK-571R Software and Programming Guides Figure 6–30: Select Required Functions Step 6: To select the functions what you need, and click Next. Figure 6–31: Select Source File Options Step 7: Click Finish, and the following screen will appear. Page 114...
  • Page 129: Figure 6-32: Finish Setup

    IMK-571R Software and Programming Guides Figure 6–32: Finish Setup Step 8: Click OK to create the new project.S t e p 0 : Page 115...
  • Page 130: Configuration Of The Platform Manager

    IMK-571R Software and Programming Guides Figure 6–33: New Project Information 6.4.1.2 Configuration of the Platform Manager Follow the steps below to register the device name of IMK-570. By this, IMK-570 can be specified to be a download place now. It includes the way to set up a property of the device in accordance with a communication method.
  • Page 131: Figure 6-34: Platform Manager Configuration

    IMK-571R Software and Programming Guides Figure 6–34: Platform Manager Configuration Step 2: To open Device Property, select IEI_AU1250 Device and click Properties. Then select Microsoft ActiveSync from the [Transport] and [Starting Server] menus. Click OK. Page 117...
  • Page 132: Figure 6-35: Platform Manager Configuration

    IMK-571R Software and Programming Guides Figure 6–35: Platform Manager Configuration Figure 6–36: Platform Manager Device Properties Step 3: Building and Downloading a ProgramS t e p 0 : Page 118...
  • Page 133: Figure 6-37: Platform Manager Example Program

    IMK-571R Software and Programming Guides Here, as an example we will create a program to display the text “Hello IMK-570!” in the center of a window. Add the following description to the OnDraw() of view class: pDC->ExtTextOut(350, 300, NULL, NULL, TEXT(“Hello IMK-570!”), NULL);...
  • Page 134: Program Debugged Using Imk-570

    IMK-571R Software and Programming Guides 6.4.1.3 Program Debugged Using IMK-570 Step 1: Connect the personal computer to be used for development and the IEI Windows CE device via ActiveSync. Figure 6–38: Connect With ActiveSync Step 2: Set the [WCE Configuration] toolbar as below, and execute the build.
  • Page 135: Program Debugged Using The Emulator

    IMK-571R Software and Programming Guides Figure 6–41: Run Test Program 6.4.1.5 Program Debugged Using the Emulator If the application programs do not depend on this the IEI Windows CE device’s original function such as the backlight and touch panel, debugging using an emulator is available.
  • Page 136: Creating A Project

    IMK-571R Software and Programming Guides pack and IEI SDK. Install the registry file, check for the note of [How do I debug my ® application on an x86-based device running Windows CE?] located in the Windows utilities for Visual Studio .NET 2003 add-on Pack 1.1. After the installation, restart the personal computer for developing applications.
  • Page 137: Figure 6-44: Smart Device Application Wizard

    IMK-571R Software and Programming Guides Step 2: Select [Visual Basic Project] as project genre. Select [Smart device Application] as template. Enter the project name and the file location. Click OK. ® Step 3: Select Windows CE as target platform. Then select a project type and click OK.
  • Page 138: Building And Downloading A Program

    IMK-571R Software and Programming Guides Figure 6–45: New Project Page 6.4.2.2 Building and Downloading a Program Here, as an example we will create a program to display the text “WELLCOME” at the center of a window. Step 1: Select a label from the toolbox, and add a label named Label1 to the form.
  • Page 139: Figure 6-46: Dialog Properties

    IMK-571R Software and Programming Guides Figure 6–46: Dialog Properties Step 3: Start to debug. Figure 6–47: Debugging Step 4: Before starting to debug, the following dialog will appear. You can choose to debug by an emulator and debug on the IEI Windows CE device.S t e p 0 :...
  • Page 140: Program Debugged Using The Emulator

    IMK-571R Software and Programming Guides Figure 6–48: Select Target Device 6.4.2.3 Program Debugged Using the Emulator If the application programs do not depend on the IEI Windows CE device's original function such as the backlight and touch panel, debugging using an emulator is available.
  • Page 141: Figure 6-49: Select Deployment Device

    IMK-571R Software and Programming Guides Figure 6–49: Select Deployment Device Step 3: Click Deploy on the dialog of [Windows CE.NET Device]. Figure 6–50: Select Windows CE .NET Device Step 4: The file will be downloaded and debugging will start.S t e p 0 :...
  • Page 142: Figure 6-51: Example Program Output

    IMK-571R Software and Programming Guides Figure 6–51: Example Program Output Page 128...
  • Page 143: Control Barcode Scanner With Barcontrol.ocx

    IMK-571R Software and Programming Guides Chapter Control Barcode Scanner with BARControl.ocx Page 129...
  • Page 144: Method Summary

    IMK-571R Software and Programming Guides 7.1 Method Summary BARControl.ocx function ReadBarCode() – Reads barcode string 7.2 Add BARControl.ocx Object in HTML <object classid="clsid:F1AC3FFD-785B-4592-AC8D-34F358D11FDF" id="BarControl" width="0" height="0"></object> 7.3 ReadBarCode(int iLowTrigTime) Description Reads barcode string Syntax BSTR ReadBarCode(int iLowTrigTime) Return Value BSTR(WCHAR) returns barcode string, or "NONE" when read fails.
  • Page 145: Msr Programming Guide For Imk-571R-Ce5/Msr

    IMK-571R Software and Programming Guides Chapter MSR Programming Guide for IMK-571R-CE5/MSR Page 131...
  • Page 146: Adding Keyboard Support

    IMK-571R Software and Programming Guides 8.1 Adding Keyboard Support To add keyboard support, add the code in this section to the application. 8.1.1 *.h virtual BOOL PreTranslateMessage(MSG*.pMsg);  void CheckKey(UINT nChar, UINT nRepCnt, UINT nFlags);  8.1.2 *.cpp void CMSRDemoDlg::CheckKey(UINT nChar, UINT nRepCnt, UINT nFlags)   {    CString strintput;    TCHAR tcchkKeydata[64]={0};    TCHAR tcKeydata[64]={0};    strintput.Format(L"%c",nChar);    int i; ...
  • Page 147 IMK-571R Software and Programming Guides     }    }  }  BOOL CMSRDemoDlg::PreTranslateMessage(MSG* pMsg)   {    if(pMsg‐>message==WM_KEYDOWN)     {       CheckKey((UINT)pMsg‐>wParam,(UINT)pMsg‐>lParam,(UINT)pMsg‐>lParam );     }         return CDialog::PreTranslateMessage(pMsg);  }  Page 133...
  • Page 148: Faq

    IMK-571R Software and Programming Guides Chapter Page 134...
  • Page 149: Why Did The System Hang At End Of Progress Bar During Booting

    IMK-571R Software and Programming Guides 9.1 Why did the system hang at end of progress bar during booting? If the system hung at the end of progress bar during booting, it might the registry in EEPROM has some problem. You can use configure file to erase registry. Change the value of offset 0x01 from 0x00 to 0x01, and then reboot.
  • Page 150 IMK-571R Software and Programming Guides A. Select ‘Tools Options’ at toobar Figure 9–1: Adding Library Step 1 Page 136...
  • Page 151 IMK-571R Software and Programming Guides B. Switch to ‘Directories’ tag, select ‘New’ icon to add a new directory Figure 9–1: Adding Library Step 2 Figure 9–1: Adding Library Step 3 Page 137...
  • Page 152 IMK-571R Software and Programming Guides C. Direct the new directory to :\IMK RUNTIME DEMO\lib\ Figure 9–1: Adding Library Step 4 Page 138...
  • Page 153 IMK-571R Software and Programming Guides D. Rebuild the program … it’s done! Figure 9–1: Adding Library Step 5 Page 139...
  • Page 154: A Terminology

    IMK-571R Software and Programming Guides Appendix Terminology Page 140...
  • Page 155 IMK-571R Software and Programming Guides Download To "get" a file or program over the network from another computer IP (Address) Internet Protocol is an addressing system used to uniquely identify computer on a network Subnet A special IP for a specific group of computers on a network. A zero indicates any number from 1-255.

Table of Contents