Download Print this page

Advertisement

CASIO
DT-X7 Series
Quick Start Guide
(Version 1.18)
CASIO Computer Co., Ltd.
Copyright ©2012. All rights reserved.
April 2012

Advertisement

   Also See for Casio DT-X7 Series

   Related Manuals for Casio DT-X7 Series

   Summary of Contents for Casio DT-X7 Series

  • Page 1

    CASIO DT-X7 Series Quick Start Guide (Version 1.18) CASIO Computer Co., Ltd. Copyright ©2012. All rights reserved. April 2012...

  • Page 2: Table Of Contents

    Setting Build Configuration 7.4.2 Debugging Applications Chapter 8. eMbedded Visual C++ Building a Simple eVC++ 4.0 Test Program Using CASIO Libraries from eVC++ 4.0 Chapter 9. Visual Studio Using CASIO .NET Libraries from VB Using CASIO .NET Libraries from C#...

  • Page 3

    No part of this document may be produced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of CASIO Computer Co., Ltd. in Tokyo Japan. Information in this document is subject to change without advance notice. CASIO Computer Co., Ltd.

  • Page 4: Editorial Record

    Chapter 3.3. 33 to 34 Chapter 5.3 "USB Connection via Windows Mobile Device Center" is added. 55 to 57 In Chapter 8.3 "Using CASIO Libraries from C++", a development method for VCC++ Project with Visual Studio is added. 1.13 April 2008 In Chapter 8.3, the explanation on page 56 is updated.

  • Page 5

    1.16 May 2010 14,16, 25 Supported OS is added. ( Windows 7 / Windows 2008 Server ) Note is added at case of using Device Emulator after Windows Vista OS Chapter 3.2 is modified. 1.17 December 2011 In Chapter 1.1, the latest available models are added. In Chapter 2.2, the latest available models are added in Table 2.1.

  • Page 6: Preface

    F2 key (similar to Shift+Tab keys on PC’s keyboard). The Mouse Emulator preinstalled in the DT-X7 series can be invoked by pressing the Fn key and then 4 key to make the mouse pointer appear in the center of the screen. It can be freely moved in any direction on the screen you wish using one of the 1, 2, 3, 4, 6, 7, 8, and 9 numeric keys.

  • Page 7: Product Overview

    The DT-X7 has been designed using the new concept of the Human-centered Design Processes and is capable of performing a wide variety of powerful functions. The following is a brief overview of the features available on the DT-X7 series handheld terminals. For further detail on the hardware specifications, refer to DT-X7 Series Hardware Manual.

  • Page 8

    • Readable Matrix 2D bar code symbologies (with C-MOS Imager models): Aztec, DataMatrix, Maxicode, QR Code,Micor QR,HanXin Code...

  • Page 9

    High speed CPU and large memory ® • High-performance CPU Marvell PXA270 Application Processor (Max. 416 MHz) ® Marvell PXA320 Application Processor (Max. 620 MHz) (DT-X7M50R/70R) • Large-capacity memory : 64MB (user area; approximately 40 MB) F-ROM : 64MB (user area; approximately 30 MB) Large-capacity memory (DT-X7M50R/70R) : 128MB (user area;...

  • Page 10: Library Configuration

    1.2 Library Configuration The CASIO Basic Development Kit ("BDK") for DT-X7 series provides various libraries listed in the table. Table 1.1 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 11: Development Reference Manuals

    1.3 Development Reference Manuals The CASIO Basic Development Kit ("BDK") for DT-X7 series includes the development reference manuals listed in the table. Table 1.3 Development Manual Description Quick Start Guide This reference manual. Hardware Manual Reference manual that describes hardware specifications in detail on each...

  • Page 12: Sample Program

    1.4 Sample Program The following sample programs are included in the DT-X7 BDK. Table 1.4 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 2. IMGLIBSAMPLE Scans bar codes using the Imager with settings set with Imager setting file.

  • Page 13: Prerequisites

    2. Prerequisites 2.1 Skills Required The following skills are required by developers aiming to develop application software for the DT-X7. • Windows programming • A good knowledge of one or more of the following - Visual C++ - Visual Basic .NET - Visual C# .NET - Browser based applications (not covered in this guide) The following skills or experience are also desirable.

  • Page 14: Hardware Required

    2.2 Hardware Required The following models of the DT-X7 series and dedicated options are available. DT-X7 Table 2.1 Available models and features WLAN WPA Encryption Model no. Scan Engine Bluetooth WEP/TKIP DT-X7M10U Linear Imager Class 1 DT-X7M10E Laser Scanner Class 2...

  • Page 15

    Ministerial Decree No. 39 is included in the carton box; the RoHS compliant seal is affixed on the body and the seal of the packing material recycle marking is affixed on the carton box. See the following page for external views of the DT-X7 and the dedicated options.

  • Page 16

    External views of the DT-X7 and the dedicated options Option Figure 2.1...

  • Page 17: Software Required

    2.3 Software Required PC Operating System • Microsoft Windows 2000 Professional Service Pack 4 or later • Or Microsoft Windows 2000 Server Service Pack 4 or later • Or Microsoft Windows XP Professional Service Pack 2 or later • Or Microsoft Windows 2003 Server Service Pack 1 or later •...

  • Page 18

    7AAA1914&displaylang=en CASIO DT-X7 BDK Download the DT-X7 BDK from 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 19: Installing Bdk To Pc

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

  • Page 20: Installing Casio Bdk Files

    3.2 Installing CASIO BDK Files Download the CASIO DT-X7 BDK 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.) Notes: •...

  • Page 21

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

  • Page 22

    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 23

    Installing Sample Program When the Sample is chosen in the Installation List, the sample program folder in the CD-ROM appears. The Sample program folder is available for each development platform. Copy one of the folders you wish to use into your PC. EVC for Microsoft eMbedded Visual C++ VS2003 for Microsoft Visual Studio .NET 2003 VS2005 for Microsoft Visual Studio 2005...

  • Page 24: Connecting Power Supply To Ha-f60io, Ha-f62io

    4. Connecting Power Supply to HA-F60IO, HA-F62IO 4.1 HA-F60IO Use the dedicated AC adaptor (AD-S42120B) for supplying power to the HA-F60IO USB Cradle. Ensure that you connect the AC adaptor to the cradle before starting communication between the DT-X7 and PC via the cradle. Follow the steps below to connect the power supply to the DT-X7 using the dedicated AC adaptor.

  • Page 25: Important Notes

    4. Connect a USB cable (DT-380USB) to the USB client port on the back of the cradle, and then connect the other end of the cable to the PC. USB host port is used when connecting the cradle with other USB peripheral device. Figure 4.4 5.

  • Page 26: Ha-f62io

    4.2 HA-F62IO Use the dedicated AC adaptor (AD-S42120B) for supplying power to the HA-F62IO Ethernet Cradle. Ensure that you connect the AC adaptor to the cradle before starting communication between the DT-X7 and PC via the cradle. Follow the steps below to connect the power supply to the DT-X7 using the dedicated AC adaptor.

  • Page 27

    4. Before using the cradle ports, remove the caps from the ports. When using a LAN, connect one end of the LAN cable to the LAN port and the other end to the PC or hub. When using a USB connection, connect one end of the USB cable (DT-380USB) to the USB port and the other end to the PC.

  • Page 28: Connecting The Dt-x7 To Pc

    5. Connecting the DT-X7 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-X7 to PC if the PC runs in Windows XP or other OS earlier than Windows XP.

  • Page 29: Activesync Connection Via Usb

    Chapter 5.1.1 "Installing ActiveSync for the First Time". You already have the USB driver and ActiveSync in your development environment. If you do not yet have the cradle driver on your PC, download the USB driver files "wceusbsh.inf" and "wceusbsh.sys" from the CASIO Web Site and copy them to an appropriate folder.

  • Page 30

    3. Pause the installation when the menu in Figure 5.3 is displayed; you have to install the driver at this point. Figure 5.3 4. Connect the USB cable to the PC and the other end to the USB Cradle and also the AC adaptor to the USB Cradle.

  • Page 31

    8. Then, choose Install from a list or specific location [Advanced] radio button in the menu. Figure 5.5 9. Click Next > button. Figure 5.6...

  • Page 32

    10. Choose Windows CE USB Devices icon. Figure 5.7 11. Click Have Disk… button. Figure 5.8 12. Click Browse… button. Choose "wceusbsh.inf" from the folder you created in step 6. Figure 5.9...

  • Page 33

    15. A menu might be displayed to prompt you to install "wceusbsh.sys". This happens if "wceusbsh.sys" is not in the same folder as "wceusbsh.inf". Download this file from the CASIO Web Site and follow the prompts to specify the location of "wceusbsh.sys".

  • Page 34

    16. Now the installation of the driver is finished. Figure 5.12 17. Now go back to the ActiveSync Installation Wizard that you left on the desktop. Click Next > button. Figure 5.13...

  • Page 35

    18. Now the connection is established. You can choose either partnership option according to your needs. Then click Next > button. Figure 5.14 19. Now the connection is completed. You can start up eMbedded VC++ or Visual Studio and create a program and deploy it to the DT-X7.

  • Page 36: If Activesync Is Already Installed

    5.1.2 If ActiveSync Is Already Installed This is the procedure if ActiveSync is already installed on the PC. You just need to let the PC recognize the DT-X7 and install the cradle driver as in steps 6 to 16 in Chapter 5.1.1"Installing ActiveSync for the First Time".

  • Page 37

    3. On the DT-X7, in Control Panel, choose the PC Connection option. Confirm that PC Connection is set to "USB Default". If not, choose ‘USB Default’ and tap OK button. Figure 5.18 4. When the DT-X7 is mounted on the USB Cradle, a menu to prompt to install the driver is displayed. Follow the same steps in Chapter 5.1.1 "Installing ActiveSync for the First Time".

  • Page 38: Usb Connection Via Windows Mobile Device Center

    5.2 USB 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-X7 with the factory-setting (default) does not support the WMDC. Follow the procedure below to change the setting on the DT-X7. Note that the CAB file, USBClientDTX7E.110.CAB, must be installed in the DT-X7 prior to establishing connection with the DT-X7 via Windows Mobile Device Center.

  • Page 39

    The DT-X7 starts up again. Mount the DT-X7 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 3 on the previous page, and start up the DT-X7 again.

  • Page 40: Connection Via Irda

    5.3 Connection via IrDA If the PC has an IrDA interface, it is possible to connect the DT-X7 to the PC via IrDA using ActiveSync. Follow the steps below to establish connection via IrDA: 1. Choose PC Connection in the Control Panel on the DT-X7. 2.

  • Page 41: Connection Via Bluetooth

    5.4 Connection via Bluetooth To establish communication between DT-X7 and PC via Bluetooth configuration, follow the steps, 1 to 4, below to set up a Bluetooth configuration on the DT-X7. Note that all the models of DT-X7 series integrate the Bluetooth module.

  • Page 42: Connection Via Wlan

    5.5 Connection via WLAN To establish communication between the DT-X7 and PC via WLAN configuration, follow the steps, 1 to 6, below to set up a WLAN configuration on the DT-X7. After setting up the configuration, be sure to perform a site survey prior to starting communication via WLAN. 1.

  • Page 43

    3. Click Basic tab. Set each parameter in the tab by referring to the descriptions for the parameters in Table 5.3 and Table 5.4. Figure 5.26 Table 5.3 Parameter Description SSID Enter the SSID of the network you want to connect to. Security Disable None.

  • Page 44

    4. If EAP-PEAP radio button in Authentication field is selected, click the EAP-Properties button that appears when selecting the EAP-PEAP radio button to set also the following parameters. Table 5.4 Parameters in Description Default EAP-Properties screen User name Input a user name in alphanumeric (maximum 100 None alphanumeric).

  • Page 45

    6. Click WLAN tab. Figure 5.27 Table 5.6 Field / Radio Description Default Buttons Adapter power Enable power to the integrated WLAN module. Disable power to the integrated WLAN module. Power save Enable Enable power save mode for the WLAN module. Disable Disable power save mode for the WLAN module.

  • Page 46

    - Initiate NetSearch when tapping the icon in the task tray. WLANConfig / - Use both CASIO provided WLAN tool and NetUI MS tool. - Configure WLAN setting with settings extracted from the ini file.

  • Page 47: Connection Via Ethernet Cradle

    5.6 Connection via Ethernet Cradle This chapter describes how to establish a high speed LAN connection on the WLAN non-integrated models with HA-F62IO Ethernet cradle via ActiveSync 3.8 (see note) or earlier. Note: Later versions of the Microsoft ActiveSync do not support this connection. Use version 3.8 or earlier to establish the connection.

  • Page 48

    7. The following TCP/IP screen appears. Set all the parameters in IP Address and Name Servers tabs as required and click OK button. Figure 5.32 8. If the connection is established correctly, the icon ( ) in the taskbar changes to ( ). 9.

  • Page 49: Accessing Shared Network Drive On Your Lan

    5.7 Accessing Shared Network Drive on Your LAN Assuming you have a valid network connection established, you can access shared drives on your PC from the File Explorer on the DT-X7. The following shows the steps to initiate this. Configure a network connection on the DT-X7. Double click My Computer.

  • Page 50: Direct Tcp/ip Connection From Visual Studio

    5.8 Direct TCP/IP Connection from Visual Studio If you have a network connection to the DT-X7 (for example, via WLAN or the Ethernet cradle) then you can establish a direct link to the development PC without using ActiveSync. For Visual Studio .NET 2003 If network connection has been established between the DT-X7 and the PC that is under the application development environment, the WindowsCE Utilities add-on pack (described in Chapter 2.3) can be used to make direct link possible.

  • Page 51

    9. Choose DT-X7 Device in the list of Devices: and click Connect button. The screen in Figure 5.34 if appear indicates the success of connection establishment. Figure 5.34...

  • Page 52: 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 53: Embedded Visual C

    2. Other BDKs (e.g. standard BDK etc.) released before the ExportBDK are also operable. 3. Application software developed using MFC (Microsoft Foundation Class) for CASIO IT-10 is not operable on the DT-X7. 4. Any application developed not using MFC is operable on the DT-X7.

  • Page 54: Visual Studio 2005

    6.3 Visual Studio 2005 Follow the steps in Chapter 5 "Connecting the DT-X7 to PC" before checking the steps below to confirm that you can connect to the DT-X7 from Visual Studio 2005. 1. Establish connection with the DT-X7 via ActiveSync. 2.

  • Page 55: Visual Studio .net 2003

    6.4 Visual Studio .NET 2003 Follow the steps in Chapter 5 "Connecting the DT-X7 to PC" before checking the steps below to confirm that you can connect to the DT-X7 from Visual Studio .NET 2003. 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 56: Device Emulator

    • ActiveSync 4.2 or a later version (If required) http://www.microsoft.com/downloads/details.aspx?FamilyID=7269173a-28bf-4cac-a682-58d3233efb 4c&DisplayLang=en • Visual Studio 2008 or Visual Studio 2005 (Required) • CASIO DT-X7 BDK (Required) • Microsoft Device Emulator 3.0 (Optional) http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a6f6adaf-12e3-4b2f -a394-356e2c2fb114 See "Microsoft Device Emulator 3.0" described in the next page.

  • Page 57

    Note: The software is not required if your PC has already Visual Studio 2005 installed. Microsoft Device Emulator 3.0 Follow the steps below to use Microsoft Device Emulator 3.0. • Install DT-X7 ExportBDK and Device Emulator from the DT-X7 BDK into your PC. •...

  • Page 58

    Please check "Run this program as an administrator" of property from opening Explorer. (Ex. Execute I/O simulator in Windows Vista as administrator.) Figure 7.1 These program have installed the following location as default setting. • Device emulator C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe • I/O simulator C:\Program Files\Common Files\CASIO\Emulator\DevIoSim.exe...

  • Page 59: Starting Up The Device Emulator

    1. Navigate to Start menu → All Programs → CASIO Device Emulator and click DT-X7. 2. Make sure that the DT-X7 Device Emulator has started up on the screen. See Figure 7.1. 3. Navigate to Start menu → All Programs → CASIO Device IO Simulator and click IO Simulator.

  • Page 60

    program using external events. The Emulator performs in a pseudo CPU and hardware environment and it is impossible for the application to recognize whether it is in the actual device environment or pseudo environment. However, actions carried out by the Simulator are not as alike to those performed by actual components but merely mimic them very closely.

  • Page 61: Using The Device Emulator

    7.3 Using the Device Emulator 7.3.1 DT-X7 Device Emulator The DT-X7 Device Emulator emulates various operations carried out by the actual DT-X7 device 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-X7 device on the screen of a PC.

  • Page 62: 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 Registration Click ADD1D or ADD2D button (circled in red in Figure 7.4) to go into the bar code registration mode.

  • Page 63

    Registration of bar code and note Enter bar code data in the Code 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.7 Completion of registration After completion of the bar codes registration, the screen in Figure 7.7 shows a list of bar codes that have been registered in the I/O Simulator.

  • Page 64

    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.9 Deleting registered bar code content Highlight a bar code in the list of registered bar codes (see Figure 7.7) and click the Del button.

  • Page 65

    Detection of 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.11 I/O Box If this box is checked, a notification is issued that the connection between the DT-X7 Device Emulator and cradle has been established.

  • Page 66

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

  • Page 67: 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 68

    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 69

    4. Make sure ActiveSync has started up and the icon in the status bar appears. See the emulated screen of DT-X7 in Figure 7.15. The icon indicates that the connection via ActiveSync has been established. Figure 7.16 Figure 7.17...

  • Page 70: 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-X7 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 71

    When using Visual Studio 2008 or Visual Studio 2005 Navigate to Debug menu → Start Debugging to start up the debugger. Figure 7.20 Similar to ordinary debugging operations with an actual DT-X7, 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.21 Note: If the step-by-step debug process does not stop at any setting break point, install Microsoft .NET...

  • Page 72

    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.22 3.

  • Page 73: Embedded Visual C

    8. eMbedded Visual C++ 8.1 Building a Simple eVC++ 4.0 Test Program 1. On the PC, 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.

  • Page 74: Using Casio Libraries From Evc

    Files\CASIO\MBSys\INCLUDE (This is the default installation location but yours will be different if you installed the BDK to another location). 2. Make sure all the ".lib" files for the CASIO libraries have been installed in C:\Program Files\CASIO\MBSys\LIB\ARMV4I 3. In eVC++ 4.0, select New from the File menu.

  • Page 75

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

  • Page 76: Visual Studio

    CASIO handheld terminals. They are not compatible with the ones in the previous CASIO library. The exceptions are DT-X11 and IT-600 which do use the same libraries. • VB or C# applications developed with Visual Studio .NET 2003, but not with the CASIO dedicated libraries will run on the DT-X7.

  • Page 77: Using Casio .net Libraries From Vb

    1. Create a new VB Smart Device Application in Visual Studio. 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 78

    8. The project will be built and copied to the DT-X7. 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-X7. You can also use the CASIO samples as described in Chapter 1.4.

  • Page 79: 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 80

    8. The project will be built and copied to the DT-X7. 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 81: Using Casio Libraries From C

    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 82

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

  • Page 83

    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 84

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

  • Page 85

    10. Resources Microsoft’s own http://msdn.microsoft.com/mobility/ is an extremely comprehensive resource for programmers targeting WindowsCE .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.

Comments to this Manuals

Symbols: 0
Latest comments: