Download Print this page

Advertisement

DT-X11 Series
Quick Start Guide
(Version 1.03)
CASIO Computer Co., Ltd.
Copyright ©2009. All rights reserved.
January 2009

Advertisement

   Related Manuals for Casio DT-X11M10E

   Summary of Contents for Casio DT-X11M10E

  • Page 1: Quick Start Guide

    DT-X11 Series Quick Start Guide (Version 1.03) CASIO Computer Co., Ltd. Copyright ©2009. All rights reserved. January 2009...

  • Page 2: Table Of Contents

    DT-X11 Device Emulator 7.3.2 I/O Simulator 7.3.3 Connecting via ActiveSync Debugging Applications 7.4.1 Setting Build Configuration 7.4.2 Debugging Applications Chapter 8. eMbedded Visual C++ Building Simple eVC++ 4.0 Test Program Using CASIO Libraries from eVC++ 4.0 Chapter 9. Visual Studio...

  • Page 3

    CASIO Computer Co., Ltd. in Tokyo Japan. Information in this document is subject to change without advance notice. CASIO Computer Co., Ltd. makes no representations or warranties with respect to the contents or use of this manual and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose.

  • Page 4: Editorial Record

    “-CN” models are added. In Chapter 2.3, the list of software required is updated. Chapter 3.1 “Application Development” is added. Chapter 3.2 “Installing CASIO SDK Files” is added. Chapter 3.3 “Installing CAB Files” is added. Figure 3.1 in Chapter 3.4 is corrected.

  • Page 5: Preface

    CASIO DT-X11 development. Every method of connecting to your development system is covered and step by step instructions for installing and testing the CASIO SDKs are included. The purpose of this guide is to get you to the point where you can start development; you should...

  • Page 6: Product Overview

    EAN8/13 Composite, TLC39, UCC/EAN128 Composite, RSS-14(Stacked type), RSS Expanded(Stacked type), RSS Composite Readable 2D Matrix Aztec, DataMatrix, Maxicode, QR Code symbologies Laser Scanner (applicable to DT-X11M10E and DT-X11M10RC) Method Semi-conductor laser light Emitting window Direct Wave Length 650±10 nm Optical Output <1 mW...

  • Page 7

    Mini B 5 Pin. Baud rate Full speed (12 Mbps) Audio Supports headset. Earphone jackφ2.5mm 3-pole PC Card (applicable to DT-X11M10E, DT-X11M30E, and DT-X11M30U) Standard PC Card Type I / Type II 3.3V Supply current 450 mA(5V), 500 mA(3.3V) Constant supply current values...

  • Page 8

    Operation Lithium-ion battery pack HA-A20BAT or DT-5025LBAT Memory backup Lithium battery (rechargeable) on board Built-in, not replaceable 50mAH Operating period (in DT-X11M10E/M30E/M30U DT-X11M10RC/30RC hours) Approx. 8 (with HA-A20BAT) Approx. 4 (with HA-A20BAT) Approx. 18 (with DT-5025LBAT) Approx. 10 (with DT-5025LBAT) Memory back up period RAM : Approx.

  • Page 9: Library Configuration

    1.2 Library Configuration The CASIO Software Development Kit (“SDK”) for DT-X11 series provides various libraries listed in the table. Table 1.2 Library Description System Library Library that is used to control the system. Laser Scanner Library Library that is used to control the built-in laser scan engine.

  • Page 10: Development Reference Manuals

    1.3 Development Reference Manuals Besides the various library manuals listed in Table 1.1, the CASIO Software Development Kit (“SDK”) for DT-X11 series provides also the development reference manuals listed in the table. Table 1.4 Development Manual Description Quick Start Guide This reference manual.

  • Page 11: Sample Program

    1.4 Sample Program The following sample programs are included in the CASIO Software Development Kit (“SDK”). Table 1.5 Sample Program Description Common Device Control Library BLUETOOTHLIBSAMPLE Connects the terminal to a Bluetooth printer and prints out data. CAMERALIBSAMPLE Takes pictures and displays them on the screen. See note.

  • Page 12: Prerequisites

    2. Prerequisites 2.1 Skills Required The following skills are required by developers aiming to develop application software for the DT-X11; • Windows programming • A good knowledge of one or more of the following: - Visual C++ - Visual Basic .NET - Visual C# - Active Server Pages and web programming (not covered in detail in this guide) The following skills or experiences are also desirable;...

  • Page 13: Hardware Required

    The following models of the DT-X11 series (see Table 2.1) and the dedicated options are available. Table 2.1 Available models and features Wireless Communication PC Card Model No. Scan Engine Remark slot Bluetooth IEEE802.11b DT-X11M10E Laser Scanner DT-X11M10RC Laser Scanner DT-X11M30E C-MOS Imager DT-X11M30U C-MOS Imager DT-X11M30RC C-MOS Imager...

  • Page 14

    Notes: 1. The AC adaptor, AD-S45150AE (and AD-S45150AU), phased out current as of February 2008 and was replaced with the successor model, AD-S60160BE (and AD-S60160BU). 2. The AC adaptor, AD-S42120AE, phased out current as of February 2008 and was replaced with the successor model, AD-S42120B.

  • Page 15

    External views of the DT-X11 and the options Laser Scanner models DT-X11M10E DT-X11M10RC DT-X11M10E-CN DT-X11M10RC-CN C-MOS Imager models DT-X11M30E DT-X11M30U * DT-X11M30RC DT-X11M30E-CN DT-X11M30RC-CN *; The model is available in the USA and Canada. Figure 2.1...

  • Page 16

    Figure 2.2 Figure 2.3...

  • Page 17: Software Required

    2.3 Software Required The following software tools and libraries are required in order to develop software for the DT-X11. Ensure that you download or purchase the correct Microsoft tools as appropriate. C / C++ • Microsoft Visual Studio 2008 (not free of charge) •...

  • Page 18: Setting Up The Development Environment

    2005 and Visual Studio .NET 2003. For detail, refer to Chapter 2.3 “Software Required”. Installing CASIO SDK Install CASIO’s SDK and various libraries if necessary. For installation method, refer to Chapter 3.2 “Installing CASIO SDK Files”. Connecting DT-X11 to PC (via ActiveSync or Windows Mobile Device Center) Connect the DT-X11 to PC via Microsoft’s ActiveSync (for Windows XP or any other OS...

  • Page 19: Installing Casio Sdk Files

    3.2 Installing CASIO SDK Files Download the CASIO DT-X11 SDK installation CD image file from the following site and write it to a CD-ROM media. http://www2.casio.co.jp/system_en/pa/PADealer/ (The site requires your user name and password. Enter your user name and password as issued by CASIO.)

  • Page 20

    Installing ExportSDK 1. When the CASIO DT-X11 SDK CD-ROM is inserted into the CD-ROM drive of your PC, the following screen appears automatically. Figure 3.1 2. Click Installation List in Figure 3.1. The installation screen appears. Figure 3.2 3. Click DT-X11 ExportSDK to display the Setup Wizard. Choose any one of the buttons in the...

  • Page 21

    3. When the Library is installed in your PC, the Help file (*.chm) is installed in the following folder. C:\Program Files\CASIO\MBSYS\HELP The Help file can be accessed by navigating to Start menu → All Programs → CASIO Basic Development Kit → Help...

  • Page 22: Setting Up Bridge Satellite Cradle

    4. Setting Up Bridge Satellite Cradle Use the dedicated AC adaptor (AD-S42120B) available as option for the DT-160IOE Bridge Satellite Cradle to supply the power to the terminal. Always make sure that the power is being supplied to the cradle by the AC adaptor before performing any kind of communication with the terminal.

  • Page 23

    4. Turn on the power. This causes the cradle’s power indicator lamp to light in red. 5. Making sure that their IR ports come into contact with each other, place the terminal onto the cradle. This causes the cradle’s power indicator lamp to light in green. •...

  • Page 24: Configuring Dip Switch Settings

    4.1 Configuring DIP Switch Settings Dismounting the bottom cover of the Bridge Satellite Cradle exposes the DIP switches. You can change the ON/OFF settings of the DIP switches to set the configuration. Please, set after switching OFF the power. Figure 4.3 Note: Other DIP switch settings are used for testing and inspection purposes.

  • Page 25: Connecting The Dt-x11 To Pc

    5. Connecting the DT-X11 to PC To make connection establishment with PC, use one of the methods, depending on the OS your PC runs, described below. • ActiveSync (for Windows XP or any other OS earlier) Use the ActiveSync to connect the DT-X11 to PC if the PC runs in Windows XP or other OS earlier than Windows XP.

  • Page 26: Connection Via Pcmcia Or Cf Card

    5.1 Connection via PCMCIA or CF Card An effective way of getting files from PC to the DT-X11 and vice versa is to use a PCMCIA Storage Card. Assuming you have a PC with a PC Card slot you can easily copy files to the card and transfer them to the DT-X11.

  • Page 27: Connections Via Activesync

    5.2 Connections via ActiveSync In nearly all cases during development work you will be communicating with the DT-X11 via ActiveSync connection. There are many ways to connect the DT-X11 to PC via ActiveSync. Table 5.1 Install to your PC Connection Direct USB IrExpress USB IrExpress...

  • Page 28: Via Direct Irda

    5.2.1 Via Direct IrDA If your PC supports an IrDA port, it is possible to connect the DT-X11 to the PC via IrDA port using ActiveSync. Install ActiveSync to Your PC If you have already installed ActiveSync 3.8, you may skip the steps 1 to 3 below. 1.

  • Page 29

    3. Hold the installation process when the menu in Figure 5.3 appears. Go to the next procedure Establish Connection with Your PC in the next page. Figure 5.3...

  • Page 30

    Establish Connection with Your PC 1. Choose PC Connection icon in the Control Panel on the DT-X11. 2. Set PC Connection to IrDA. If it is not IrDA, tap Change Connection… button in PC Connection tab (see Figure 5.4) and choose IrDA in the pull-down menu box in the window in Figure 5.4.

  • Page 31

    Establish Partnership 1. Now go back to the procedure Install ActiveSync to Your PC in Chapter 5.2.1 “Via Direct IrDA”. Click Next > button in Figure 5.6. Figure 5.6 2. Now the connection is established. You can choose either one of the radio buttons (see Figure 5.7) according to your need.

  • Page 32: Via Direct Usb

    USB port on your PC. When the DT-X11 is connected for the first time, a dialog appears to prompt you to install the suitable driver. Download the USB driver “wceusbsh.inf” and “wceusbsh.sys” at the CASIO website and copy them to appropriate folder in your PC.

  • Page 33

    Click Next > button. Figure 5.11 Choose Windows CE USB Devices icon (see Figure 5.12). Figure 5.12 Click Have Disk… button (see Figure 5.13). Figure 5.13...

  • Page 34

    10. Click Continue Anyway button. A menu may prompt you to install the “wceusbsh.sys” file. This happens if it is not in the same folder in where “wceusbsh.inf” is located. Download the file from the CASIO website and follow instruction appeared and then specify the location of the file.

  • Page 35

    11. Now installing the driver is completed. Figure 5.17...

  • Page 36

    Establish Connection with Your PC 1. Choose PC Connection icon in the Control Panel on the DT-X11. 2. Set PC Connection to USB. If it is not USB, tap Change Connection… button and choose USB in the pull-down menu box in the window in Figure 5.18. Tap OK button twice. Figure 5.18 3.

  • Page 37: Through Bridge Satellite Cradle Via Usb

    5.2.3 Through Bridge Satellite Cradle via USB In order to communicate through the Bridge Satellite Cradle (DT-160IOE) via USB, you will need to install the IrXpress USB driver on your PC. Install ActiveSync to Your PC If you have already installed ActiveSync 3.8, you may skip this step. For detailed explanation on installing ActiveSync, see the procedure Install ActiveSync to Your PC in Chapter 5.2.1 "Via Direct IrDA”...

  • Page 38

    3. Choose Yes, I want to restart my computer now. radio button, and then click Finish button. Reboot your PC to set the IrXpress driver enabled. Figure 5.22 Connect Bridge Satellite Cradle to Your PC 1. On the base of the Bridge Satellite Cradle you will find a bank of DIP switches. Ensure that switch no.

  • Page 39: Through Bridge Satellite Cradle Via Rs-232c

    5.2.4 Through Bridge Satellite Cradle via RS-232C In order to communicate through the Bridge Satellite Cradle (DT-160IOE) via RS-232C, you will need to install the IrXpress Serial Driver on your PC. Install ActiveSync to Your PC If you have already installed ActiveSync 3.8, you may skip this step. For detailed explanation on installing ActiveSync, see the procedure Install ActiveSync to Your PC in Chapter 5.2.1 "Via Direct IrDA”...

  • Page 40

    4. In order to set which COM port the IrXpress driver uses on your PC, choose Wireless Link in the Control Panel. 5. Click Hardware tab and choose CASIO IrXpress Serial Infrared from the Devices list. Click Properties. 6. Click Advanced tab. You can now choose the physical COM port to which the cradle is attached and maximum connection speed (set this to 115200 bps).

  • Page 41: Connection Via Windows Mobile Device Center

    5.3 Connection via Windows Mobile Device Center To establish connection via USB interface with PC runs in Windows Vista, use Windows Mobile Device Center (“WMDC”). The DT-X11 with the factory-setting (default) does not support the WMDC. Follow the procedure below to change the setting on the DT-X11. Note that the CAB file, USBClientDTX11.110.CAB, must be installed in the DT-X11 prior to establishing connection with the DT-X11 via Windows Mobile Device Center.

  • Page 42

    6. The DT-X11 starts up again. 7. Mount the DT-X11 on the cradle, and then follow a message appeared in the WMDC on the PC. Notes: • To resume the factory default setting, choose ActiveSync/LMWIN radio button in Step 4 on the previous page, and start up the DT-X11 again.

  • Page 43: Connection Via Wlan

    5.4 Connection via WLAN The fastest and easiest way to connect the DT-X11 to your PC for development purpose is WLAN compliant with the IEEE802.11b standard. In this configuration, models with WLAN module integrated (applicable to DT-X11M10RC, M30RC, M10RC-CN, and M30RC-CN) are operable. Follow the steps below to establish connection between the DT-X11 and PC via WLAN.

  • Page 44

    Establish Connection to Your PC 1. On the PC, make sure Allow network [Ethernet] and Remote Access Service [RAS] server connection with this desktop computer. has been set enabled (see Figure 5.33). Figure 5.33 2. On the DT-X11, navigate to Start → Programs → Communication → LAN ActiveSync to initiate the connection.

  • Page 45: Connection Via Bluetooth

    5.5 Connection via Bluetooth There are many peripherals such as USB dongles and PC Cards on the market that will allow you to add a Bluetooth serial port to a PC. This guide only covers the DT-X11 side of the connection and assumes that you have a suitably configured Bluetooth COM port available on your PC.

  • Page 46

    10. The ActiveSync connection will then be launched as soon as you start the Bluetooth connection utility. Figure 5.35 11. To disconnect the ActiveSync session it is best to double tap the connection icon in the Taskbar and tap Disconnect button.

  • Page 47: Connection Via Ethernet Pc Card

    5.6 Connection via Ethernet PC Card This procedure has been tested using a SOCKET LP-E (CF card) in a CF to PCMCIA converter. Establish Partnership. Establish partnership first between the DT-X11 and PC via either Direct IrDA or Direct USB, or via Bridge Satellite Cradle.

  • Page 48: Accessing Shared Network Drive Via Wlan

    5.7 Accessing Shared Network Drive via WLAN Assuming you have a valid network connection established, you can access shared drives on your PC from the File Explorer on the DT-X11. The following shows the steps to initiate. 1. Configure a network connection on the DT-X11. 2.

  • Page 49: Connection Via Direct Tcp/ip From Visual Studio

    5.8 Connection via Direct TCP/IP from Visual Studio Visual Studio .NET 2003 If you have a network connection from the DT-X11 (for example, via WLAN) then you can use the Windows CE Utilities add-on pack (described in Chapter 3) to establish a direct link to the development PC.

  • Page 50: Setting Up The Development Environment

    6. Setting Up the Development Environment 6.1 Installing CAB Files 1. After installing the library files, the CAB files in Table 6.1 will be installed in the folder below. C:\Program Files\CASIO\MBSYS\CAB Table 6.1 Library CAB file Preinstalled System Library en_SystemLib.ARMV4I.CAB Laser Scanner Library en_OBReadLib.ARMV4I.CAB...

  • Page 51: Embedded Visual C

    Figure 6.1 appears for warning. Figure 6.1 4. Application software developed using MFC (Microsoft Foundation Class) for CASIO IT-10 is not operable on the DT-X11. 5. Any application developed not using MFC is operable on the DT-X11.

  • Page 52: Visual Studio 2005

    6.3 Visual Studio 2005 There is no actual SDK available for Visual Studio as such. However, the CASIO libraries have been released for VB .NET and C#. See Chapter 9 for basic usage instructions. In this chapter, the remote debugging procedure using the DT-X11 for application development in VB .NET and C# environments is explained.

  • Page 53: Visual Studio .net 2003

    6.4 Visual Studio .NET 2003 There is no actual SDK available for Visual Studio as such. However, the CASIO libraries have been released for VB .NET and C#. See Chapter 9 for basic usage instructions. Microsoft has released an add-on for Visual Studio .NET 2003 that allows you to set the target CPU for a connected device (Visual Studio is unable to detect the target CPU of non-Pocket PC devices).

  • Page 54: Device Emulator

    • ActiveSync 4.2 or a later version (If required) http://www.microsoft.com/downloads/details.aspx?FamilyID=7269173a-28bf-4cac-a682-58d323 3efb4c&DisplayLang=en • Visual Studio 2008 or Visual Studio 2005 (Required) • CASIO DT-X11 SDK (Required) • Standalone Device Emulator 3.0 (Optional. See note 2.) http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a6f6adaf-12e3- 4b2f-a394-356e2c2fb114 Using Visual Studio .NET 2003 •...

  • Page 55

    Notes: 1. The software is not required if your PC already has Visual Studio 2005 installed. 2. To use Microsoft Device Emulator 3.0, follow the steps below. 2-1. Install DT-X11 ExportSDK and Device Emulator of the DT-X11 SDK. 2-2. Download Microsoft Device Emulator 3.0 and install it. 2-3.

  • Page 56: Starting Up The Device Emulator

    After installing all required software described in Chapter 7.1, follow the steps below to start up the Device Emulator on your PC. 1. Navigate to Start menu → All Programs → CASIO Device Emulator and click DT-X11. Make sure that the DT-X11 Device Emulator has started up on the screen. See Figure 7.1. If Figure 7.1 and Figure 7.2 appear on your PC, you are ready to use the emulator.

  • Page 57: Using The Device Emulator

    7.3 Using the Device Emulator 7.3.1 DT-X11 Device Emulator The DT-X11 Device Emulator emulates various operations carried out by the actual DT-X11 terminal on the PC’s screen such as mouse operation, input on PC’s keyboard, displaying execution of applications, and operations by actual devices such as the scanner. Figure 7.3 shows an emulated DT-X11 device on the screen of a PC.

  • Page 58: I/o Simulator

    7.3.2 I/O Simulator The I/O Simulator simulates registration of bar codes, generation of low battery warning, detection of terminal being mounted on cradle. Registration of bar code symbologies 1. Registration Click either ADD1D or ADD2D button (circled in red in Figure 7.4) to go into the bar code registration mode.

  • Page 59

    3. Registration of bar code and note Enter bar code data in the Barcode field (see Figure 7.6) and a note about the bar code in the Note field if necessary. Click OK button to complete the bar code registration. Figure 7.6 4.

  • Page 60

    5. Editing registered bar code content Highlight a bar code in the list of registered bar codes (see Figure 7.7) and click Edit button. Figure 7.8 appears for editing the bar code and its information. Figure 7.8 6. Deleting registered bar code content Highlight a bar code in the list of registered bar codes (see Figure 7.7) and click Del button.

  • Page 61

    Detecting Terminal in Cradle and Low Battery Warning If you check the I/O Box and Low Battery boxes in STATE SETTING field (see Figure 7.10), the simulator simulates the respective events in the emulator. Figure 7.10 I/O Box If this box is checked, a notification is issued that the connection between the DT-X11 Device Emulator and cradle has been established.

  • Page 62

    Indications The I/O Simulator expresses a change of state that occurred in the DT-X11 Device Emulator. • When the DT-X11 Device Emulator turns on the LED, the LED icon (LED2) in the I/O Simulator also turns on. See Figure 7.11. •...

  • Page 63: Connecting Via Activesync

    7.3.3 Connecting via ActiveSync If debugging with the Device Emulator is carried out in either eMbedded Visual C++ 4.0 or Visual Studio 2008 or Visual Studio 2005, or transmission/reception of a file with the Device Emulator is carried out, ActiveSync must be used. Setting ActiveSync 1.

  • Page 64

    Connection via ActiveSync The ways to establish connection of the Device Emulator via ActiveSync are; • Using Visual Studio 2008 or Visual Studio 2005 • Using Standalone Device Emulator 3.0 (if Visual Studio 2008 or Visual Studio 2005 is not available.) 1.

  • Page 65

    4. Make sure ActiveSync has started up and the icon in the status bar appears in Figure 7.15. The icon indicates that the connection via ActiveSync has been established. Figure 7.15 Figure 7.16...

  • Page 66: Debugging Applications

    7.4 Debugging Applications This chapter describes how to debug your application using the Device Emulator. Before starting to “Build”, establish a connection between the DT-X11 and your PC via ActiveSync by referring to Chapter 7.3 “Using the Device Emulator”. For the basic order of developing an application, refer to Chapters 8 “eMbedded Visual C++” and 9 “Visual Studio”.

  • Page 67

    When using Visual Studio 2008 or Visual Studio 2005 1. Navigate to Debug menu → Start Debugging to start up the debugger. Figure 7.19 2. Similar to ordinary debugging operations with an actual DT-X11, the Device Emulator allows break point setting (circled in red in Figure 7.20) in the source code and step-by-step debugging. Figure 7.20...

  • Page 68

    When using eMbedded Visual C++ 4.0 1. Establish a connection between the Device Emulator and PC via ActiveSync before starting debugging in eMbedded Visual C++ 4.0. For establishing connection via ActiveSync, refer to Chapter 7.3.3 “Connecting via ActiveSync”. 2. Navigate to Build in the menu bar → Start Debug → Go to start up debugging. Figure 7.21 3.

  • Page 69: Embedded Visual C

    8. eMbedded Visual C++ 8.1 Building Simple eVC++ 4.0 Test Program 1. Initiate eVC++ 4.0. 2. Navigate to File → New in the File menu. Figure 8.1 3. Highlight WCE Application in Projects tab (see Figure 8.1). 4. In Location field, navigate to the folder where you want to create the new project. 5.

  • Page 70

    11. The program will be built and automatically downloaded to the DT-X11. By default, the program will be copied to the root folder on the terminal. Run the program to check that the process was successful. You are now ready to begin development work with the DT-X11. The full operation of eVC++ 4.0 and the use of features such as remote debugging are beyond the scope of this guide.

  • Page 71: Using Casio Libraries From Evc

    10. On the Project menu, navigate to Add To Project → Files… 11. Change Files of type: pull-down menu to Library files (.lib). 12. Navigate to the folder where the CASIO library files are stored (see step no. 2 above), highlight SystemLib file and click OK button.

  • Page 72

    You should now be able to use the CASIO System Library in your C++ applications. See the Common Device Control Library manual for full detail of all the functions. You can also use the CASIO samples as described in Chapter 1.4.

  • Page 73: Visual Studio

    • The functions of the Common Device Control Library which control various individual devices integrated in the DT-X11 have different name spaces and names from those available for the previous CASIO handheld terminals. They are not compatible with the ones in the previous CASIO library.

  • Page 74: Using Casio .net Libraries From Vb .net

    1. Create a new VB .NET Smart Device Application in Visual Studio .NET. 2. Click Add Reference… from Project menu. 3. Click Browse and navigate to the folder where you have stored the CASIO .NET library files. Highlight SystemLibNet.dll and click Open. Click OK button.

  • Page 75

    8. The project will be built and copied to the DT-X11. By default, it will be copied to \Program Files\<name of project> folder. SystemLibNet.dll will be deployed to the same folder. 9. Check that the program works correctly on the DT-X11. You can also use the CASIO samples as described in Chapter 1.4.

  • Page 76: Using Casio .net Libraries From C

    1. Create a new C# Smart Device Application in Visual Studio .NET. 2. Click Add Reference… from Project menu. 3. Click Browse and navigate to the folder where you have stored the CASIO .NET library files. Highlight SystemLibNet.dll and click Open. Click OK button.

  • Page 77

    8. The project will be built and copied to the DT-X11. By default, it will be copied to \Program Files\<name of project> folder. SystemLibNet.dll will be deployed to the same folder. 9. Check that the program works correctly on the device. You can also use the CASIO samples as described in Chapter 1.4.

  • Page 78: Using Casio Libraries From C

    Visual Studio. You must install Visual Studio 2005 Service Pack 1 from Microsoft. Before following the steps below, you will need to add the paths for the CASIO header and library files to Visual Studio 2008 or Visual Studio 2005. Choose Tools-Options-Projects and Solutions-VC++ Directories.

  • Page 79

    3. Choose DT-X11 in the Installed SDKs field and click > button. Figure 9.4 4. Click Next > button while DT-X11 is kept being highlighted in the Selected SDKs field. Figure 9.5 5. Choose Console Application for the Application type in the Application Settings menu, and click Finish button.

  • Page 80

    7. Append the source code below in the main function of DeviceApp.cpp. DWORD result; TCHAR msg[16]; result = SysSetLED(LED_RED, 5, 8, 8); if(result == TRUE) result = SysGetLED(); switch(result & 0x0000000F) { case LED_OFF: wcscpy_s( msg, _countof(msg), TEXT("LED_OFF") ); break; case LED_RED: wcscpy_s( msg, _countof(msg), TEXT("LED_RED") );...

  • Page 81

    11. The project will be built and copied to the “\Program Files\<name of project>” folder by default in the DT-X11. 12. Check that the program runs correctly on the DT-X11. You can also use the CASIO samples as described in Chapter 1.4.

  • Page 82: Chapter 10. Resources

    10. Resources Microsoft’s http://msdn.microsoft.com/mobility/ is an extremely comprehensive resource for programmers targeting Windows CE .NET based devices. It includes links to most other useful web based resources. You will find detailed Software, Library and .NET Library manuals on http://world.casio.com/system/pa.

  • Page 83: Chapter 11. Troubleshooting

    Connections from Visual Studio.NET 2003 to Pocket PC and Windows CE .NET devices can be difficult to establish. This appears to be a Visual Studio issue and is not limited to only CASIO handheld terminals. The good news is that once you have established an initial connection, you are unlikely to experience problems thereafter.

Comments to this Manuals

Symbols: 0
Latest comments: