Presentation is loading. Please wait.

Presentation is loading. Please wait.

September 2008 IT-3100 11 Software Development Guide.

Similar presentations


Presentation on theme: "September 2008 IT-3100 11 Software Development Guide."— Presentation transcript:

1 September 2008 IT-3100 11 Software Development Guide

2 IT-3100 22 Selection of Target Platform Manage Client VB.NET C#.NET Native Client C++ Web Application Client Application Selection Selection of Development Language Selection

3 IT-3100 33 Manage and Native Manage Client Visual Studio 2005 or Visual Studio.Net 2003 Language : VB.NET C#.NET Native Client eMbedded Visual C++ 4.0 or Visual Studio 2005 Language : C++ Managed Client Executes Managed Code on Common Language Runtime Can exploit.NET applications and XML Web service. Can develop application software by Drag & Drop operation visually. Can improve productivity by Custom Control. Native Client Executes Computer Binary Code. Can derive functions and performance of the devices at most. Can optimize performance and process speed.

4 IT-3100 44 Development Tool for Native Client Tools for Application Development From Microsoft (Software) Visual Studio 2005 & SP1 or eMbedded Visual C++ 4.0 eMbedded Visual C++ 4.0 ServicePack4 ActiveSync 4.2 or later version * Please download tools listed above from Microsoft Home Page. From CASIO (Software) IT-3100 SDK * Please download from CASIO Business Solution “Support” http://www2.casio.co.jp/system_en/pa/PADealer/ From CASIO (Hardware) IT-3100 HA-B61IO (Bridge Satellite Cradle) USB Cable

5 IT-3100 55 Steps of Software Development 1 Visual Studio 2005 (Visual C++)

6 IT-3100 66 Steps of Software Development 2 Visual Studio 2005 (Visual C++)

7 IT-3100 77 Steps of Software Development 3 Visual Studio 2005 (Visual C++)

8 IT-3100 88 Steps of Software Development 4 Visual Studio 2005 (Visual C++)

9 IT-3100 99 Steps of Software Development 5 Note: Before building the program, it is necessary to connect the IT-3100 to the PC by Active Sync. Active Sync can be download from Microsoft Web site. USB Visual Studio 2005 (Visual C++) The application program will be downloaded to the IT- 3100 after compiling. If breakpoints are set, the program stops at each point while the IT-3100 is connected as remote connection.

10 IT-3100 10 eMbedded Visual C++ 4.0 High speed processing It is expected that an application program which is created by eVC++ 4.0 will run faster than those created by Visual Basic.NET or C#.NET created by VisualStudio 2005 or VisualStudio.NET2003. The reason is that codes compiled by eVC++4.0 are CPU native codes, on the other hand, codes created by VB or C# are intermediate codes therefore an application program by eVC++40 runs faster than one created by VB or C# theoretically. Please download Embedded Visual C++4.0 from Microsoft Web site. http://www.microsoft.com/downloads/details.aspx?FamilyID=1dacdb3d-50d1-41b2-a107- fa75ae960856&displaylang=en http://www.microsoft.com/downloads/details.aspx?FamilyID=1dacdb3d-50d1-41b2-a107- fa75ae960856&displaylang=en

11 IT-3100 11 Steps of Software Development 1 Create a new project. Mark the check box of Win32 WCE ARMV4I that is the CPU type of the IT-3100. Select A typical “Hello World” application. eMbedded Visual C++ 4.0

12 IT-3100 12 Steps of Software Development 2 Set IT-3100 to Target. Mark the check box on “Use WCE500 Tools”. A skeleton program will be automatically created. Execute “build” after setting IT-3100 as Target. eMbedded Visual C++ 4.0

13 IT-3100 13 USB Steps of Software Development 3 Note: Before building the program, it is necessary to connect the IT-3100 to the PC by Active Sync. Active Sync can be download from Microsoft Web site. eMbedded Visual C++ 4.0 The application program will be downloaded to the IT- 3100 after compiling. If breakpoints are set, the program stops at each point while the IT-3100 is connected as remote connection.

14 IT-3100 14 Managed Code Development Tool Required tools for Managed Code development From Microsoft (Software) Visual Studio 2005 or Visual Studio.NET 2003.NET Compact Framework 2.0 Service Pack 1 Patch Windows CE Utilities for Visual Studio.NET 2003 ActiveSync4.2 or later From CASIO (Software) SDK From CASIO (Hardware) IT-3100 HA-B61IO (Bridge Satellite Cradle) USB Cable

15 IT-3100 15 Steps of Software Development 1 Visual Studio 2005 Start up Visual Studio 2005 and create new project, then select VB or VC# VB VC#

16 IT-3100 16 Steps of Software Development 2 Select IT-3100 Device. Start Debugging Visual Studio 2005 USB

17 IT-3100 17 Steps of Software Development 3 Download Windows CE Utilities for Visual Studio.NET 2003 from Microsoft Web site and then install it into the PC. Startup Visual Studio.NET 2003 and then create a new project. Select Windows CE. Visual Studio.NET 2003 Select Smart Device Application.

18 IT-3100 18 Steps of Software Development 4 1. Select Windows CE Device CPU 2. Select ARMV4I Visual Studio.NET 2003

19 IT-3100 19 Steps of Software Development 5 Note: Before building the program, it is necessary to connect the IT-3100 to the PC by Active Sync. Active Sync can be download from Microsoft Web site. Visual Studio.NET 2003 Select Windows CE.NET Device Start Debugging The application program will be downloaded to the IT-3100 after compiling. If breakpoints are set, the program stops at each point while the IT-3100 is connected as remote connection. USB

20 IT-3100 20 Usage of Common Device Control Library 1. Visual C++ 2. VB.NET 3. eVC++ 4.0

21 IT-3100 21 Visual C++ Step 1 Currently we have released the following Common Device Control Library Lib files Header files CAB files C:\Program Files\CASIO\MBSys\CAB C:\Program Files\CASIO\MBSys\INCLUDEC:\Program Files\CASIO\MBSys\LIB\ARMV4I

22 IT-3100 22 Visual C++ Step 2 Try to use “ SysGetModelName ” function in system library So, first of all, you should append “#include “SystemLib.h” sentence for using System library.

23 IT-3100 23 Visual C++ Step 3 Then you should append “SysGetModelName” function sentence like this.

24 IT-3100 24 Visual C++ Step 4 Header file path setting Then you should set header file path setting in this “Property Pages”.

25 IT-3100 25 Visual C++ Step 5 Library file path setting Then you should set library file path setting in this “Property Pages”.

26 IT-3100 26 Visual C++ Step 6 Library file path setting Then you should set library file name in this “Property Pages”.

27 IT-3100 27 Visual C++ Step 7 Deploying and debugging

28 IT-3100 28 VB.NET Step 1 Currently we have released the following Common Device Control Class Library DLL files CAB files C:\Program Files\CASIO\MBSys\CAB C:\Program Files\CASIO\MBSys\WindowsCE

29 IT-3100 29 VB.NET Step 2 Add Reference operation First of all, you should append “SystemLibnet” into References in Solution Explorer.

30 IT-3100 30 VB.NET Step 3 Coding Write code which is using system library function

31 IT-3100 31 VB.NET Step 4 Deploying and debugging

32 IT-3100 32 eVC++ 4.0 Step 1 Currently we have released the following Common Device Control Library Lib files Header files CAB files C:\Program Files\CASIO\MBSys\CAB C:\Program Files\CASIO\MBSys\INCLUDEC:\Program Files\CASIO\MBSys\LIB\ARMV4I

33 IT-3100 33 eVC++ 4.0 Step 2 Try to use “ SysGetModelName ” function in system library So, first of all, you should append “#include “SystemLib.h” sentence for using System library.

34 IT-3100 34 eVC++ 4.0 Step 3 Then you should append “SysGetModelName” function sentence like this.

35 IT-3100 35 eVC++ 4.0 Step 4 Header file path setting Then you should set header file path setting in this “Project Settings Pages”.

36 IT-3100 36 eVC++ 4.0 Step 5 Library file path setting Then you should set library file path setting in this “Project Settings Pages”.

37 IT-3100 37 eVC++ 4.0 Step 6 Library file path setting Then you should set library file name in this “Project Settings Pages”.

38 IT-3100 38 eVC++ 4.0 Step 7 Deploying and debugging

39 IT-3100 39 Usage of Emulator 1. Visual C++ 2. VB.NET 3. Device control Bluetooth Mcr Printer Sobr

40 IT-3100 40 Emulator (Visual C++) To start emulation, run “IT-3100” from Start menu “CASIO Device Emulation”

41 IT-3100 41 Emulator (Visual C++) Open “Device Emulator Manager” from Visual Studio 2005 menu.

42 IT-3100 42 Emulator (Visual C++) Select “ DMA ” in ActiveSync setting. Select “ Cradle ” then ActiveSync connection will be established.

43 IT-3100 43 Emulator (Visual C++)

44 IT-3100 44 Emulator (VB.NET) To start emulation, run “IT-3100” from Start menu “CASIO Device Emulation”

45 IT-3100 45 Emulator (VB.NET) Open “Device Emulator Manager” from Visual Studio 2005 menu.

46 IT-3100 46 Emulator (VB.NET) Select “ DMA ” in ActiveSync setting. Select “ Cradle ” then ActiveSync connection will be established.

47 IT-3100 47 Emulator (VB.NET)

48 IT-3100 48 Device control You can control the following devices on this emulator. Bluetooth, Mcr, Printer, Sobr When you refer “ Storage Card ” folder in this emulator, There are some these devices folder.

49 IT-3100 49 Device control Bluetooth McrPrinterSobr When you use these device control library on emulator, emulator devices will Response these setting parameter or data. And when you change these file detail, you can get your expected value.

50 IT-3100 50 Device control Example for using print out demo program If we run such kind of barcode print Out program on emulator, we can get Print out image as bitmap file. “PrinterImage.bin” file will be created in “C:\Program Files\Windows CE Tools\wce500\IT-3100\Emulation\Ctrl\Printer” Folder. After that you should execute “makePrnData.bat” file. Then “TEMP.BMP” file will be created in same folder. TEMP.BMP file is print out image file like below.


Download ppt "September 2008 IT-3100 11 Software Development Guide."

Similar presentations


Ads by Google